X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43b5ebf2a56c593091b0a3250166db5bb53f3fca..c5453c7956e115a1e7290f01cbbd730a5d8f3448:/utils/emulator/src/emulator.cpp diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index 09cc8b6d07..41ef3eec8f 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -48,7 +48,7 @@ // ---------------------------------------------------------------------------- // 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 @@ -274,7 +274,7 @@ wxEmulatorFrame::wxEmulatorFrame(const wxString& title, // 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")); @@ -372,7 +372,7 @@ void wxEmulatorContainer::OnPaint(wxPaintEvent& WXUNUSED(event)) 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; @@ -534,7 +534,7 @@ wxBitmapType wxDetermineImageType(const wxString& filename) 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; }