From 8016d8e124baf7b7a4b05a21c17515524585e4c5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 4 Jun 2003 00:40:27 +0000 Subject: [PATCH] Added support for Mac theming in wxBrush so there is a way to draw the stripy background. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/gdi.i | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wxPython/src/gdi.i b/wxPython/src/gdi.i index 2a29fdeb50..4b3d857069 100644 --- a/wxPython/src/gdi.i +++ b/wxPython/src/gdi.i @@ -22,6 +22,9 @@ #include #include #include +#ifdef __WXMAC__ +#include +#endif %} //---------------------------------------------------------------------- @@ -552,6 +555,11 @@ public: void SetStipple(wxBitmap& bitmap); void SetStyle(int style); +#ifdef __WXMAC__ + short GetMacTheme(); + void SetMacTheme(short macThemeBrush); +#endif + %pragma(python) addtoclass = "def __nonzero__(self): return self.Ok()" };