X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8252483ec03c2623ebb7f7cc6718d10e9468fc2..5bc97d1b81910a82e249f6227798b42089149f94:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index e388a13d10..e39a1d554e 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -91,6 +91,7 @@ public: int GetColumnWidth( int col ) const; bool SetColumnWidth( int col, int width); int GetCountPerPage() const; // not the same in wxGLC as in Windows, I think + wxRect GetViewRect() const; bool GetItem( wxListItem& info ) const; bool SetItem( wxListItem& info ) ; @@ -108,7 +109,7 @@ public: int GetItemCount() const; int GetColumnCount() const; void SetItemSpacing( int spacing, bool isSmall = FALSE ); - int GetItemSpacing( bool isSmall ) const; + wxSize GetItemSpacing() const; void SetItemTextColour( long item, const wxColour& col); wxColour GetItemTextColour( long item ) const; void SetItemBackgroundColour( long item, const wxColour &col); @@ -161,6 +162,10 @@ public: void RefreshItem(long item); void RefreshItems(long itemFrom, long itemTo); + // obsolete, don't use + wxDEPRECATED( int GetItemSpacing( bool isSmall ) const ); + + // implementation only from now on // -------------------------------