X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58e914f015bdffe96d3ed18e21b986f06332a47c..5eed855656b3996f4c0aa0a585a4820a2af6d628:/src/generic/headerctrlg.cpp diff --git a/src/generic/headerctrlg.cpp b/src/generic/headerctrlg.cpp index ac50c2e173..f0f7cde162 100644 --- a/src/generic/headerctrlg.cpp +++ b/src/generic/headerctrlg.cpp @@ -39,8 +39,6 @@ namespace { -const unsigned NO_SORT = (unsigned)-1; - const unsigned COL_NONE = (unsigned)-1; } // anonymous namespace @@ -482,7 +480,7 @@ void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event)) { int w, h; GetClientSize(&w, &h); - + #ifdef __WXGTK__ // int vw; // GetVirtualSize(&vw, NULL); @@ -528,7 +526,7 @@ void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event)) { state = wxCONTROL_DISABLED; } - + if (i == 0) state |= wxCONTROL_SPECIAL; @@ -536,7 +534,7 @@ void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event)) params.m_labelText = col.GetTitle(); params.m_labelBitmap = col.GetBitmap(); params.m_labelAlignment = col.GetAlignment(); - + #ifdef __WXGTK__ if (i == count-1) {