- updates for application icons

This commit is contained in:
Mark Vejvoda
2010-06-25 22:54:00 +00:00
parent 15ee2da57f
commit 0d5cfdda03
3 changed files with 20 additions and 6 deletions

View File

@@ -115,11 +115,18 @@ MainWindow::MainWindow(const string &modelPath)
CreateStatusBar();
//std::cout << "A" << std::endl;
wxInitAllImageHandlers();
#ifdef WIN32
wxInitAllImageHandlers();
//std::cout << "B" << std::endl;
wxIcon icon("IDI_ICON1");
SetIcon(icon);
#else
//std::cout << "B" << std::endl;
wxIcon icon;
icon.LoadFile(wxT("g3dviewer.ico"),wxBITMAP_TYPE_ICO);
#endif
//std::cout << "C" << std::endl;
SetIcon(icon);
timer = new wxTimer(this);
timer->Start(100);