compilation fix for MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-11 07:37:06 +00:00
parent 8f0db49cd2
commit 86313763ba

View File

@@ -1090,8 +1090,6 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const
{ {
switch ( col ) switch ( col )
{ {
case WINDOW: return *wxWHITE;
// use the system colours under Windows // use the system colours under Windows
#if defined(__WXMSW__) #if defined(__WXMSW__)
case WINDOW: return wxColour(GetSysColor(COLOR_WINDOW)); 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)); case SHADOW_OUT: return wxColour(GetSysColor(COLOR_BTNSHADOW));
#else // !__WXMSW__ #else // !__WXMSW__
// use the standard Windows colours elsewhere // use the standard Windows colours elsewhere
case WINDOW: return *wxWHITE;
case CONTROL_PRESSED: case CONTROL_PRESSED:
case CONTROL_CURRENT: case CONTROL_CURRENT:
case CONTROL: return wxColour(0xc0c0c0); case CONTROL: return wxColour(0xc0c0c0);