X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..622c5145868017d50b47e812d9f30ade57da289d:/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):