git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18236
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString strPrompt;
wxString strPage;
wxString strPrompt;
wxString strPage;
- strPrompt.Printf( _("%d...%d"),
+ strPrompt.Printf( wxT("%d...%d"),
preview->GetMinPage(), preview->GetMaxPage());
preview->GetMinPage(), preview->GetMaxPage());
- strPage.Printf( _("%d"), preview->GetCurrentPage() );
+ strPage.Printf( wxT("%d"), preview->GetCurrentPage() );
strPage =
wxGetTextFromUser( strPrompt, _("Goto Page"), strPage);
strPage =
wxGetTextFromUser( strPrompt, _("Goto Page"), strPage);
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break ;
default :
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break ;
default :
- wxLogError(_("illegal scrollbar selector %d"), controlpart);
+ wxFAIL_MSG(wxT("illegal scrollbar selector"));
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break ;
default :
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break ;
default :
- wxLogError(_("illegal scrollbar selector %d"), controlpart);
+ wxFAIL_MSG(wxT("illegal scrollbar selector"));
- wxFAIL_MSG(_("Failed to create dialog. Incorrect DLGTEMPLATE?"));
+ wxFAIL_MSG(wxT("Failed to create dialog. Incorrect DLGTEMPLATE?"));
- wxLogSysError(_("Can't create dialog using memory template"));
+ wxLogSysError(wxT("Can't create dialog using memory template"));
- wxFAIL_MSG(_("Did you forget to include wx/os2/wx.rc in your resources?"));
+ wxFAIL_MSG(wxT("Did you forget to include wx/os2/wx.rc in your resources?"));
- wxLogSysError(_("Can't create dialog using template '%ul'"), ulDlgTemplate);
+ wxLogSysError(wxT("Can't create dialog using template '%ul'"), ulDlgTemplate);