X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4709ea55c2299c61ecda2ac350370f656de16ca..c3be59bcdbc43ef1286cf5ea635d933bb802bd81:/src/univ/toolbar.cpp 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() ) {