changeset 9142 | 858a058aa730 |
parent 9127 | 14f21c5954ee |
child 9165 | 6f26cc347e7a |
--- a/src/main_gui.cpp Wed May 07 23:00:11 2008 +0000 +++ b/src/main_gui.cpp Thu May 08 11:31:41 2008 +0000 @@ -412,7 +412,7 @@ int width = _screen.width; int height = _screen.height; - Window *w = AllocateWindow(0, 0, width, height, MainWindowWndProc, WC_MAIN_WINDOW, NULL); + Window *w = new Window(0, 0, width, height, MainWindowWndProc, WC_MAIN_WINDOW, NULL); InitializeWindowViewport(w, 0, 0, width, height, TileXY(32, 32), ZOOM_LVL_VIEWPORT); /* XXX: these are not done */