// Author: Julian Smart
// Modified by: Agron Selimaj
// Created: 01/02/97
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// common part of all ctors
void Init();
+ // 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);
// return the icon for the given item and column.
virtual int OnGetItemColumnImage(long item, long column) const;
- // return the attribute for the item (may return NULL if none)
- virtual wxListItemAttr *OnGetItemAttr(long item) const;
-
// return the attribute for the given item and column (may return NULL if none)
virtual wxListItemAttr *OnGetItemColumnAttr(long item, long WXUNUSED(column)) const
{