X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed1288eef07896f7dc5382e2658d720d5420a6d1..6abf7b639c8f6827c7784d5707ea4733a375d4eb:/include/wx/generic/progdlgg.h diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 4a296b6af9..5a90d1f1f4 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -48,6 +48,11 @@ public: void SetRange(int maximum); + // Return whether "Cancel" or "Skip" button was pressed, always return + // false if the corresponding button is not shown. + bool WasCancelled() const; + bool WasSkipped() const; + // Must provide overload to avoid hiding it (and warnings about it) virtual void Update() { wxDialog::Update(); }