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
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user