X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/palmos/statbrpalm.cpp?ds=sidebyside diff --git a/src/palmos/statbrpalm.cpp b/src/palmos/statbrpalm.cpp index 679433f1b9..ff3ea0af13 100644 --- a/src/palmos/statbrpalm.cpp +++ b/src/palmos/statbrpalm.cpp @@ -28,7 +28,11 @@ #include "wx/log.h" #endif -#include +#ifdef __WXPALMOS6__ + #include +#else + #include +#endif // __WXPALMOS6__ // ---------------------------------------------------------------------------- // macros @@ -103,7 +107,7 @@ bool wxStatusBarPalm::Show( bool show ) 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); @@ -123,24 +127,12 @@ void wxStatusBarPalm::SetFieldsWidth() 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