]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/listbox.cpp
intel pict fixes
[wxWidgets.git] / src / palmos / listbox.cpp
index b29d2cc89c6777ba9d92a00b521795290f6d8efc..7302ebdaf0a15290b887d45edc584f30c4306950 100644 (file)
@@ -1,18 +1,14 @@
 ///////////////////////////////////////////////////////////////////////////////
 // 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"
 
@@ -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;
 }
 
 // ----------------------------------------------------------------------------