X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7092398891c83b12c84305d8d0206bdbe415fa0..f155075229d771430f0793700f5048ad4be00e9d:/samples/mdi/mdi.cpp?ds=inline diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index e68364cf01..c65e285682 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -340,7 +340,7 @@ MyCanvas::MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size) wxNO_FULL_REPAINT_ON_RESIZE | wxVSCROLL | wxHSCROLL) { - SetBackgroundColour(wxColour("WHITE")); + SetBackgroundColour(*wxWHITE); SetCursor(wxCursor(wxCURSOR_PENCIL)); SetScrollbars(20, 20, 50, 50);