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;
: wxFrame(frame, wxID_ANY, title, pos, size, style)
{
m_canvas = NULL;
- SetIcon(wxIcon(sample_xpm));
+ SetIcon(wxICON(sample));
}
MyFrame::~MyFrame()