From da457c1b4984df09bab0327a1db3c01415f9f240 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 10 Mar 2004 02:02:24 +0000 Subject: [PATCH] wxMac can do wxMetaFileDC now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_dc.i | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wxPython/src/_dc.i b/wxPython/src/_dc.i index 5f27762c15..e61213b451 100644 --- a/wxPython/src/_dc.i +++ b/wxPython/src/_dc.i @@ -790,7 +790,7 @@ public: %newgroup -#ifdef __WXMSW__ +#if defined(__WXMSW__) || defined(__WXMAC__) %{ #include @@ -808,8 +808,10 @@ public: int GetWidth(); int GetHeight(); +#ifdef __WXMSW__ const wxString& GetFileName() const; - +#endif + %pythoncode { def __nonzero__(self): return self.Ok() } };