/////////////////////////////////////////////////////////////////////////////
-// Name: palmos/button.cpp
+// Name: src/palmos/button.cpp
// Purpose: wxButton
-// Author: William Osborne
-// Modified by:
+// Author: William Osborne - minimal working wxPalmOS port
+// Modified by: Wlodzimierz ABX Skiba - native wxButton implementation
// Created: 10/13/04
-// RCS-ID: $Id:
-// Copyright: (c) William Osborne
+// RCS-ID: $Id$
+// Copyright: (c) William Osborne, Wlodzimierz Skiba
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/dcscreen.h"
#endif
-#include "wx/palmos/private.h"
-
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
const wxValidator& validator,
const wxString& name)
{
- // remember about stock IDs
- return false;
+ wxControl::PalmCreateControl(buttonCtl, parent, id, label, pos, size);
+ return true;
}
wxButton::~wxButton()
{
}
-// ----------------------------------------------------------------------------
-// flags
-// ----------------------------------------------------------------------------
-
-WXDWORD wxButton::MSWGetStyle(long style, WXDWORD *exstyle) const
-{
- return 0;
-}
-
// ----------------------------------------------------------------------------
// size management including autosizing
// ----------------------------------------------------------------------------
{
}
-// ----------------------------------------------------------------------------
-// event/message handlers
-// ----------------------------------------------------------------------------
-
-bool wxButton::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
-{
- return false;
-}
-
#endif // wxUSE_BUTTON