diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index 4dcb4bf9df..93536a6b4d 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -159,9 +159,6 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) // ... and attach this menu bar to the frame SetMenuBar(menuBar); - (void)new wxTextCtrl(this, -1, "Hi!", wxPoint(20, 20), - wxSize(100, 30)); - #if wxUSE_STATUSBAR // create a status bar just for fun (by default with 1 pane only) CreateStatusBar(2);