From 86313763baa3ad4d1ac0eafe9d2f20eac784d41e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 Jul 2001 07:37:06 +0000 Subject: [PATCH] compilation fix for MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/themes/win32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index 716bcc0ec9..349c3f088e 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -1090,8 +1090,6 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const { switch ( col ) { - case WINDOW: return *wxWHITE; - // use the system colours under Windows #if defined(__WXMSW__) case WINDOW: return wxColour(GetSysColor(COLOR_WINDOW)); @@ -1123,6 +1121,8 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const case SHADOW_OUT: return wxColour(GetSysColor(COLOR_BTNSHADOW)); #else // !__WXMSW__ // use the standard Windows colours elsewhere + case WINDOW: return *wxWHITE; + case CONTROL_PRESSED: case CONTROL_CURRENT: case CONTROL: return wxColour(0xc0c0c0);