git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26804
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool Ok();
#ifdef __WXMAC__
- short GetMacTheme();
- void SetMacTheme(short macThemeBrush);
+ short MacGetTheme();
+ void MacSetTheme(short macThemeBrush);
#endif
%pythoncode { def __nonzero__(self): return self.Ok() }
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())