From: Paul Cornett Date: Sat, 14 Apr 2007 17:39:48 +0000 (+0000) Subject: fix assert on gtk X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/76a93e31dd927351ad8a7c16994b15667e39146e fix assert on gtk git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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()