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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user