-// ----------------------------------------------------------------------------
-// fields text
-// ----------------------------------------------------------------------------
-
-void wxStatusBarUniv::SetStatusText(const wxString& text, int number)
-{
- wxCHECK_RET( number >= 0 && (size_t)number < m_panes.GetCount(),
- _T("invalid status bar field index in SetStatusText()") );
-
- if ( text == m_statusText[number] )
- {
- // nothing changed
- return;
- }
-
- m_statusText[number] = text;
-
- RefreshField(number);
-}
-
-wxString wxStatusBarUniv::GetStatusText(int number) const
-{
- wxCHECK_MSG( number >= 0 && (size_t)number < m_panes.GetCount(), wxEmptyString,
- _T("invalid status bar field index") );
-
- return m_statusText[number];
-}
-