X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45e6e6f8ab806b337dffeb3b52fec7eba3c845ef..59678f3fae7d537003fe1dbd0d0049694ec946c1:/samples/opengl/isosurf/isosurf.cpp diff --git a/samples/opengl/isosurf/isosurf.cpp b/samples/opengl/isosurf/isosurf.cpp index f602caeeb4..00ab92808d 100644 --- a/samples/opengl/isosurf/isosurf.cpp +++ b/samples/opengl/isosurf/isosurf.cpp @@ -255,9 +255,6 @@ bool MyApp::OnInit() frame = new MyFrame(NULL, wxT("wxWidgets OpenGL Isosurf Sample"), wxDefaultPosition, wxDefaultSize); - // Give it an icon - frame->SetIcon(wxIcon(_T("mondrian"))); - // Make a menubar wxMenu *fileMenu = new wxMenu; @@ -315,7 +312,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, : wxFrame(frame, wxID_ANY, title, pos, size, style) { m_canvas = NULL; - SetIcon(wxIcon(sample_xpm)); + SetIcon(wxICON(sample)); } MyFrame::~MyFrame()