Corrected a typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-09-04 13:23:25 +00:00
parent 20f7966a08
commit 9ccefe88a6

View File

@@ -1098,7 +1098,7 @@ bool wxToolBar::Realize()
// are incorrectly drawn, by forcing the background to a specific colour.
int majorVersion, minorVersion;
wxGetOsVersion(& majorVersion, & minorVersion);
if (majorVersion < 6 && hasControls && !!UseBgCol())
if (majorVersion < 6 && hasControls && !UseBgCol())
SetBackgroundColour(GetBackgroundColour());
return true;