wxMac can do wxMetaFileDC now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -790,7 +790,7 @@ public:
|
|||||||
%newgroup
|
%newgroup
|
||||||
|
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) || defined(__WXMAC__)
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include <wx/metafile.h>
|
#include <wx/metafile.h>
|
||||||
@@ -808,8 +808,10 @@ public:
|
|||||||
int GetWidth();
|
int GetWidth();
|
||||||
int GetHeight();
|
int GetHeight();
|
||||||
|
|
||||||
|
#ifdef __WXMSW__
|
||||||
const wxString& GetFileName() const;
|
const wxString& GetFileName() const;
|
||||||
|
#endif
|
||||||
|
|
||||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user