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:
parent
bd6412b6d0
commit
72bc14da9d
@ -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
|
||||
|
@ -626,6 +626,12 @@ int wxListCtrl::GetItemCount() const
|
||||
return m_count;
|
||||
}
|
||||
|
||||
void wxListCtrl::SetItemSpacing( int spacing, bool isSmall )
|
||||
{
|
||||
if (m_genericImpl)
|
||||
m_genericImpl->SetItemSpacing(spacing, isSmall);
|
||||
}
|
||||
|
||||
wxSize wxListCtrl::GetItemSpacing() const
|
||||
{
|
||||
if (m_genericImpl)
|
||||
|
Loading…
Reference in New Issue
Block a user