X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18f42b94df62068a19258b96ac7f569d4d3ba400..b640fa17f3359e2766232e5dae3922de28236bde:/samples/oleauto/oleauto.cpp diff --git a/samples/oleauto/oleauto.cpp b/samples/oleauto/oleauto.cpp index bf3b5ca1cf..1bd9e97b6b 100644 --- a/samples/oleauto/oleauto.cpp +++ b/samples/oleauto/oleauto.cpp @@ -32,7 +32,7 @@ #include "wx/msw/ole/automtn.h" -#ifndef __WXMSW__ +#ifndef __WINDOWS__ #error "Sorry, this sample works under Windows only." #endif @@ -40,7 +40,7 @@ // ressources // ---------------------------------------------------------------------------- // the application icon -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -156,7 +156,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) 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"));