X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f516d986371b7643efda569d64ae19e75d221411..7bd236e6da74203ba429941d3f9643291494b420:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 50f4ec9c71..d82d81b332 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -18,14 +18,14 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif #if wxUSE_LISTCTRL #ifndef WX_PRECOMP - #include "wx/app.h" #include "wx/dynarray.h" + #include "wx/app.h" #include "wx/dcscreen.h" #include "wx/textctrl.h" #endif @@ -413,7 +413,7 @@ class WXDLLEXPORT wxListHeaderWindow : public wxWindow protected: wxListMainWindow *m_owner; const wxCursor *m_currentCursor; - const wxCursor *m_resizeCursor; + wxCursor *m_resizeCursor; bool m_isDragging; // column being resized or -1 @@ -5255,7 +5255,8 @@ long wxGenericListCtrl::FindItem( long WXUNUSED(start), const wxPoint& pt, return m_mainWin->FindItem( pt ); } -long wxGenericListCtrl::HitTest( const wxPoint &point, int &flags ) +// TODO: sub item hit testing +long wxGenericListCtrl::HitTest(const wxPoint& point, int& flags, long *) { return m_mainWin->HitTest( (int)point.x, (int)point.y, flags ); }