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;
|
int w, h;
|
||||||
GetClientSize(&w, &h);
|
GetClientSize(&w, &h);
|
||||||
|
|
||||||
#ifdef __WXGTK__
|
|
||||||
// int vw;
|
|
||||||
// GetVirtualSize(&vw, NULL);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
wxAutoBufferedPaintDC dc(this);
|
wxAutoBufferedPaintDC dc(this);
|
||||||
dc.Clear();
|
dc.Clear();
|
||||||
|
|
||||||
@@ -539,7 +534,6 @@ void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
|||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
if (i == count-1 && xpos + colWidth >= w)
|
if (i == count-1 && xpos + colWidth >= w)
|
||||||
{
|
{
|
||||||
// colWidth = wxMax( colWidth, vw - xpos );
|
|
||||||
state |= wxCONTROL_DIRTY;
|
state |= wxCONTROL_DIRTY;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user