From b58a285f94bac7eedae4dc4d724ecd7db57bd9d6 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Thu, 14 May 2009 10:46:07 +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_8_BRANCH@60633 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 f2f3622f64..952312b9e1 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -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(); }