]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/choice.cpp
Fix compilation error
[wxWidgets.git] / src / palmos / choice.cpp
index 3cc53e1b6cb1ab2660777e362df24cb031c72f19..b5ff3ed5eeb63d3c4628a1c7cf47f66dcee0e152 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "choice.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -120,7 +116,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent,
                              const wxValidator& validator,
                              const wxString& name)
 {
-    return FALSE;
+    return false;
 }
 
 bool wxChoice::Create(wxWindow *parent,
@@ -192,12 +188,7 @@ void wxChoice::SetSelection(int n)
 // string list functions
 // ----------------------------------------------------------------------------
 
-int wxChoice::GetCount() const
-{
-    return 0;
-}
-
-int wxChoice::FindString(const wxString& s) const
+size_t wxChoice::GetCount() const
 {
     return 0;
 }
@@ -272,13 +263,4 @@ bool wxChoice::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
     return false;
 }
 
-WXHBRUSH wxChoice::OnCtlColor(WXHDC pDC, WXHWND WXUNUSED(pWnd), WXUINT WXUNUSED(nCtlColor),
-                               WXUINT WXUNUSED(message),
-                               WXWPARAM WXUNUSED(wParam),
-                               WXLPARAM WXUNUSED(lParam)
-     )
-{
-    return (WXHBRUSH) 0;
-}
-
 #endif // wxUSE_CHOICE