X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..4deaa8dbc5f39aa5d0e8b449697f7ac841dec9bf:/wxPython/wx/lib/foldmenu.py

diff --git a/wxPython/wx/lib/foldmenu.py b/wxPython/wx/lib/foldmenu.py
index 41f76bbf16..1c1bc1f88a 100644
--- a/wxPython/wx/lib/foldmenu.py
+++ b/wxPython/wx/lib/foldmenu.py
@@ -19,7 +19,7 @@ class FoldOutWindow(wx.PopupWindow):
         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):