X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d2ac6b8c652a4aac703ba03f143820e978b33d4..1ec4e9c2b72a01a7ba7da569e0f8d04a81aaba10:/demos/fractal/fractal.cpp diff --git a/demos/fractal/fractal.cpp b/demos/fractal/fractal.cpp index 5f73ce6ace..c03f98d001 100644 --- a/demos/fractal/fractal.cpp +++ b/demos/fractal/fractal.cpp @@ -27,11 +27,6 @@ doesn't seem to be an equivalent of under wxWidgets, and my quick hack doesn't fix. */ -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -98,13 +93,13 @@ DECLARE_EVENT_TABLE() bool MyApp::OnInit() { // Create the main frame window - MyFrame *frame = new MyFrame(NULL, _T("Fractal Mountains for wxWidgets"), wxDefaultPosition, wxSize(640, 480)); + MyFrame *frame = new MyFrame(NULL, wxT("Fractal Mountains for wxWidgets"), wxDefaultPosition, wxSize(640, 480)); // Make a menubar wxMenu *file_menu = new wxMenu; file_menu->Append(wxID_EXIT, wxGetStockLabel(wxID_EXIT)); menuBar = new wxMenuBar; - menuBar->Append(file_menu, _T("&File")); + menuBar->Append(file_menu, wxT("&File")); frame->SetMenuBar(menuBar); int width, height;