X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0edeeb6d96d31d342a6a283d2a9b625a1d0a7b96..fd67d2658b92d731069338e68deaa7bfbec22022:/src/msw/tbar95.cpp?ds=sidebyside diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index f04e66f35c..b12dd40b5f 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -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--; }