X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..0538419f9e7d1fd4af57f2f4e38c339cd091b0c5:/src/univ/statusbr.cpp?ds=sidebyside diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index 4a1d7203ed..ac0dbc3fa9 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -141,7 +141,7 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer) } } -void wxStatusBarUniv::RefreshField(int i) +void wxStatusBarUniv::DoUpdateStatusText(int i) { wxRect rect; if ( GetFieldRect(i, rect) ) @@ -150,27 +150,6 @@ void wxStatusBarUniv::RefreshField(int i) } } -// ---------------------------------------------------------------------------- -// fields text -// ---------------------------------------------------------------------------- - -void wxStatusBarUniv::SetStatusText(const wxString& text, int number) -{ - wxCHECK_RET( number >= 0 && (size_t)number < m_panes.GetCount(), - wxT("invalid status bar field index in SetStatusText()") ); - - if ( text == GetStatusText(number) ) - { - // nothing changed - return; - } - - wxStatusBarBase::SetStatusText(text, number); - - RefreshField(number); -} - - // ---------------------------------------------------------------------------- // fields count/widths // ----------------------------------------------------------------------------