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
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
#include <wx/fontutil.h>
|
#include <wx/fontutil.h>
|
||||||
#include <wx/dcbuffer.h>
|
#include <wx/dcbuffer.h>
|
||||||
#include <wx/iconbndl.h>
|
#include <wx/iconbndl.h>
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
#include <wx/mac/private.h>
|
||||||
|
#endif
|
||||||
%}
|
%}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
@@ -552,6 +555,11 @@ public:
|
|||||||
void SetStipple(wxBitmap& bitmap);
|
void SetStipple(wxBitmap& bitmap);
|
||||||
void SetStyle(int style);
|
void SetStyle(int style);
|
||||||
|
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
short GetMacTheme();
|
||||||
|
void SetMacTheme(short macThemeBrush);
|
||||||
|
#endif
|
||||||
|
|
||||||
%pragma(python) addtoclass = "def __nonzero__(self): return self.Ok()"
|
%pragma(python) addtoclass = "def __nonzero__(self): return self.Ok()"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user