mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +02:00
- bugfixes for compiling on older wxwidgets
This commit is contained in:
@@ -347,7 +347,7 @@ MainWindow::MainWindow( std::pair<string,vector<string> > unitToLoad,
|
|||||||
endPathWithSlash(userData);
|
endPathWithSlash(userData);
|
||||||
}
|
}
|
||||||
string defaultPath = userData + "techs/";
|
string defaultPath = userData + "techs/";
|
||||||
fileDialog->SetDirectory(wxString(defaultPath.c_str()));
|
fileDialog->SetDirectory(ToUnicode(defaultPath.c_str()));
|
||||||
|
|
||||||
|
|
||||||
glCanvas->SetFocus();
|
glCanvas->SetFocus();
|
||||||
|
Reference in New Issue
Block a user