]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/event/event.cpp
Move menu messages handling from wxFrame to wxTLW in wxMSW.
[wxWidgets.git] / samples / event / event.cpp
index 1ddacb0430f95c1f73a107465a6fdfdcf74fd608..072241989a2600befec260e94c84a5ad9d2253e4 100644 (file)
@@ -30,7 +30,7 @@
     #include "wx/wx.h"
 #endif
 
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -365,7 +365,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     // create a menu bar
     wxMenu *menuFile = new wxMenu;
 
-    menuFile->Append(Event_About, wxT("&About...\tCtrl-A"), wxT("Show about dialog"));
+    menuFile->Append(Event_About, wxT("&About\tCtrl-A"), wxT("Show about dialog"));
     menuFile->AppendSeparator();
     menuFile->Append(Event_Quit, wxT("E&xit\tAlt-X"), wxT("Quit this program"));