]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/bombs/bombs.cpp
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[wxWidgets.git] / demos / bombs / bombs.cpp
index f08dbe9ba9bd5d51a7fc253eeeb38b3d7c75af57..53de513670ace9215525212e48818f8886f7c1d8 100644 (file)
@@ -23,6 +23,8 @@
 #   include "wx/wx.h"
 #endif //precompiled headers
 
 #   include "wx/wx.h"
 #endif //precompiled headers
 
+#include "wx/stockitem.h"
+
 #include "bombs.h"
 
 #include <stdlib.h>
 #include "bombs.h"
 
 #include <stdlib.h>
@@ -90,7 +92,7 @@ BombsFrame::BombsFrame(BombsGame *game)
         menuLevel, wxT("Starts a new game"));
 
     menuFile->AppendSeparator();
         menuLevel, wxT("Starts a new game"));
 
     menuFile->AppendSeparator();
-    menuFile->Append(wxID_EXIT, wxT("E&xit"), wxT("Quits the application"));
+    menuFile->Append(wxID_EXIT, wxGetStockLabel(wxID_EXIT), wxT("Quits the application"));
 
     menuBar->Append(menuFile, wxT("&File"));
 
 
     menuBar->Append(menuFile, wxT("&File"));