X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efbb7287e6be8cfa29cb30a9678a3a3e6e99bfb3..b1f5d087c78df77408b3b2774695b1e0d148e6fb:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 09bd6c5b22..c0fca1fe46 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -70,7 +70,7 @@ public: Create(parent, id, pos, size, style, validator, name); } ~wxListCtrl(); - + bool Create( wxWindow *parent, wxWindowID id = -1, const wxPoint &pos = wxDefaultPosition, @@ -113,6 +113,7 @@ public: long GetNextItem( long item, int geometry = wxLIST_NEXT_ALL, int state = wxLIST_STATE_DONTCARE ) const; wxImageList *GetImageList( int which ) const; void SetImageList( wxImageList *imageList, int which ); + void AssignImageList( wxImageList *imageList, int which ); bool Arrange( int flag = wxLIST_ALIGN_DEFAULT ); // always wxLIST_ALIGN_LEFT in wxGLC void ClearAll(); @@ -139,7 +140,7 @@ public: bool ScrollList( int dx, int dy ); bool SortItems( wxListCtrlCompare fn, long data ); bool Update( long item ); - + void OnIdle( wxIdleEvent &event ); void OnSize( wxSizeEvent &event ); @@ -166,6 +167,9 @@ public: wxImageList *m_imageListNormal; wxImageList *m_imageListSmall; wxImageList *m_imageListState; // what's that ? + bool m_ownsImageListNormal, + m_ownsImageListSmall, + m_ownsImageListState; wxListHeaderWindow *m_headerWin; wxListMainWindow *m_mainWin;