#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();