Always use native task dialog for wxProgressDialog under MSW if supported.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Sep 2010 13:11:03 +0000 (13:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Sep 2010 13:11:03 +0000 (13:11 +0000)
commit76c4b1491e547b8f922b3bd74933c82e95ee6f38
treea4490d02784b91bea71ca5db1571936a701676a6
parentedc0f733a7af21014fb6077acb70ac9952259a74
Always use native task dialog for wxProgressDialog under MSW if supported.

Use task dialogs even for the dialogs with wxPD_AUTO_HIDE style flag and
without wxPD_CAN_ABORT one. Generic fallback was used in this case as native
task dialog doesn't support dialogs without buttons but it is finally better
to create a dummy button and use the native dialog nevertheless. We already
have a mostly disabled "Close" button for the dialogs without wxPD_AUTO_HIDE
style so it seems logical to also have it (but just never enable it at all)
when this style is used.

Closes #12462.

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