Don't try to center task dialogs under Windows.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Nov 2010 12:49:07 +0000 (12:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Nov 2010 12:49:07 +0000 (12:49 +0000)
commitdd53b347de7a318a07ae843700eebe2be4679f37
tree207227ce14c8aa12ac3461415932b6cbcf4a1769
parent8e76e931990cdfdce8bc32990e17896cf14d47cd
Don't try to center task dialogs under Windows.

This is either unnecessary or doesn't work anyhow (they are always centered on
the parent window) and just results in debug error messages.

Simply don't do anything in wxMessageDialog::Centre() when using task dialog
implementation under MSW.

Closes #12699.

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