From 54d323d299ecb3f6064f5c3cdca1b1c88000427f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 21 Dec 2011 13:07:18 +0000 Subject: [PATCH] Document wxListCtrl::InReportView() and IsVirtual(). These functions are more convenient than directly testing for styles and are already used outside wxWidgets do make them officially part of the public API. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/listctrl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/interface/wx/listctrl.h b/interface/wx/listctrl.h index 90af91932b..3c285a12ea 100644 --- a/interface/wx/listctrl.h +++ b/interface/wx/listctrl.h @@ -642,6 +642,11 @@ public: */ long HitTest(const wxPoint& point, int& flags, long* ptrSubItem = NULL) const; + /** + Returns true if the control is currently using ::wxLC_REPORT style. + */ + bool InReportView() const; + /** For report view mode (only), inserts a column. For more details, see SetItem(). */ @@ -707,6 +712,11 @@ public: long InsertItem(long index, const wxString& label, int imageIndex); + /** + Returns true if the control is currently in virtual report view. + */ + bool IsVirtual() const; + /** Redraws the given @e item. -- 2.45.2