X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b713f8919c649822292f04bb7095291585d96550..9bb50fd0b04c824fc7ba14c0dc4ba4a2a9a1e6ad:/demos/fractal/fractal.cpp diff --git a/demos/fractal/fractal.cpp b/demos/fractal/fractal.cpp index 51df2ed7c2..5f73ce6ace 100644 --- a/demos/fractal/fractal.cpp +++ b/demos/fractal/fractal.cpp @@ -43,6 +43,7 @@ hack doesn't fix. #endif //precompiled headers #include "wx/math.h" +#include "wx/stockitem.h" #include #include @@ -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);