#include "wx/msw/ole/automtn.h"
-#ifndef __WXMSW__
+#ifndef __WINDOWS__
#error "Sorry, this sample works under Windows only."
#endif
// ressources
// ----------------------------------------------------------------------------
// the application icon
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
wxMenu *menuFile = new wxMenu;
menuFile->Append(OleAuto_Test, wxT("&Test Excel Automation..."));
- menuFile->Append(OleAuto_About, wxT("&About..."));
+ menuFile->Append(OleAuto_About, wxT("&About"));
menuFile->AppendSeparator();
menuFile->Append(OleAuto_Quit, wxT("E&xit"));