diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index d26710c9f7..e5eb0633d1 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -138,7 +138,7 @@ bool MyApp::OnInit() // frame constructor MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) - : MyFrame(NULL, -1, title, pos, size) + : wxFrame(NULL, -1, title, pos, size) { // set the frame icon SetIcon(wxICON(mondrian));