Fixed a bug in Haiku's uiWindow.

This commit is contained in:
Pietro Gagliardi 2015-11-18 11:43:22 -05:00
parent 71defd53ce
commit 86388debb0
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar)
title, title,
B_TITLED_WINDOW, B_TITLED_WINDOW,
B_ASYNCHRONOUS_CONTROLS); B_ASYNCHRONOUS_CONTROLS);
w->window->w = w;
uiWindowOnClosing(w, defaultOnClosing, NULL); uiWindowOnClosing(w, defaultOnClosing, NULL);