Fix bug in wxMSW wxMessageDialog when the text was empty.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Feb 2010 21:07:38 +0000 (21:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Feb 2010 21:07:38 +0000 (21:07 +0000)
commitd3019e4d0a0730c31ba7ab64e0f80ac44e6ecc8a
tree9ad0d2fe7930eb72de120c0021c2c601f63ebaab
parent2dcf60dab4d60daeeb59b54d96e67006c75f25a8
Fix bug in wxMSW wxMessageDialog when the text was empty.

Don't crash in ReplaceStaticWithEdit() dereferencing an invalid end()-1
iterator in this case, use the always valid rbegin() instead.

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