X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe0d7697ca6d9bd2f8d3dbb642ef7a0e3527be21..c6ebc32af0bd65527ab148d512dfdd67f3fcbd0a:/samples/minimal/minimal.cpp diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index d26710c9f7..5ba383e3c3 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -35,7 +35,7 @@ // ---------------------------------------------------------------------------- // the application icon (under Windows and OS/2 it is in resources) -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) +#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) || defined(__WXX11__) #include "mondrian.xpm" #endif @@ -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));