]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMac can do wxMetaFileDC now
authorRobin Dunn <robin@alldunn.com>
Wed, 10 Mar 2004 02:02:24 +0000 (02:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 10 Mar 2004 02:02:24 +0000 (02:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_dc.i

index 5f27762c15d4e2fcb7e61d8777537dcdee5f4c12..e61213b4518d292109ee4bcd23c07637e5aca6a3 100644 (file)
@@ -790,7 +790,7 @@ public:
 %newgroup
 
 
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXMAC__)
 
 %{
 #include <wx/metafile.h>
@@ -808,8 +808,10 @@ public:
     int GetWidth();
     int GetHeight();
 
+#ifdef __WXMSW__
     const wxString& GetFileName() const;
-
+#endif
+    
     %pythoncode { def __nonzero__(self): return self.Ok() }
 };