]> git.saurik.com Git - wxWidgets.git/commitdiff
made panel use wxSystemSettings::GetColor to make sure colors are right for
authorJ. Russell Smyth <drfish@cox.net>
Wed, 4 Aug 1999 21:15:37 +0000 (21:15 +0000)
committerJ. Russell Smyth <drfish@cox.net>
Wed, 4 Aug 1999 21:15:37 +0000 (21:15 +0000)
user's selected color scheme

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/layout/layout.cpp

index 54c4b3a74082899943a3a2a7735ff1a9cc6454b5..e958c1e8d42120f39f52cfc174af6051c8e57f92 100644 (file)
@@ -69,7 +69,7 @@ bool MyApp::OnInit(void)
 
   // Make a panel
   frame->panel = new wxPanel(frame, 0, 0, 1000, 500, wxTAB_TRAVERSAL);
-  frame->panel->SetBackgroundColour(wxColour(192, 192, 192));
+  frame->panel->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
 //  frame->panel->SetAutoLayout(TRUE);
 
   // Create some panel items