]> git.saurik.com Git - wxWidgets.git/commitdiff
Make NOP versions of Mac[GS]etMetalAppearance for the other platforms
authorRobin Dunn <robin@alldunn.com>
Fri, 8 Oct 2004 17:37:08 +0000 (17:37 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 8 Oct 2004 17:37:08 +0000 (17:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_toplvl.i

index 762e2bd2c31367aa18a4512869cc0ba8a4c4e088..5d00956845b89e27ebcfe4174aac31a5f32e2d6b 100644 (file)
@@ -134,6 +134,12 @@ public:
 #ifdef __WXMAC__
     void MacSetMetalAppearance( bool on ) ;
     bool MacGetMetalAppearance() const ;
+#else
+    %extend {
+        // TODO: Should they raise not implemented or just NOP???
+        void MacSetMetalAppearance( bool on ) { /*wxPyRaiseNotImplemented();*/ }
+        bool MacGetMetalAppearance() const    { /*wxPyRaiseNotImplemented();*/ return false; }
+    }
 #endif
 };