Add wxProgressDialog::Was{Cancelled,Skipped}() convenience methods.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Apr 2010 11:10:33 +0000 (11:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Apr 2010 11:10:33 +0000 (11:10 +0000)
commitf994a8ac8daef7ba9908af3e56f4b4d78fcbf958
tree097354a97f78cba66acf0c422717f33507ae8b24
parentccb3689a1944e045135b897e8930fd0218de37c9
Add wxProgressDialog::Was{Cancelled,Skipped}() convenience methods.

Although the information about "Cancel" and "Skip" buttons presses is returned
from Update(), sometimes it may be more convenient to ask the dialog about
whether it was cancelled or skipped instead of storing it in the program
itself.

Add the methods which allow to check for this.

Closes #10903.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/generic/progdlgg.h
interface/wx/progdlg.h
src/generic/progdlgg.cpp