- // free memory taken by all attributes and recreate the hash table
- void FreeAllAttrs(bool dontRecreate = FALSE);
+ // Implement constrained best size calculation.
+ virtual int DoGetBestClientHeight(int width) const
+ { return MSWGetBestViewRect(width, -1).y; }
+ virtual int DoGetBestClientWidth(int height) const
+ { return MSWGetBestViewRect(-1, height).x; }
+
+ wxSize MSWGetBestViewRect(int x, int y) const;
+
+ // Implement base class pure virtual methods.
+ long DoInsertColumn(long col, const wxListItem& info);
+
+ // free memory taken by all internal data
+ void FreeAllInternalData();
+
+ // get the internal data object for this item (may return NULL)
+ wxMSWListItemData *MSWGetItemData(long item) const;
+
+ // get the item attribute, either by quering it for virtual control, or by
+ // returning the one previously set using setter methods for a normal one
+ wxListItemAttr *DoGetItemColumnAttr(long item, long column) const;
+