It is not "Invalid" to have a menu item without an accelerator, so
don't be noisy about it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -184,7 +184,6 @@ wxAcceleratorEntry::ParseAccel(const wxString& text, int *flagsOut, int *keyOut)
|
||||
int posTab = label.Find(wxT('\t'));
|
||||
if ( posTab == wxNOT_FOUND )
|
||||
{
|
||||
wxLogDebug(wxT("Invalid menu label: no accelerators"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user