]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
fix for toolbar radio buttons event generation
[wxWidgets.git] / src / generic / panelg.cpp
index 1b36dff649e2f55e6e4ce72ae86770210b0c6bb6..a67f7da2e556f1d644102a94c97377f9657f914f 100644 (file)
@@ -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