X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e5754bebdc218969efd8f2d30d389e0157e4a2f..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/osx/listctrl.h?ds=sidebyside diff --git a/include/wx/osx/listctrl.h b/include/wx/osx/listctrl.h index 98ea42e277..88520f0376 100644 --- a/include/wx/osx/listctrl.h +++ b/include/wx/osx/listctrl.h @@ -281,7 +281,7 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl // or zero if the two items are equivalent. // data is arbitrary data to be passed to the sort function. - bool SortItems(wxListCtrlCompare fn, long data); + bool SortItems(wxListCtrlCompare fn, wxIntPtr data); wxMacDataBrowserListCtrlControl* GetListPeer() const; @@ -317,7 +317,7 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl void Command(wxCommandEvent& event) { ProcessCommand(event); }; wxListCtrlCompare GetCompareFunc() { return m_compareFunc; }; - long GetCompareFuncData() { return m_compareFuncData; }; + wxIntPtr GetCompareFuncData() { return m_compareFuncData; }; // public overrides needed for pimpl approach @@ -391,7 +391,7 @@ protected: void* m_macListCtrlEventHandler; void* m_cgContext; wxListCtrlCompare m_compareFunc; - long m_compareFuncData; + wxIntPtr m_compareFuncData; wxTextCtrl* m_textCtrl; // The control used for editing a label wxImageList * m_imageListNormal; // The image list for normal icons