X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d29a9a8ac8ab0467c8a3c076b147a0942011f7ee..c7d9c476ea807927781813bca979e9f793599229:/include/wx/generic/progdlgg.h diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index a3ff1a8f02..cf148f8d02 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -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; @@ -164,7 +168,7 @@ private: class WXDLLIMPEXP_FWD_CORE wxWindowDisabler *m_winDisabler; DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxProgressDialog) + wxDECLARE_NO_COPY_CLASS(wxProgressDialog); }; #endif // wxUSE_PROGRESSDLG