From 5ad83f16913a6060f54e8f43f674401ff0d27609 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 12 Sep 2010 05:20:56 +0000 Subject: [PATCH] - bugfix for map editor crashing in Linux on startup --- source/glest_map_editor/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_map_editor/main.cpp b/source/glest_map_editor/main.cpp index aa889b78..b9c2a5c6 100755 --- a/source/glest_map_editor/main.cpp +++ b/source/glest_map_editor/main.cpp @@ -42,7 +42,7 @@ wxString ToUnicode(const string& str) { // =============================================== MainWindow::MainWindow() - : wxFrame(NULL, -1, ToUnicode(winHeader), wxDefaultPosition, wxSize(1024, 768)) + : wxFrame(NULL, -1, ToUnicode(winHeader), wxPoint(0,0), wxSize(1024, 768)) , lastX(0), lastY(0) , currentBrush(btHeight) , height(0)