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:
@@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user