mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-26 23:05:34 +00:00
merge 06d2fc5
This commit is contained in:
commit
b4f8b8b9af
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user