]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/foldmenu.py
compilation fix after removing wxImage(wxImage *) ctor
[wxWidgets.git] / wxPython / wx / lib / foldmenu.py
index 41f76bbf16ee1c1d27175070cf4c4f3138ef01ef..1c1bc1f88a0f23255f6499ef18f74e29a82a696c 100644 (file)
@@ -19,7 +19,7 @@ class FoldOutWindow(wx.PopupWindow):
         self.Bind(wx.EVT_LEAVE_WINDOW, self.evLeave)
         
     def InitColors(self):
         self.Bind(wx.EVT_LEAVE_WINDOW, self.evLeave)
         
     def InitColors(self):
-        faceClr = wx.SystemSettings_GetSystemColour(wx.SYS_COLOUR_WINDOW)
+        faceClr = wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOW)
         self.SetBackgroundColour(faceClr)
 
     def AddButton(self,bitmap,handler=None):
         self.SetBackgroundColour(faceClr)
 
     def AddButton(self,bitmap,handler=None):