]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/fractal/fractal.cpp
condensed 2 very similar trace messages into one
[wxWidgets.git] / demos / fractal / fractal.cpp
index 51df2ed7c2974c95d75c63841ab8cd35fe792ed3..5f73ce6ace2bba7397e8f09078ae91c08674ce69 100644 (file)
@@ -43,6 +43,7 @@ hack doesn't fix.
 #endif //precompiled headers
 
 #include "wx/math.h"
+#include "wx/stockitem.h"
 
 #include <stdlib.h>
 #include <time.h>
@@ -101,7 +102,7 @@ bool MyApp::OnInit()
 
   // Make a menubar
   wxMenu *file_menu = new wxMenu;
-  file_menu->Append(wxID_EXIT, _T("E&xit"));
+  file_menu->Append(wxID_EXIT, wxGetStockLabel(wxID_EXIT));
   menuBar = new wxMenuBar;
   menuBar->Append(file_menu, _T("&File"));
   frame->SetMenuBar(menuBar);