merge 06d2fc5

This commit is contained in:
Christopher Lloyd 2015-03-26 22:07:45 -04:00
commit b4f8b8b9af

View File

@ -1326,13 +1326,14 @@ static int reportGLErrorIfNeeded(const char *function,int line){
}
-(int)WM_CLOSE_wParam:(WPARAM)wParam lParam:(LPARAM)lParam {
#if WM_MSG_DEBUGGING
NSLog(@"WM_CLOSE_wParam: %d, lParam: %ld", wParam, lParam);
#endif
if(_styleMask&NSClosableWindowMask)
[_delegate platformWindowWillClose:self];
if(_styleMask&NSClosableWindowMask) {
[_delegate platformWindowWillClose:self];
}
return 0;
}