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
This commit is contained in:
parent
c5be98a644
commit
17b0d794e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user