]> git.saurik.com Git - wxWidgets.git/commitdiff
in wxAuiToolBar, make certain that IsChecked() returns correct value
authorBenjamin Williams <bwilliams@kirix.com>
Thu, 14 May 2009 10:31:00 +0000 (10:31 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Thu, 14 May 2009 10:31:00 +0000 (10:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/auibar.cpp

index e59d0e97c79d1a8313cc9d5058a4aa29034872ef..c5c6d64d826ae3b952da9595693429503cd84830 100644 (file)
@@ -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();
             }