]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.cpp
Allow hiding/showing already hidden/shown wxGrid rows/columns.
[wxWidgets.git] / samples / treectrl / treetest.cpp
index 8e0064d1df25714601d0f770ca13c7ed360ed930..8085917c9ee8cbc48e6628b248da912cca129a93 100644 (file)
@@ -215,7 +215,7 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
     // This reduces flicker effects - even better would be to define
     // OnEraseBackground to do nothing. When the tree control's scrollbars are
     // show or hidden, the frame is sent a background erase event.
-    SetBackgroundColour(wxColour(255, 255, 255));
+    SetBackgroundColour(*wxWHITE);
 
     // Give it an icon
     SetIcon(wxICON(sample));