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