From d04b62e1aeb461efe3163a767d9c35dfedeb91f2 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 1 Dec 2015 17:57:19 -0800 Subject: [PATCH] Add docs for some missing status bar methods --- interface/wx/statusbr.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/interface/wx/statusbr.h b/interface/wx/statusbr.h index 9c008e018e..41cbb6cc9a 100644 --- a/interface/wx/statusbr.h +++ b/interface/wx/statusbr.h @@ -54,6 +54,33 @@ public: Returns the text currently shown in this pane. */ wxString GetText() const; + + + bool IsEllipsized() const; + void SetIsEllipsized(bool isEllipsized); + + void SetWidth(int width); + void SetStyle(int style); + + /** + Set text. Returns true if it changed or false if it was already set to + this value. + */ + bool SetText(const wxString& text); + + /** + Save the existing text on top of a stack and make the new text + current. Returns true if the text really changed. + */ + bool PushText(const wxString& text); + + /** + Restore the message saved by the last call to Push() (unless it was + changed by an intervening call to SetText()) and return true if we + really restored anything. + */ + bool PopText(); + }; /**