diff options
-rw-r--r-- | vcl/aqua/source/window/salframe.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index a80ff4e521ca..b427e2e20165 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -222,6 +222,10 @@ void AquaSalFrame::initWindowAndView() // do this: objc_msgSend(mpWindow, @selector(setDelegate:), mpWindow); + if( [mpWindow respondsToSelector: @selector(setRestorable:)]) + { + objc_msgSend(mpWindow, @selector(setRestorable:), NO); + } NSRect aRect = { { 0,0 }, { maGeometry.nWidth, maGeometry.nHeight } }; mnTrackingRectTag = [mpView addTrackingRect: aRect owner: mpView userData: nil assumeInside: NO]; |