X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b701254ac27e39997f66242529a2f9f2d7e8a6e5..3d3e7dcbd86b8df336a30f2faa7b8a7dbae55ef4:/wxPython/wx/lib/stattext.py diff --git a/wxPython/wx/lib/stattext.py b/wxPython/wx/lib/stattext.py index c7cd5ff21e..ec38e165e7 100644 --- a/wxPython/wx/lib/stattext.py +++ b/wxPython/wx/lib/stattext.py @@ -113,7 +113,7 @@ class GenStaticText(wx.PyControl): backBrush = wx.Brush(clr, wx.SOLID) if wx.Platform == "__WXMAC__" and clr == self.defBackClr: # if colour is still the default then use the striped background on Mac - backBrush.SetMacTheme(1) # 1 == kThemeBrushDialogBackgroundActive + backBrush.MacSetTheme(1) # 1 == kThemeBrushDialogBackgroundActive dc.SetBackground(backBrush) dc.SetTextForeground(self.GetForegroundColour())