void wxPreviewControlBar::OnChar(wxKeyEvent &event)
{
- switch(event.KeyCode())
+ switch(event.GetKeyCode())
{
case WXK_NEXT:
OnNext(); break;
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);