void wxPreviewControlBar::OnChar(wxKeyEvent &event)
{
- switch(event.KeyCode())
+ switch(event.GetKeyCode())
{
case WXK_NEXT:
OnNext(); break;
if (m_buttonFlags & wxPREVIEW_GOTO)
{
- m_gotoPageButton = new wxButton(this, wxID_PREVIEW_GOTO, wxT("Goto..."), wxPoint(x, y),
+ m_gotoPageButton = new wxButton(this, wxID_PREVIEW_GOTO, _("Goto..."), wxPoint(x, y),
wxSize(buttonWidth, buttonHeight));
x += gap + buttonWidth;
}