]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrl.cpp
Unicode compilation fixes, also moved private constants into the .cpp
[wxWidgets.git] / src / generic / calctrl.cpp
index 79943136ecdc6584d6c9b39a7018173135059bed..14c60e526734892fd0fdeb3f432daa230ba11a30 100644 (file)
@@ -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