Remove wxGTK-specific commented out code in wxHeaderCtrl

No real changes, just remove some commented out code add back in 2009 by
6a2a30a8aa.
This commit is contained in:
Vadim Zeitlin
2018-09-17 23:43:13 +02:00
parent 0fb97907e1
commit 9c9e8ef537

View File

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