]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/listctrl.h
fixes #13695
[wxWidgets.git] / interface / wx / listctrl.h
index 11a852a3d947170ffa7a76c83551255902247654..3c285a12ea2ac46265ea68ecf26dcc6f87ddfc31 100644 (file)
@@ -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.
 
@@ -953,7 +963,7 @@ public:
         using the specified @a fnSortCallBack function. This function must have the
         following prototype:
         @code
-        int wxCALLBACK wxListCompareFunction(long item1, long item2, wxIntPtr sortData)
+        int wxCALLBACK wxListCompareFunction(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData)
         @endcode
 
         It is called each time when the two items must be compared and should return 0