]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listctrl.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / msw / listctrl.h
index e11e89c67039ca4f00b165ca2a25c07d458a8aa0..14140398c3301ec9d7a32b3ecf01fe9bcc0f4709 100644 (file)
@@ -231,6 +231,10 @@ public:
     // returns true if it is a virtual list control
     bool IsVirtual() const { return (GetWindowStyle() & wxLC_VIRTUAL) != 0; }
 
+    // refresh items selectively (only useful for virtual list controls)
+    void RefreshItem(long item);
+    void RefreshItems(long itemFrom, long itemTo);
+
     // Operations
     ////////////////////////////////////////////////////////////////////////////
 
@@ -373,9 +377,15 @@ protected:
     // return the icon for the given item
     virtual int OnGetItemImage(long item) const;
 
+    // return the attribute for the item (may return NULL if none)
+    virtual wxListItemAttr *OnGetItemAttr(long item) const;
+
 private:
     bool DoCreateControl(int x, int y, int w, int h);
 
+    // process NM_CUSTOMDRAW notification message
+    WXLPARAM OnCustomDraw(WXLPARAM lParam);
+
     DECLARE_DYNAMIC_CLASS(wxListCtrl)
     DECLARE_EVENT_TABLE()
 };