// Author: Julian Smart
// Modified by:
// Created: 04/01/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ----------------------------------------------------------------------------
// the application icon (under Windows and OS/2 it is in resources)
-#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) || defined(__WXX11__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "emulator.xpm"
#endif
// the "About" item should be in the help menu
wxMenu *helpMenu = new wxMenu;
- helpMenu->Append(Emulator_About, wxT("&About...\tF1"), wxT("Show about dialog"));
+ helpMenu->Append(Emulator_About, wxT("&About\tF1"), wxT("Show about dialog"));
menuFile->Append(Emulator_Quit, wxT("E&xit\tAlt-X"), wxT("Quit this program"));
wxPaintDC dc(this);
wxSize sz = GetClientSize();
- if (wxGetApp().m_emulatorInfo.m_emulatorBackgroundBitmap.Ok())
+ if (wxGetApp().m_emulatorInfo.m_emulatorBackgroundBitmap.IsOk())
{
int deviceWidth = wxGetApp().m_emulatorInfo.m_emulatorDeviceSize.x;
int deviceHeight = wxGetApp().m_emulatorInfo.m_emulatorDeviceSize.y;
if (ext == wxT("pcx"))
return wxBITMAP_TYPE_PCX;
if (ext == wxT("tif") || ext == wxT("tiff"))
- return wxBITMAP_TYPE_TIF;
+ return wxBITMAP_TYPE_TIFF;
return wxBITMAP_TYPE_INVALID;
}