///////////////////////////////////////////////////////////////////////////////
// Name: src/palmos/listbox.cpp
// Purpose: wxListBox
-// Author: William Osborne
+// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "listbox.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
wxListBoxItem(const wxString& str = wxEmptyString);
};
-wxListBoxItem::wxListBoxItem(const wxString& str) : wxOwnerDrawn(str, FALSE)
+wxListBoxItem::wxListBoxItem(const wxString& str) : wxOwnerDrawn(str, false)
{
// no bitmaps/checkmarks
SetMarginWidth(0);
{
}
-int wxListBox::FindString(const wxString& s) const
-{
- return wxNOT_FOUND;
-}
-
void wxListBox::Clear()
{
}
{
}
-void wxListBox::SetSelection(int N, bool select)
+void wxListBox::DoSetSelection(int N, bool select)
{
}
{
}
-int wxListBox::GetCount() const
+size_t wxListBox::GetCount() const
{
- return m_noItems;
+ return 0;
}
// ----------------------------------------------------------------------------