Fixed a bug in Haiku's uiWindow.
This commit is contained in:
parent
71defd53ce
commit
86388debb0
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue