Don't extend last header column button, as the column itself doesn't do it neither

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-01-22 14:44:05 +00:00
parent eec49654fc
commit 6a2a30a8aa

View File

@@ -497,8 +497,8 @@ void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
GetClientSize(&w, &h);
#ifdef __WXGTK__
int vw;
GetVirtualSize(&vw, NULL);
// int vw;
// GetVirtualSize(&vw, NULL);
#endif
wxAutoBufferedPaintDC dc(this);
@@ -553,7 +553,7 @@ void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
#ifdef __WXGTK__
if (i == count-1)
{
colWidth = wxMax( colWidth, vw - xpos );
// colWidth = wxMax( colWidth, vw - xpos );
state |= wxCONTROL_DIRTY;
}
#endif