Add a couple missing methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-18 19:14:02 +00:00
parent bd6412b6d0
commit 72bc14da9d
2 changed files with 10 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ class WXDLLEXPORT wxListCtrl: public wxControl
// Gets the number of columns in the list control
int GetColumnCount() const;
void SetItemSpacing( int spacing, bool isSmall = false );
wxSize GetItemSpacing() const;
// Gets the number of selected items in the list control
@@ -154,6 +155,9 @@ class WXDLLEXPORT wxListCtrl: public wxControl
// list or report view
long GetTopItem() const ;
// are we in report mode?
bool InReportView() const { return HasFlag(wxLC_REPORT); }
bool IsVirtual() const { return HasFlag(wxLC_VIRTUAL); }
// Add or remove a single window style