#include "wx/log.h"
#endif
-#include <StatusBar.h>
+#ifdef __WXPALMOS6__
+ #include <StatusBar.h>
+#else
+ #include <PenInputMgr.h>
+#endif // __WXPALMOS6__
// ----------------------------------------------------------------------------
// macros
void wxStatusBarPalm::SetFieldsCount(int nFields, const int *widths)
{
// this is a Windows limitation
- wxASSERT_MSG( (nFields > 0) && (nFields < 255), _T("too many fields") );
+ wxASSERT_MSG( (nFields > 0) && (nFields < 255), wxT("too many fields") );
wxStatusBarBase::SetFieldsCount(nFields, widths);
DeleteStatusBuffer();
}
-void wxStatusBarPalm::SetStatusText(const wxString& strText, int nField)
+void wxStatusBarPalm::DoUpdateStatusText(int nField)
{
- wxCHECK_RET( (nField >= 0) && (nField < m_nFields),
- _T("invalid statusbar field index") );
-
SetStatusBufferText(strText,nField);
DrawStatusBar();
}
-wxString wxStatusBarPalm::GetStatusText(int nField) const
-{
- wxCHECK_MSG( (nField >= 0) && (nField < m_nFields), wxEmptyString,
- _T("invalid statusbar field index") );
-
- wxString text;
- return text;
-}
-
void wxStatusBarPalm::DrawStatusBar()
{
#if 0