Remove use of wxTheColourDatabase in a sample
Just pass the color name to the wxColour ctor
This commit is contained in:
@@ -780,7 +780,7 @@ public:
|
||||
StyleSetForeground(wxSTC_H_DOUBLESTRING, *wxBLACK);
|
||||
StyleSetForeground(wxSTC_H_SINGLESTRING, *wxBLACK);
|
||||
StyleSetForeground(wxSTC_H_OTHER, *wxBLUE);
|
||||
StyleSetForeground(wxSTC_H_COMMENT, wxTheColourDatabase->Find("GREY"));
|
||||
StyleSetForeground(wxSTC_H_COMMENT, wxColour("GREY"));
|
||||
StyleSetForeground(wxSTC_H_ENTITY, *wxRED);
|
||||
StyleSetBold(wxSTC_H_ENTITY, true);
|
||||
StyleSetForeground(wxSTC_H_TAGEND, *wxBLUE);
|
||||
|
Reference in New Issue
Block a user