]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/regtest/regtest.cpp
Fix a crash in wxExecute() in wxMSW too.
[wxWidgets.git] / samples / regtest / regtest.cpp
index a12d6f28b75773c769f16b3a71372abd4a166290..711d0241f17510f8da62179a18dd89ee050deb65 100644 (file)
@@ -367,7 +367,7 @@ RegFrame::RegFrame(wxFrame *parent, const wxChar *title, int x, int y, int w, in
         : wxFrame(parent, wxID_ANY, title, wxPoint(x, y), wxSize(w, h))
 {
     // this reduces flicker effects
-    SetBackgroundColour(wxColour(255, 255, 255));
+    SetBackgroundColour(*wxWHITE);
 
     // set the icon
     // ------------