From 7cdab42ed4f9ede25e164c3de2860f697d206e6c Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Thu, 14 May 2009 09:59:09 +0000 Subject: [PATCH] in wxAuiToolBar, make certain that IsChecked() returns correct value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index d356d353a2..ce0ac0f104 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -2453,6 +2453,7 @@ void wxAuiToolBar::OnLeftUp(wxMouseEvent& evt) wxCommandEvent e(wxEVT_COMMAND_MENU_SELECTED, m_action_item->id); e.SetEventObject(this); + e.SetInt (toggle); GetEventHandler()->ProcessEvent(e); DoIdleUpdate(); }