1. wxSystemSettings class API face lift: better names for its methods
2. wxSystemSettings under wxUniv uses the wxTheme and wxColourScheme git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -169,9 +169,8 @@ void wxCalendarCtrl::Init()
|
||||
m_attrs[n] = NULL;
|
||||
}
|
||||
|
||||
wxSystemSettings ss;
|
||||
m_colHighlightFg = ss.GetSystemColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
|
||||
m_colHighlightBg = ss.GetSystemColour(wxSYS_COLOUR_HIGHLIGHT);
|
||||
m_colHighlightFg = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
|
||||
m_colHighlightBg = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
|
||||
|
||||
m_colHolidayFg = *wxRED;
|
||||
// don't set m_colHolidayBg - by default, same as our bg colour
|
||||
|
Reference in New Issue
Block a user