]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/layout/layout.cpp
Changed greying out to very crude algorithm, just draining colour
[wxWidgets.git] / samples / layout / layout.cpp
index fbec3d7dc03f8a5d457e2fe6eaedf5a863487e71..7eb0a1fad8b7841b968c29cd8d669f9f506ebf23 100644 (file)
@@ -75,7 +75,7 @@ bool MyApp::OnInit()
 
   // Make a panel
   frame->panel = new wxPanel(frame, 0, 0, 1000, 500, wxTAB_TRAVERSAL);
-  frame->panel->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
+  frame->panel->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
 //  frame->panel->SetAutoLayout(TRUE);
 
   // Create some panel items