mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
- modified icons to properly work with windows (bothh ico files and vc++ projeect files etc)
This commit is contained in:
@@ -115,6 +115,12 @@ MainWindow::MainWindow(const string &modelPath)
|
||||
|
||||
CreateStatusBar();
|
||||
|
||||
#ifdef WIN32
|
||||
wxInitAllImageHandlers();
|
||||
wxIcon icon("IDI_ICON1");
|
||||
SetIcon(icon);
|
||||
#endif
|
||||
|
||||
timer = new wxTimer(this);
|
||||
timer->Start(100);
|
||||
|
||||
@@ -126,6 +132,7 @@ MainWindow::~MainWindow(){
|
||||
delete model;
|
||||
delete timer;
|
||||
delete glCanvas;
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::init(){
|
||||
|
Reference in New Issue
Block a user