]> git.saurik.com Git - wxWidgets.git/commit
Use task dialog for wxProgressDialog implementation in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Aug 2010 22:49:02 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 18 Aug 2010 22:49:02 +0000 (22:49 +0000)
commitc31d9c7f601e767cc3210b63a989434af76fef61
treed1ea804cc25a747bfe779ab933d7f24c90696993
parentc0938d8506409863011956e79b92fc137a5bcccf
Use task dialog for wxProgressDialog implementation in wxMSW.

If available, the task dialog is now used for the wxProgressDialog under
Windows. This provides a much more native looking dialog which doesn't look
out of place under modern Windows versions, unlike the generic implementation.

The internals of the code had to be significantly changed as the task dialog
can only be shown modally so, to emulate wxProgressDialog modeless nature, a
separate thread is used for the progress dialog management.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
18 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
docs/changes.txt
include/wx/generic/progdlgg.h
include/wx/msw/progdlg.h [new file with mode: 0644]
include/wx/progdlg.h
samples/dialogs/dialogs.cpp
src/generic/printps.cpp
src/generic/progdlgg.cpp
src/msw/progdlg.cpp [new file with mode: 0644]