From 86388debb06966641f409d7c59641356bd3ba99e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 18 Nov 2015 11:43:22 -0500 Subject: [PATCH] Fixed a bug in Haiku's uiWindow. --- haiku/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/haiku/window.cpp b/haiku/window.cpp index 9b22b5ea..6f48611f 100644 --- a/haiku/window.cpp +++ b/haiku/window.cpp @@ -143,6 +143,7 @@ uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar) title, B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS); + w->window->w = w; uiWindowOnClosing(w, defaultOnClosing, NULL);