]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/choice.cpp
fix for bug 1371386, with some minor mods and cleanup
[wxWidgets.git] / src / palmos / choice.cpp
index 2abc6a9d89b83f1cfd55ce2342082608d1eee317..ce5eedf27463d27b32d75e994511c7625229881c 100644 (file)
@@ -1,9 +1,9 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        choice.cpp
+// Name:        src/palmos/choice.cpp
 // Purpose:     wxChoice
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 // 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,
@@ -197,11 +193,6 @@ int wxChoice::GetCount() const
     return 0;
 }
 
-int wxChoice::FindString(const wxString& s) const
-{
-    return 0;
-}
-
 void wxChoice::SetString(int n, const wxString& s)
 {
 }
@@ -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