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:
@@ -98,6 +98,8 @@ static inline bool CompareAccelString(const wxString& str, const wxChar *accel)
|
||||
// specified
|
||||
wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
|
||||
{
|
||||
// wxPrintf( wxT("label %s\n"), label.c_str() );
|
||||
|
||||
// check for accelerators: they are given after '\t'
|
||||
int posTab = label.Find(wxT('\t'));
|
||||
if ( posTab != wxNOT_FOUND ) {
|
||||
@@ -276,6 +278,8 @@ void wxMenuItemBase::SetAccel(wxAcceleratorEntry *accel)
|
||||
|
||||
#endif // wxUSE_ACCEL
|
||||
|
||||
bool wxMenuBase::ms_locked = true;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxMenu ctor and dtor
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user