diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 230bddb9eb..304a161756 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -915,7 +915,7 @@ bool wxToolBar::MSWCommand(WXUINT WXUNUSED(cmd), WXWORD id) if ( !tool ) return FALSE; - bool toggled; + bool toggled = false; // just to suppress warnings if ( tool->CanBeToggled() ) {