git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53978
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void MyFrame::OnTest1(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)
wxTextEntryDialog d(this, _("Please enter text to translate"),
title, wxTRANSLATE("default value"));
if (d.ShowModal() == wxID_OK)
void MyFrame::OnTest2(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"));
wxTextEntryDialog d(this,
_("Please enter range for plural forms of \"n files deleted\" phrase"),
title, _T("0-10"));