X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fad19e3194e58f2d2e2bb0233801da48b4663a1..3a9becbd5439254a77e7dbc0278d80117a397264:/wxPython/src/_menu.i?ds=inline diff --git a/wxPython/src/_menu.i b/wxPython/src/_menu.i index dc6f3baa21..f547e9f1bf 100644 --- a/wxPython/src/_menu.i +++ b/wxPython/src/_menu.i @@ -299,6 +299,16 @@ public: // called before deleting the menubar normally virtual void Detach(); + +#ifdef __WXMAC__ + static void SetAutoWindowMenu( bool enable ); + static bool GetAutoWindowMenu(); +#else + %extend { + static void SetAutoWindowMenu( bool enable ) {} + static bool GetAutoWindowMenu() { return false; } + } +#endif }; //---------------------------------------------------------------------------