From 79ef30c8775cb05446046bd63af25a18df1d3238 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Apr 2015 10:03:31 -0400 Subject: [PATCH] Fixed warnings in the Windows backend. That just leaves the Mac OS X one... --- new/windows/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new/windows/window.c b/new/windows/window.c index 81fd8ca..e9360eb 100644 --- a/new/windows/window.c +++ b/new/windows/window.c @@ -41,7 +41,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA logLastError("error resizing window content parent in uiWindowWndProc()"); return 0; case WM_CLOSE: - if (!(*(w->onClosing))(w, w->onClosingData)) + if (!(*(w->onClosing))(uiWindow(w), w->onClosingData)) return 0; break; // fall through to DefWindowProcW() case WM_DESTROY: