- bugfix for map editor crashing in Linux on startup
This commit is contained in:
parent
c295697aba
commit
5ad83f1691
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue