]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statusbr.cpp
fixing osx_carbon
[wxWidgets.git] / src / univ / statusbr.cpp
index 4a1d7203ed7a164b36d1795618ea86aedf1cc546..ac0dbc3fa9a29661fefcf8bb47e4a0a6768c2d81 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------