diff options
author | Herbert Dürr <hdu@apache.org> | 2014-01-23 16:56:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 11:05:46 +0000 |
commit | e4653eee7680831e6d0995d51d80fb63309c03ab (patch) | |
tree | 078ef816c2fa12397403361263e87239dbf308d3 /vcl/osx/vclnsapp.mm | |
parent | 4b0d7b61ba828785064133e40f960a464c1c147a (diff) |
Related: #i123895# adjust VCL support for 64bit OSX port
(cherry picked from commit 677d987b931c509c4240840c4f21ccad2b518b12)
Conflicts:
vcl/aqua/source/a11y/aqua11ywrapperrow.mm
vcl/inc/aqua/aquavcltypes.h
vcl/inc/quartz/salgdi.h
vcl/osx/DropTarget.cxx
vcl/osx/salframe.cxx
vcl/osx/salinst.cxx
vcl/osx/salmenu.cxx
vcl/osx/vclnsapp.mm
Change-Id: I30d72e7caa1269982d176bc4d3baf604d5e7a84b
Diffstat (limited to 'vcl/osx/vclnsapp.mm')
-rw-r--r-- | vcl/osx/vclnsapp.mm | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm index 18079fb1ca9b..0c0fe698a3cc 100644 --- a/vcl/osx/vclnsapp.mm +++ b/vcl/osx/vclnsapp.mm @@ -82,19 +82,7 @@ if( nModMask == NSCommandKeyMask && [[pEvent charactersIgnoringModifiers] isEqualToString: @"w"] ) { - // Note: gcc 4.2.1 (in the 10.6 SDK) tells us - // 'NSWindow' may not respond to - // '-windowShouldClose:' . Is that a bogus - // warning, or is this code bogus? No idea. - // Anyway, so that we can compile also against - // this SDK with -Werror, use objc_msgSend - // instead. - - // Instead of: - // [pFrame->getNSWindow() windowShouldClose: nil]; - // do: - objc_msgSend(pFrame->getNSWindow(), @selector(windowShouldClose:), nil); - + [(SalFrameWindow*)pFrame->getNSWindow() windowShouldClose: nil]; return; } } |