// Created: 31.05.03
// RCS-ID: $Id$
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
-// License: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
void InvalidateItem(size_t n)
{
m_items[n] = (size_t)-1;
- delete m_cells[n];
- m_cells[n] = NULL;
+ wxDELETE(m_cells[n]);
}
public:
UpdateCount();
- return pos;
+ return pos - 1;
}
void wxSimpleHtmlListBox::SetString(unsigned int n, const wxString& s)