Ensure that the progress dialog parent is activated at the end under MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2012 14:18:25 +0000 (14:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2012 14:18:25 +0000 (14:18 +0000)
commit7e083675342b17762735ef2223fb9d264d6fc937
tree4286afe6adf52813c92906ef245694e553932c5b
parent7cee4f76216597fafeddb725f93b1ac7fd7685f0
Ensure that the progress dialog parent is activated at the end under MSW.

The progress dialog parent was supposed to become the new foreground window
when the progress dialog was closed, but this didn't happen because
m_parentTop was never set when the native progress dialog implementation was
used under MSW. Fix this by explicitly calling the new SetTopParent() from its
ctor.

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