- bugfix for map editor crashing in Linux on startup

This commit is contained in:
Mark Vejvoda 2010-09-12 05:20:56 +00:00
parent c295697aba
commit 5ad83f1691
1 changed files with 1 additions and 1 deletions

View File

@ -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)