X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/564a150b1f7c63a060c1b205a7cd50035031cd4b..02a8e64ca3a617d776e6e5f881f915aadbd47c4c:/src/generic/sashwin.cpp diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index f026ed1b74..b713f12752 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -670,19 +670,11 @@ void wxSashWindow::SizeWindows() void wxSashWindow::InitColours() { // Shadow colours -#ifndef __WIN16__ m_faceColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE); m_mediumShadowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DSHADOW); m_darkShadowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DDKSHADOW); m_lightShadowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT); m_hilightColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DHILIGHT); -#else - m_faceColour = wxTheColourDatabase->Find("LIGHT GREY"); - m_mediumShadowColour = wxTheColourDatabase->Find("GREY"); - m_darkShadowColour = wxTheColourDatabase->Find("BLACK"); - m_lightShadowColour = wxTheColourDatabase->Find("LIGHT GREY"); - m_hilightColour = wxTheColourDatabase->Find("WHITE"); -#endif } void wxSashWindow::SetSashVisible(wxSashEdgePosition edge, bool sash)