X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..0b632977d75f403b7bc043d48a1c15e7394c546c:/include/wx/generic/progdlgg.h?ds=sidebyside diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 32383adb59..aa0de14272 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -50,7 +50,7 @@ public: /* Update the status bar to the new value. @param value new value @param newmsg if used, new message to display - @returns true if ABORT button has not been pressed + @return true if ABORT button has not been pressed */ virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL); @@ -61,13 +61,17 @@ public: // Must provide overload to avoid hiding it (and warnings about it) virtual void Update() { wxDialog::Update(); } + virtual bool Show( bool show = true ); + /* Can be called to continue after the cancel button has been pressed, but the program decided to continue the operation (e.g., user didn't confirm it) */ void Resume(); - virtual bool Show( bool show = true ); + int GetValue() const; + int GetRange() const; + wxString GetMessage() const; protected: // callback for optional abort button @@ -101,7 +105,7 @@ private: void DisableSkip() { EnableSkip(false); } void DisableAbort() { EnableAbort(false); } - // the status bar + // the widget displaying current status (may be NULL) wxGauge *m_gauge; // the message displayed wxStaticText *m_msg;