Applied patch [ 733425 ] Fix for header rendering problem in CalCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-01 13:39:30 +00:00
parent a49932b757
commit aa88de778a

View File

@@ -863,7 +863,7 @@ void wxCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
dc.SetTextForeground(*wxBLACK); dc.SetTextForeground(*wxBLACK);
dc.SetBrush(wxBrush(m_colHeaderBg, wxSOLID)); dc.SetBrush(wxBrush(m_colHeaderBg, wxSOLID));
dc.SetPen(wxPen(m_colHeaderBg, 1, wxSOLID)); dc.SetPen(wxPen(m_colHeaderBg, 1, wxSOLID));
dc.DrawRectangle(0, y, 7*m_widthCol, m_heightRow); dc.DrawRectangle(0, y, GetClientSize().x, m_heightRow);
// Get extent of month-name + year // Get extent of month-name + year
wxCoord monthw, monthh; wxCoord monthw, monthh;