diff --git a/interface/wx/frame.h b/interface/wx/frame.h index f2753026cb..06910df8f2 100644 --- a/interface/wx/frame.h +++ b/interface/wx/frame.h @@ -427,7 +427,11 @@ public: void SetStatusBarPane(int n); /** - Sets the status bar text and redraws the status bar. + Sets the status bar text and updates the status bar display. + + This is a simple wrapper for wxStatusBar::SetStatusText() which doesn't + do anything if the frame has no status bar, i.e. GetStatusBar() returns + @NULL. @param text The text for the status field. diff --git a/interface/wx/statusbr.h b/interface/wx/statusbr.h index 0acf382f52..bdd39c5023 100644 --- a/interface/wx/statusbr.h +++ b/interface/wx/statusbr.h @@ -279,7 +279,9 @@ public: /** Sets the status text for the @a i-th field. - The given text will replace the current text. + The given text will replace the current text. The display of the status + bar is updated immediately, so there is no need to call + wxWindow::Update() after calling this function. Note that if PushStatusText() had been called before the new text will also replace the last saved value to make sure that the next call to