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:
Julian Smart
2001-04-26 20:34:19 +00:00
parent 67a6726a2c
commit e143729845
4 changed files with 7 additions and 6 deletions

View File

@@ -682,7 +682,8 @@ void wxToolBarSimple::SpringUpButton(int id)
if ( tool && tool->CanBeToggled() )
{
tool->Toggle();
if (tool->IsToggled())
tool->Toggle();
DrawTool(tool);
}