From: Julian Smart Date: Sat, 11 Mar 2006 14:49:23 +0000 (+0000) Subject: Fix crash caused by last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/32ceccf56fa2c1a7f580ca92dfe74e8e0ec6217c Fix crash caused by last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/univ/toolbar.cpp b/src/univ/toolbar.cpp index a708a7cb74..66e6b21623 100644 --- a/src/univ/toolbar.cpp +++ b/src/univ/toolbar.cpp @@ -651,12 +651,6 @@ bool wxToolBar::PerformAction(const wxControlAction& action, PerformAction( wxACTION_BUTTON_CLICK, numArg ); // Write by Danny Raynor to change state again. - if( tool->IsToggled() ) - { - // Change toggle state to false - tool->Toggle(false); - } - // Check button still pressed or not if( tool->IsInverted() ) {