X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f13880a907c5e7a0e134c730deabd28bba87e2a5..97ee90eec5faa0f361c47e39ee14299d07bbb50b:/samples/internat/internat.cpp diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 7fd5df9a29..d4faa14be2 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -251,15 +251,15 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) localeInfo.Printf(_("Language: %s\nSystem locale name:\n%s\nCanonical locale name: %s\n"), locale.c_str(), sysname.c_str(), canname.c_str() ); - wxMessageDialog - ( - this, - wxString(_("I18n sample\n(c) 1998, 1999 Vadim Zeitlin and Julian Smart")) - + wxT("\n\n") - + localeInfo, - _("About Internat"), - wxOK | wxICON_INFORMATION - ).ShowModal(); + wxMessageDialog dlg( + this, + wxString(_("I18n sample\n(c) 1998, 1999 Vadim Zeitlin and Julian Smart")) + + wxT("\n\n") + + localeInfo, + _("About Internat"), + wxOK | wxICON_INFORMATION + ); + dlg.ShowModal(); } void MyFrame::OnPlay(wxCommandEvent& WXUNUSED(event))