]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/spinctrl.cpp
Remove Palm OS port.
[wxWidgets.git] / src / palmos / spinctrl.cpp
diff --git a/src/palmos/spinctrl.cpp b/src/palmos/spinctrl.cpp
deleted file mode 100644 (file)
index 166e0e6..0000000
+++ /dev/null
@@ -1,181 +0,0 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        src/palmos/spinctrl.cpp
-// Purpose:     wxSpinCtrl class implementation for Palm OS
-// Author:      William Osborne - minimal working wxPalmOS port
-// Modified by:
-// Created:     10/13/04
-// RCS-ID:      $Id$
-// Copyright:   (c) William Osborne
-// Licence:     wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
-// for compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-#ifndef WX_PRECOMP
-    #include "wx/wx.h"
-#endif
-
-#if wxUSE_SPINCTRL
-
-#if defined(__WIN95__)
-
-#include "wx/spinctrl.h"
-#include "wx/palmos/private.h"
-
-// ----------------------------------------------------------------------------
-// macros
-// ----------------------------------------------------------------------------
-
-BEGIN_EVENT_TABLE(wxSpinCtrl, wxSpinButton)
-    EVT_CHAR(wxSpinCtrl::OnChar)
-
-    EVT_SET_FOCUS(wxSpinCtrl::OnSetFocus)
-
-    EVT_SPIN(-1, wxSpinCtrl::OnSpinChange)
-END_EVENT_TABLE()
-
-#define GetBuddyHwnd()      (HWND)(m_hwndBuddy)
-
-// ----------------------------------------------------------------------------
-// constants
-// ----------------------------------------------------------------------------
-
-// the margin between the up-down control and its buddy (can be arbitrary,
-// choose what you like - or may be decide during run-time depending on the
-// font size?)
-static const int MARGIN_BETWEEN = 1;
-
-// ============================================================================
-// implementation
-// ============================================================================
-
-wxArraySpins wxSpinCtrl::ms_allSpins;
-
-/* static */
-wxSpinCtrl *wxSpinCtrl::GetSpinForTextCtrl(WXHWND hwndBuddy)
-{
-    return NULL;
-}
-
-// process a WM_COMMAND generated by the buddy text control
-bool wxSpinCtrl::ProcessTextCommand(WXWORD cmd, WXWORD WXUNUSED(id))
-{
-    return false;
-}
-
-void wxSpinCtrl::OnChar(wxKeyEvent& event)
-{
-}
-
-void wxSpinCtrl::OnSetFocus(wxFocusEvent& event)
-{
-}
-
-// ----------------------------------------------------------------------------
-// construction
-// ----------------------------------------------------------------------------
-
-bool wxSpinCtrl::Create(wxWindow *parent,
-                        wxWindowID id,
-                        const wxString& value,
-                        const wxPoint& pos,
-                        const wxSize& size,
-                        long style,
-                        int min, int max, int initial,
-                        const wxString& name)
-{
-    return false;
-}
-
-wxSpinCtrl::~wxSpinCtrl()
-{
-}
-
-// ----------------------------------------------------------------------------
-// wxTextCtrl-like methods
-// ----------------------------------------------------------------------------
-
-void wxSpinCtrl::SetValue(const wxString& text)
-{
-}
-
-int wxSpinCtrl::GetValue() const
-{
-    return 0;
-}
-
-void wxSpinCtrl::SetSelection(long from, long to)
-{
-}
-
-// ----------------------------------------------------------------------------
-// forward some methods to subcontrols
-// ----------------------------------------------------------------------------
-
-bool wxSpinCtrl::SetFont(const wxFont& font)
-{
-    return false;
-}
-
-bool wxSpinCtrl::Show(bool show)
-{
-    return false;
-}
-
-bool wxSpinCtrl::Enable(bool enable)
-{
-    return false;
-}
-
-void wxSpinCtrl::SetFocus()
-{
-}
-
-// ----------------------------------------------------------------------------
-// event processing
-// ----------------------------------------------------------------------------
-
-void wxSpinCtrl::OnSpinChange(wxSpinEvent& eventSpin)
-{
-}
-
-// ----------------------------------------------------------------------------
-// size calculations
-// ----------------------------------------------------------------------------
-
-wxSize wxSpinCtrl::DoGetBestSize() const
-{
-    return wxSize(0,0);
-}
-
-void wxSpinCtrl::DoMoveWindow(int x, int y, int width, int height)
-{
-}
-
-// get total size of the control
-void wxSpinCtrl::DoGetSize(int *x, int *y) const
-{
-}
-
-void wxSpinCtrl::DoGetPosition(int *x, int *y) const
-{
-}
-
-#endif // __WIN95__
-
-#endif
-       // wxUSE_SPINCTRL
-