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:
Benjamin Williams
2009-05-14 10:46:07 +00:00
parent fb2275f5b3
commit b58a285f94

View File

@@ -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();
}