- // The toolbar background for some colour schemes cannot be determined
- // (for example Silver). So set an explicit background colour to avoid parts of
- // the background being painted wrongly.
-
- int majorVersion, minorVersion;
- wxGetOsVersion(& majorVersion, & minorVersion);
- if (majorVersion < 6)
- SetBackgroundColour(GetBackgroundColour());
-