X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28edd9ef206ae06b03ed21c9c769ce408071f673..4a46a5df879c4f820d0a0a435b34c7d5e4793991:/src/generic/panelg.cpp?ds=sidebyside diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index 1b36dff649..a67f7da2e5 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -95,7 +95,7 @@ void wxPanel::InitDialog() // Responds to colour changes, and passes event on to children. void wxPanel::OnSysColourChanged(wxSysColourChangedEvent& event) { - SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE)); + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); Refresh(); // Propagate the event to the non-top-level children