Don't manually centre dialogs created with default position in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Aug 2011 15:15:50 +0000 (15:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Aug 2011 15:15:50 +0000 (15:15 +0000)
commit5d8d4b669a311a8b0c64939e82fc4d5bb6c36796
treec274c858d70a0c7be868dd75042ed101434aedfb
parent373a4816d447cbf6da448e139cd577599c866e86
Don't manually centre dialogs created with default position in wxMSW.

We always centered the dialogs on the main display which was wrong if the
parent window was on another one. Instead of fixing it, simply don't centre
them at all and let Windows position them, there is no reason to change the
default behaviour.

Closes #13387.

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