#include <Control.h>
#include <Form.h>
-#include <StatusBar.h>
+#ifdef __WXPALMOS6__
+ #include <StatusBar.h>
+#else
+ #include <PenInputMgr.h>
+#endif // __WXPALMOS6__
// ----------------------------------------------------------------------------
// wxWin macros
wxControl::~wxControl()
{
+ SendDestroyEvent();
+
SetLabel(wxEmptyString);
- m_isBeingDeleted = true;
DestroyChildren();
(void **)&form,
GetId(),
(ControlStyleType)style,
- wxEmptyString,
+ NULL,
x,
y,
w,
ControlType* control = (ControlType*)GetObjectPtr();
if(control==NULL)
return;
- CtlSetLabel(control,wxEmptyString);
+ CtlSetLabel(control, "");
m_label = label;
if(!m_label.empty())
CtlSetLabel(control,m_label.c_str());
return wxEmptyString;
return CtlGetLabel(control);
}
-
+#if 0
wxString wxControl::GetLabel()
{
if(IsPalmField())
return wxEmptyString;
}
-
+#endif
/* static */ wxVisualAttributes
wxControl::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
{