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 4679dd51aa
commit 79ef30c877
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()");
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: