wxString strPrompt;
wxString strPage;
- strPrompt.Printf( _("%d...%d"),
+ strPrompt.Printf( wxT("%d...%d"),
preview->GetMinPage(), preview->GetMaxPage());
- strPage.Printf( _("%d"), preview->GetCurrentPage() );
+ strPage.Printf( wxT("%d"), preview->GetCurrentPage() );
strPage =
wxGetTextFromUser( strPrompt, _("Goto Page"), strPage);
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break ;
default :
- wxLogError(_("illegal scrollbar selector %d"), controlpart);
+ wxFAIL_MSG(wxT("illegal scrollbar selector"));
break ;
}
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
break ;
default :
- wxLogError(_("illegal scrollbar selector %d"), controlpart);
+ wxFAIL_MSG(wxT("illegal scrollbar selector"));
break ;
}
if ( !m_hWnd )
{
- 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"));
return FALSE;
}
if ( !m_hWnd )
{
- 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);
return FALSE;
}