From 17b0d794e637adb5af7fa2b461ad922ca77be06e Mon Sep 17 00:00:00 2001 From: "J. Russell Smyth" Date: Wed, 4 Aug 1999 21:15:37 +0000 Subject: [PATCH] made panel use wxSystemSettings::GetColor to make sure colors are right for 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/layout/layout.cpp b/samples/layout/layout.cpp index 54c4b3a740..e958c1e8d4 100644 --- a/samples/layout/layout.cpp +++ b/samples/layout/layout.cpp @@ -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 -- 2.47.2