git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41281
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Gets the number of columns in the list control
int GetColumnCount() const;
// 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
wxSize GetItemSpacing() const;
// Gets the number of selected items in the list control
// list or report view
long GetTopItem() const ;
// 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
bool IsVirtual() const { return HasFlag(wxLC_VIRTUAL); }
// Add or remove a single window style
+void wxListCtrl::SetItemSpacing( int spacing, bool isSmall )
+{
+ if (m_genericImpl)
+ m_genericImpl->SetItemSpacing(spacing, isSmall);
+}
+
wxSize wxListCtrl::GetItemSpacing() const
{
if (m_genericImpl)
wxSize wxListCtrl::GetItemSpacing() const
{
if (m_genericImpl)