Fix splitting message into title in body in MSW wxProgressDialog.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Oct 2011 16:41:34 +0000 (16:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Oct 2011 16:41:34 +0000 (16:41 +0000)
commitb2447e8408982b9a2528a56ec00010458e70f4db
tree5c779d93d7d5e352cb36c7195f85f94656376c30
parentc22ce32199e7c1fca23004ab346911ddc7e72ef0
Fix splitting message into title in body in MSW wxProgressDialog.

If the message doesn't contain any new lines, it should be used as the body,
not the title as having title without body doesn't make sense and looks
strange.

Closes #13441.

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