no changes, just fix typo in variable name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -278,7 +278,7 @@ private:
|
||||
m_colHeaderFg,
|
||||
m_colHeaderBg,
|
||||
m_colBackground,
|
||||
m_colSorrounding;
|
||||
m_colSurrounding;
|
||||
|
||||
// the attributes for each of the month days
|
||||
wxCalendarDateAttr *m_attrs[31];
|
||||
|
@@ -211,7 +211,7 @@ void wxGenericCalendarCtrl::InitColours()
|
||||
m_colHighlightFg = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
|
||||
m_colHighlightBg = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
|
||||
m_colBackground = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
|
||||
m_colSorrounding = wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT);
|
||||
m_colSurrounding = wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT);
|
||||
|
||||
m_colHolidayFg = *wxRED;
|
||||
// don't set m_colHolidayBg - by default, same as our bg colour
|
||||
@@ -1092,9 +1092,8 @@ void wxGenericCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
|
||||
if ( date.GetMonth() != m_date.GetMonth() || !IsDateInRange(date) )
|
||||
{
|
||||
// surrounding week or out-of-range
|
||||
// draw "disabled"
|
||||
dc.SetTextForeground(m_colSorrounding);
|
||||
// draw the days of adjacent months in different colour
|
||||
dc.SetTextForeground(m_colSurrounding);
|
||||
changedColours = true;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user