X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7447bdd7b7bc864b948e7a8db61a1ea6b962c66b..9dc1d18069c519c807c2476a837e710b5ef932c6:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index ef2091f269..9d80b4f308 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -25,6 +25,7 @@ #include "wx/scrolwin.h" #include "wx/settings.h" #include "wx/listbase.h" +#include "wx/textctrl.h" #if wxUSE_DRAG_AND_DROP class WXDLLEXPORT wxDropTarget; @@ -99,6 +100,7 @@ public: int GetItemState( long item, long stateMask ) const; bool SetItemState( long item, long state, long stateMask); bool SetItemImage( long item, int image, int selImage = -1 ); + bool SetItemColumnImage( long item, long column, int image ); wxString GetItemText( long item ) const; void SetItemText( long item, const wxString& str ); wxUIntPtr GetItemData( long item ) const; @@ -138,8 +140,10 @@ public: void SetItemCount(long count); - void EditLabel( long item ) { Edit(item); } - void Edit( long item ); + wxTextCtrl *EditLabel(long item, + wxClassInfo* textControlClass = CLASSINFO(wxTextCtrl)); + wxTextCtrl* GetEditControl() const; + void Edit( long item ) { EditLabel(item); } bool EnsureVisible( long item ); long FindItem( long start, const wxString& str, bool partial = false );