Fixed Simple Toolbar bug; removed 2 pixel kludge in splash screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -682,7 +682,8 @@ void wxToolBarSimple::SpringUpButton(int id)
|
||||
|
||||
if ( tool && tool->CanBeToggled() )
|
||||
{
|
||||
tool->Toggle();
|
||||
if (tool->IsToggled())
|
||||
tool->Toggle();
|
||||
|
||||
DrawTool(tool);
|
||||
}
|
||||
|
Reference in New Issue
Block a user