New menu code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-03-15 20:19:20 +00:00
parent d40bbd4dac
commit 6d9713540d
6 changed files with 495 additions and 724 deletions

View File

@@ -330,6 +330,11 @@ public:
Insert(0u, itemid, text, help, isCheckable);
}
static void LockAccels(bool locked)
{
ms_locked = locked;
}
protected:
// virtuals to override in derived classes
// ---------------------------------------
@@ -362,6 +367,8 @@ protected:
wxEvtHandler *m_eventHandler; // a pluggable in event handler
static bool ms_locked;
DECLARE_NO_COPY_CLASS(wxMenuBase)
};