fixed GetItemSpacing() inconsistency by deprecating the old function and adding a new, easier to use, overload

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-14 16:06:27 +00:00
parent 4a06b34847
commit 5db8d758b8
5 changed files with 31 additions and 12 deletions

View File

@@ -189,10 +189,8 @@ public:
// Gets the number of columns in the list control
int GetColumnCount() const { return m_colCount; }
// Retrieves the spacing between icons in pixels.
// If small is TRUE, gets the spacing for the small icon
// view, otherwise the large icon view.
int GetItemSpacing(bool isSmall) const;
// get the horizontal and vertical components of the item spacing
wxSize GetItemSpacing() const;
// Foreground colour of an item.
void SetItemTextColour( long item, const wxColour& col);
@@ -355,6 +353,10 @@ public:
// Necessary for drawing hrules and vrules, if specified
void OnPaint(wxPaintEvent& event);
// obsolete stuff, for compatibility only -- don't use
wxDEPRECATED( int GetItemSpacing(bool isSmall) const);
protected:
// common part of all ctors
void Init();