Don't activate MSW dialogs when setting their initial size.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Dec 2011 23:04:50 +0000 (23:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Dec 2011 23:04:50 +0000 (23:04 +0000)
commit7cb83a8b785ee36d8c9fba5ccbb8998659b36fe0
treec5b711132309c4eb4aa6670b62ed54675825a513
parenta57ea0102f67075861696d97e784c1b68f12fc51
Don't activate MSW dialogs when setting their initial size.

As the dialog is not shown yet at this moment, activating it didn't work
correctly and the dialog didn't get the focus when it was shown later.
Fix this by preventing ::SetWindowPos() from activating it, which it does by
default.

Closes #13765.

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