git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45467
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
frame = new MyFrame(NULL, wxT("wxWidgets OpenGL Isosurf Sample"),
wxDefaultPosition, wxDefaultSize);
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;
// Make a menubar
wxMenu *fileMenu = new wxMenu;
: wxFrame(frame, wxID_ANY, title, pos, size, style)
{
m_canvas = NULL;
: wxFrame(frame, wxID_ANY, title, pos, size, style)
{
m_canvas = NULL;
- SetIcon(wxIcon(sample_xpm));
+ SetIcon(wxICON(sample));