X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..511fb92a6c68a9635dee0d97bd2110cdeb35deb8:/src/palmos/listbox.cpp diff --git a/src/palmos/listbox.cpp b/src/palmos/listbox.cpp index 57a65650e5..7302ebdaf0 100644 --- a/src/palmos/listbox.cpp +++ b/src/palmos/listbox.cpp @@ -9,10 +9,6 @@ // 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" @@ -114,7 +110,7 @@ public: 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); @@ -194,11 +190,6 @@ void wxListBox::DoSetItems(const wxArrayString& choices, void** clientData) { } -int wxListBox::FindString(const wxString& s) const -{ - return wxNOT_FOUND; -} - void wxListBox::Clear() { } @@ -207,7 +198,7 @@ void wxListBox::Free() { } -void wxListBox::SetSelection(int N, bool select) +void wxListBox::DoSetSelection(int N, bool select) { } @@ -263,9 +254,9 @@ void wxListBox::SetString(int N, const wxString& s) { } -int wxListBox::GetCount() const +size_t wxListBox::GetCount() const { - return m_noItems; + return 0; } // ----------------------------------------------------------------------------