X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999836aacade840a5d9a0cbb5fad7b1d4de62c93..00f553943850592fda4607bf8a34d458cf6ab522:/src/generic/sashwin.cpp diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index 55664e587c..f026ed1b74 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -677,11 +677,11 @@ void wxSashWindow::InitColours() m_lightShadowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT); m_hilightColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DHILIGHT); #else - m_faceColour = *(wxTheColourDatabase->FindColour("LIGHT GREY")); - m_mediumShadowColour = *(wxTheColourDatabase->FindColour("GREY")); - m_darkShadowColour = *(wxTheColourDatabase->FindColour("BLACK")); - m_lightShadowColour = *(wxTheColourDatabase->FindColour("LIGHT GREY")); - m_hilightColour = *(wxTheColourDatabase->FindColour("WHITE")); + 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 }