]> git.saurik.com Git - wxWidgets.git/commit
Block in wxMSW wxProgressDialog::Update(max) until the dialog is dismissed.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Sep 2010 17:26:03 +0000 (17:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Sep 2010 17:26:03 +0000 (17:26 +0000)
commitcc31a982ecb52ae6197c8856606eb85fe05a3a76
treefb65aa87d52359bb5d944fddd0751d8120c65dd8
parent2de77c6a543caf44069b275dd154d4fc692ad29d
Block in wxMSW wxProgressDialog::Update(max) until the dialog is dismissed.

For consistency with the generic version and because it makes more sense than
blocking in the dialog destructor (which is the only other alternative for the
dialogs without wxPD_AUTO_HIDE to work), we should block in Update() when the
maximal value is reached for dialogs without wxPD_AUTO_HIDE style until the
dialog is dismissed.

Document this behaviour even more clearly.

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