bool MyApp::OnInit()
{
// Create the main frame window
- MyFrame *frame = new MyFrame(NULL, "Fractal Mountains for wxWindows", wxPoint(-1, -1), wxSize(640, 480));
+ MyFrame *frame = new MyFrame(NULL, _T("Fractal Mountains for wxWindows"), wxPoint(-1, -1), wxSize(640, 480));
// Make a menubar
wxMenu *file_menu = new wxMenu;
- file_menu->Append(wxID_EXIT, "E&xit");
+ file_menu->Append(wxID_EXIT, _T("E&xit"));
menuBar = new wxMenuBar;
- menuBar->Append(file_menu, "&File");
+ menuBar->Append(file_menu, _T("&File"));
frame->SetMenuBar(menuBar);
int width, height;