Get/SetAutoWindowMenu for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-06-01 02:09:33 +00:00
parent 7b77d98836
commit fdc53e1302

View File

@@ -299,6 +299,16 @@ public:
// called before deleting the menubar normally // called before deleting the menubar normally
virtual void Detach(); 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
}; };
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------