X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b18e2046af6c8eaf6e867ba18dd9410dbd7dfcf7..0995b9dc18a7ce898c1c1be0e2790b258cab0fee:/include/wx/osx/listctrl.h diff --git a/include/wx/osx/listctrl.h b/include/wx/osx/listctrl.h index 88520f0376..46b876f3b4 100644 --- a/include/wx/osx/listctrl.h +++ b/include/wx/osx/listctrl.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: listctrl.h +// Name: wx/osx/listctrl.h // Purpose: wxListCtrl class // Author: Stefan Csomor // Modified by: @@ -103,7 +103,7 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl bool SetItemColumnImage(long item, long column, int image); // Gets the item text - wxString GetItemText(long item) const ; + wxString GetItemText(long item, int col = 0) const ; // Sets the item text void SetItemText(long item, const wxString& str) ; @@ -217,7 +217,7 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl void ClearAll(); // Edit the label - wxTextCtrl* EditLabel(long item, wxClassInfo* textControlClass = CLASSINFO(wxTextCtrl)); + wxTextCtrl* EditLabel(long item, wxClassInfo* textControlClass = wxCLASSINFO(wxTextCtrl)); // End label editing, optionally cancelling the edit bool EndEditLabel(bool cancel); @@ -326,6 +326,10 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl virtual bool SetBackgroundColour(const wxColour& colour); virtual wxColour GetBackgroundColour() const; + virtual void Freeze (); + virtual void Thaw (); + virtual void Update (); + // functions for editing/timer void OnRenameTimer(); bool OnRenameAccept(long itemEdit, const wxString& value); @@ -416,7 +420,6 @@ protected: private: int CalcColumnAutoWidth(int col) const; - DECLARE_EVENT_TABLE() }; #endif