X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a33127542b111cf41a0c7b17d1316ef0855e9fe..f1d5aa4eca541a2f90044a63f555985d6bd4adf3:/samples/internat/internat.cpp 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"));