X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..f8b1df0b15f843b8f47efb9bee38f1de0fa95020:/src/msw/tbar95.cpp diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index f8a827fbcf..21ab3d581f 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -309,13 +309,6 @@ bool wxToolBar::MSWCreateToolbar(const wxPoint& pos, const wxSize& size) ::SendMessage(GetHwnd(), TB_SETEXTENDEDSTYLE, 0, TBSTYLE_EX_DRAWDDARROWS); #endif - // Fix a bug on e.g. the Silver theme on WinXP where control backgrounds - // are incorrectly drawn, by forcing the background to a specific colour. - int majorVersion, minorVersion; - wxGetOsVersion(& majorVersion, & minorVersion); - if (majorVersion < 6) - SetBackgroundColour(GetBackgroundColour()); - return true; }