Fixed warnings in the Windows backend. That just leaves the Mac OS X one...

This commit is contained in:
Pietro Gagliardi 2015-04-16 10:03:31 -04:00
parent a2b7492b32
commit 3ac3d0a871
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA
logLastError("error resizing window content parent in uiWindowWndProc()"); logLastError("error resizing window content parent in uiWindowWndProc()");
return 0; return 0;
case WM_CLOSE: case WM_CLOSE:
if (!(*(w->onClosing))(w, w->onClosingData)) if (!(*(w->onClosing))(uiWindow(w), w->onClosingData))
return 0; return 0;
break; // fall through to DefWindowProcW() break; // fall through to DefWindowProcW()
case WM_DESTROY: case WM_DESTROY: