-void wxBrush::MacSetTheme(ThemeBrush macThemeBrush)
-{
- Unshare();
-
- M_BRUSHDATA->m_macBrushKind = kwxMacBrushTheme;
- M_BRUSHDATA->m_macThemeBrush = macThemeBrush;
-
- RGBColor color ;
- GetThemeBrushAsColor( macThemeBrush , 32, true, &color );
- M_BRUSHDATA->m_colour = color;
-
- RealizeResource();
-}
-
-void wxBrush::MacSetThemeBackground(unsigned long macThemeBackground, const WXRECTPTR extent)
-{
- Unshare();
-
- M_BRUSHDATA->m_macBrushKind = kwxMacBrushThemeBackground;
- M_BRUSHDATA->m_macThemeBackground = macThemeBackground;
- M_BRUSHDATA->m_macThemeBackgroundExtent = *(Rect*)extent;
-
- RealizeResource();
-}
+// ----------------------------------------------------------------------------
+// wxBrush accessors
+// ----------------------------------------------------------------------------