diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-12-13 17:11:43 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-12-13 17:11:43 +0100 |
commit | b2c580af0ea20e00e2bc8111c873836c3a4e0c9f (patch) | |
tree | 069a024d7251e461104ce17faf6dc5a710fea6c7 /vcl | |
parent | 706fbdd8ad421098a4acc7c82796c26491f780b4 (diff) |
xlastovi: #i91990# let get windows their delegate messages
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/window/salframe.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index a829855204cf..17e034bd6e3d 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -207,8 +207,7 @@ void AquaSalFrame::initWindowAndView() else [mpWindow setAcceptsMouseMovedEvents: YES]; [mpWindow setHasShadow: YES]; - // compiler warning: class 'NSWindow' does not implement the 'NSWindowDelegate' protocol - // [mpWindow setDelegate: mpWindow]; + [mpWindow setDelegate: mpWindow]; NSRect aRect = { { 0,0 }, { maGeometry.nWidth, maGeometry.nHeight } }; mnTrackingRectTag = [mpView addTrackingRect: aRect owner: mpView userData: nil assumeInside: NO]; |