X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fb683081c372fb4a9caaa4710ecafc12dd02c3d..7bd236e6da74203ba429941d3f9643291494b420:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 6e1707802a..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 @@ -412,7 +412,7 @@ class WXDLLEXPORT wxListHeaderWindow : public wxWindow { protected: wxListMainWindow *m_owner; - wxCursor *m_currentCursor; + const wxCursor *m_currentCursor; wxCursor *m_resizeCursor; bool m_isDragging; @@ -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 ); }