+void wxBrush::SetMacTheme(ThemeBrush macThemeBrush)
+{
+ Unshare();
+
+ M_BRUSHDATA->m_macBrushKind = kwxMacBrushTheme;
+ M_BRUSHDATA->m_macThemeBrush = macThemeBrush;
+
+ RealizeResource();
+}
+
+void wxBrush::SetMacThemeBackground(ThemeBackgroundKind macThemeBackground, const Rect &extent)
+{
+ Unshare();
+
+ M_BRUSHDATA->m_macBrushKind = kwxMacBrushThemeBackground;
+ M_BRUSHDATA->m_macThemeBackground = macThemeBackground;
+ M_BRUSHDATA->m_macThemeBackgroundExtent = extent ;
+ RealizeResource();
+}
+