in wxAuiToolBar, make certain that IsChecked() returns correct value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2433,6 +2433,7 @@ void wxAuiToolBar::OnLeftUp(wxMouseEvent& evt)
|
||||
|
||||
wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, m_action_item->id);
|
||||
e.SetEventObject(this);
|
||||
e.SetInt(toggle);
|
||||
ProcessEvent(e);
|
||||
DoIdleUpdate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user