X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a33127542b111cf41a0c7b17d1316ef0855e9fe..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/samples/internat/internat.cpp?ds=sidebyside diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index b2d4113e24..a9d2233b4d 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -414,7 +414,7 @@ void MyFrame::OnOpen(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event)) { - const wxChar* title = _("Testing _() (gettext)"); + const wxString title = _("Testing _() (gettext)"); wxTextEntryDialog d(this, _("Please enter text to translate"), title, wxTRANSLATE("default value")); if (d.ShowModal() == wxID_OK) @@ -429,7 +429,7 @@ void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnTest2(wxCommandEvent& WXUNUSED(event)) { - const wxChar* title = _("Testing _N() (ngettext)"); + const wxString title = _("Testing _N() (ngettext)"); wxTextEntryDialog d(this, _("Please enter range for plural forms of \"n files deleted\" phrase"), title, _T("0-10"));