Don't create an unnecessary extra button in wxMSW wxProgressDialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jul 2011 11:59:43 +0000 (11:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jul 2011 11:59:43 +0000 (11:59 +0000)
commit04a00346c6d88d9849e138e7cba4cc189a1ed218
treeb374e579e4e3a6b5c6362404961148ffdd773973
parent4877e9bf9097d6c815fb2264afad9fdd6e8eb3ff
Don't create an unnecessary extra button in wxMSW wxProgressDialog.

MSWCommonTaskDialogInit() now (probably since r67620) always creates a
IDCANCEL button so don't create another one in wxProgressDialog code, just
ensure that the one created by that function has the correct label (either
"Cancel" or "Close").

Closes #13358.

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