fix assert at startup on non-MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-02-13 04:39:59 +00:00
parent af5f42f506
commit 5dc5366512

View File

@@ -49,7 +49,9 @@
#include "isosurf.h"
#if !defined(__WXMSW__) && !defined(__WXPM__)
#include "../../sample.xpm"
#endif
// The following part is taken largely unchanged from the original C Version
@@ -253,7 +255,7 @@ bool MyApp::OnInit()
wxDefaultPosition, wxDefaultSize);
// Give it an icon
frame->SetIcon(wxIcon(_T("mondrian")));
frame->SetIcon(wxICON(sample));
// Make a menubar
wxMenu *fileMenu = new wxMenu;