]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/toolbar.cpp
centralized the handling of border styles; added borders support for wxListBox and...
[wxWidgets.git] / src / univ / toolbar.cpp
index a708a7cb743da6209cab52b352f88d5bb90879b6..66e6b2162339b7b6289de47e4ba525c071fc0ec1 100644 (file)
@@ -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() )
         {