]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/statbrma.cpp
streamlining OSX event support first step, see #11805, see #11797
[wxWidgets.git] / src / osx / carbon / statbrma.cpp
index 3898d12d56fb57daa47b869fe161cd9fd4c0a5f7..a23e9180ac3b4412bf8ac3dd4decca7685ab3aad 100644 (file)
@@ -102,19 +102,8 @@ void wxStatusBarMac::DrawField(wxDC& dc, int i, int textHeight)
     DrawFieldText(dc, rect, i, textHeight);
 }
 
-void wxStatusBarMac::SetStatusText(const wxString& text, int number)
+void wxStatusBarMac::DoUpdateStatusText(int number)
 {
-    // NOTE: seems this function is identic to wxStatusBarGeneric::SetStatusText;
-    //       probably can be removed without problems (FM)
-
-    wxCHECK_RET( (number >= 0) && ((size_t)number < m_panes.GetCount()),
-        wxT("invalid status bar field index") );
-
-    if ( GetStatusText(number) == text )
-        return;
-
-    wxStatusBarGeneric::SetStatusText(text, number);
-
     wxRect rect;
     GetFieldRect(number, rect);