summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-12-13 17:11:43 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-12-13 17:11:43 +0100
commitb2c580af0ea20e00e2bc8111c873836c3a4e0c9f (patch)
tree069a024d7251e461104ce17faf6dc5a710fea6c7 /vcl
parent706fbdd8ad421098a4acc7c82796c26491f780b4 (diff)
xlastovi: #i91990# let get windows their delegate messages
Diffstat (limited to 'vcl')
-rw-r--r--vcl/aqua/source/window/salframe.cxx3
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];