Added to wxSystemSettings for better GTK+ themes compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -833,7 +833,7 @@ void wxSplitterWindow::InitColours()
|
||||
wxDELETE( m_hilightPen );
|
||||
|
||||
// Shadow colours
|
||||
#if defined(__WIN95__)
|
||||
#ifndef __WIN16__
|
||||
wxColour faceColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE));
|
||||
m_facePen = new wxPen(faceColour, 1, wxSOLID);
|
||||
m_faceBrush = new wxBrush(faceColour, wxSOLID);
|
||||
@@ -849,14 +849,14 @@ void wxSplitterWindow::InitColours()
|
||||
|
||||
wxColour hilightColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DHILIGHT));
|
||||
m_hilightPen = new wxPen(hilightColour, 1, wxSOLID);
|
||||
#else // !Win32
|
||||
#else
|
||||
m_facePen = new wxPen("LIGHT GREY", 1, wxSOLID);
|
||||
m_faceBrush = new wxBrush("LIGHT GREY", wxSOLID);
|
||||
m_mediumShadowPen = new wxPen("GREY", 1, wxSOLID);
|
||||
m_darkShadowPen = new wxPen("BLACK", 1, wxSOLID);
|
||||
m_lightShadowPen = new wxPen("LIGHT GREY", 1, wxSOLID);
|
||||
m_hilightPen = new wxPen("WHITE", 1, wxSOLID);
|
||||
#endif // Win32/!Win32
|
||||
#endif // __WIN16__
|
||||
}
|
||||
|
||||
void wxSplitterWindow::SendUnsplitEvent(wxWindow *winRemoved)
|
||||
|
Reference in New Issue
Block a user