From 08572d607710936e1f01c51fc660981b2d104bac Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 22 May 2019 09:50:34 -0700 Subject: [PATCH] Remove use of wxTheColourDatabase in a sample Just pass the color name to the wxColour ctor --- samples/stc/stctest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/stc/stctest.cpp b/samples/stc/stctest.cpp index e3d6c9a276..bb77b0cbbc 100644 --- a/samples/stc/stctest.cpp +++ b/samples/stc/stctest.cpp @@ -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);