From: Robin Dunn Date: Fri, 8 Oct 2004 17:37:08 +0000 (+0000) Subject: Make NOP versions of Mac[GS]etMetalAppearance for the other platforms X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3e98bb2a888f658d95b0ed47434103bc897671ac 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 --- 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 };