// Modified by:
// Created: 04/01/98
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Copyright: (c) Julian Smart
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
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);
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;
}