]> git.saurik.com Git - wxWidgets.git/commit - src/msw/msgdlg.cpp
Don't replace non default wxMessageDialog labels with default translations.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Oct 2011 16:22:30 +0000 (16:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Oct 2011 16:22:30 +0000 (16:22 +0000)
commitc22ce32199e7c1fca23004ab346911ddc7e72ef0
tree082188c7ba165c6c2734f90107973f998977bdf4
parent9a29fe70bc90b08b4f0bd4c23c1d12ad17cbbed2
Don't replace non default wxMessageDialog labels with default translations.

The code translating the button labels of wxMessageBox to the application
language was overeager and replaced even the custom labels with the
translations of the default ones.

This shouldn't be done, of course, so simply check that no custom labels had
been set before translating.

See #10962.

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