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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user