From 3e98bb2a888f658d95b0ed47434103bc897671ac Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 8 Oct 2004 17:37:08 +0000 Subject: [PATCH] Make NOP versions of Mac[GS]etMetalAppearance for the other platforms git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_toplvl.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 762e2bd2c3..5d00956845 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -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 }; -- 2.50.0