]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
workaround for MGL's weirdness: won't render rectangles of w=1 or h=1
[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)
 {
 // 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
     Refresh();
 
     // Propagate the event to the non-top-level children