]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
patch as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92350 thanks
[wxWidgets.git] / src / msw / tbar95.cpp
index f04e66f35cfdbfcb3511c4600417c6a23d6a8991..b12dd40b5f599a77fc069769e10338872ea227e1 100644 (file)
@@ -961,7 +961,7 @@ bool wxToolBar::Realize()
                                 if ( tool->Toggle(false) )
                                     DoToggleTool(tool, false);
 
-                                prevButton.fsState &= TBSTATE_CHECKED;
+                                prevButton.fsState &= ~TBSTATE_CHECKED;
                                 nodePrev = nodePrev->GetPrevious();
                                 prevIndex--;
                             }