]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected bug in in revision 47973
authorJulian Smart <julian@anthemion.co.uk>
Fri, 21 Sep 2007 10:34:33 +0000 (10:34 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 21 Sep 2007 10:34:33 +0000 (10:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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--;
                             }