Applied patch [ 733425 ] Fix for header rendering problem in CalCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
201ca87982
commit
eaf6274cc0
@ -895,7 +895,7 @@ void wxCalendarCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
dc.SetTextForeground(*wxBLACK);
|
||||
dc.SetBrush(wxBrush(m_colHeaderBg, 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
|
||||
wxCoord monthw, monthh;
|
||||
|
Loading…
Reference in New Issue
Block a user