$editor->StyleSetBackground( Wx::wxSTC_STYLE_LINENUMBER(), Wx::wxRED() ) ; $editor->StyleSetBackground( Wx::wxSTC_STYLE_DEFAULT(), Wx::wxBLACK() ) ;