From 9c9e8ef5373a4362a618d321d52dd18eaeaadb30 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Sep 2018 23:43:13 +0200 Subject: [PATCH] Remove wxGTK-specific commented out code in wxHeaderCtrl No real changes, just remove some commented out code add back in 2009 by 6a2a30a8aa210f6f9a95623070000bab22a42d43. --- src/generic/headerctrlg.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/generic/headerctrlg.cpp b/src/generic/headerctrlg.cpp index ce150b8430..6d86d56209 100644 --- a/src/generic/headerctrlg.cpp +++ b/src/generic/headerctrlg.cpp @@ -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