1. corrected (but the fix is ugly) the multiple def button problem
2. corrected a bug which disabled all accels for MSW (sic) 3. added SetValue/GetValue to wxSpinCtrl 4. modified wxGetNumberFromUser to use wxSpinCtrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,6 +150,7 @@ void wxMenu::Append(wxMenuItem *pItem)
|
||||
wxAcceleratorEntry *accel = wxGetAccelFromString(pItem->GetText());
|
||||
if ( accel ) {
|
||||
m_accels.Add(accel);
|
||||
accel->m_command = pItem->GetId();
|
||||
}
|
||||
#endif // wxUSE_ACCEL
|
||||
|
||||
|
Reference in New Issue
Block a user