]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
Don't use GetThreadId() in wxMSW code.
[wxWidgets.git] / samples / mdi / mdi.cpp
index e68364cf01216c0a07ed7fa32ffb912aa0a3b1d8..c65e285682fa48d1ef3b750c45989a3a0a67f29b 100644 (file)
@@ -340,7 +340,7 @@ MyCanvas::MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size)
                            wxNO_FULL_REPAINT_ON_RESIZE |
                            wxVSCROLL | wxHSCROLL)
 {
                            wxNO_FULL_REPAINT_ON_RESIZE |
                            wxVSCROLL | wxHSCROLL)
 {
-    SetBackgroundColour(wxColour("WHITE"));
+    SetBackgroundColour(*wxWHITE);
     SetCursor(wxCursor(wxCURSOR_PENCIL));
 
     SetScrollbars(20, 20, 50, 50);
     SetCursor(wxCursor(wxCURSOR_PENCIL));
 
     SetScrollbars(20, 20, 50, 50);