X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe8635a7e78715344f0f4b6abc9d797931429333..90a77e64841dfcaf37103b6411987402739baa0b:/include/wx/generic/progdlgg.h diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 44467b1836..24f25446cc 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -56,7 +56,7 @@ public: /* Switches the dialog to use a gauge in indeterminate mode and calls wxGauge::Pulse() to show to the user a bit of progress */ - virtual bool UpdatePulse(const wxString& newmsg = wxEmptyString, bool *skip = NULL); + virtual bool Pulse(const wxString& newmsg = wxEmptyString, bool *skip = NULL); // Must provide overload to avoid hiding it (and warnings about it) virtual void Update() { wxDialog::Update(); } @@ -91,6 +91,9 @@ private: // updates the label message void UpdateMessage(const wxString &newmsg); + // common part of Update() and Pulse(), returns true if not cancelled + bool DoAfterUpdate(bool *skip); + // shortcuts for enabling buttons void EnableClose(); void EnableSkip(bool enable=true);