X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..d5cc191c9cd48a915ce0dfc6e49511b2fddb6746:/utils/emulator/src/emulator.cpp diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index e7f1545b17..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")); @@ -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; }