]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statusbr.cpp
Fix another crash when conversion fails in Unix PostScript code.
[wxWidgets.git] / src / univ / statusbr.cpp
index 4a1d7203ed7a164b36d1795618ea86aedf1cc546..71408e5db3350f1065bf394e7a2bcc5e1c36f353 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     14.10.01
-// RCS-ID:      $Id$
 // Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -141,7 +140,7 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer)
     }
 }
 
-void wxStatusBarUniv::RefreshField(int i)
+void wxStatusBarUniv::DoUpdateStatusText(int i)
 {
     wxRect rect;
     if ( GetFieldRect(i, rect) )
@@ -150,27 +149,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
 // ----------------------------------------------------------------------------