+void wxBrush::SetMacTheme(ThemeBrush macThemeBrush)
+{
+ Unshare();
+
+ M_BRUSHDATA->m_isMacTheme = true;
+ M_BRUSHDATA->m_isMacThemeBackground = false ;
+ M_BRUSHDATA->m_macThemeBrush = macThemeBrush;
+
+ RealizeResource();
+}
+
+void wxBrush::SetMacThemeBackground(ThemeBackgroundKind macThemeBackground)
+{
+ Unshare();
+
+ M_BRUSHDATA->m_isMacTheme = false;
+ M_BRUSHDATA->m_isMacThemeBackground = true ;
+ M_BRUSHDATA->m_macThemeBackground = macThemeBackground;
+
+ RealizeResource();
+}
+