Corrected a typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-09-04 13:23:42 +00:00
parent e0429715e2
commit 23a081d436

View File

@@ -1179,7 +1179,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;