summaryrefslogtreecommitdiff
path: root/vcl/aqua/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-23 18:12:36 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-24 12:22:25 +0300
commit2c0731adc872a3ab73de929afcb5ee9c13417ca1 (patch)
tree3610fb29efccc2f17193c22f68b060e83d96a0f2 /vcl/aqua/source
parent8376b5e0000e8318e108e9eeab82b7acb2cd586d (diff)
WaE: incompatible pointer types
Diffstat (limited to 'vcl/aqua/source')
-rw-r--r--vcl/aqua/source/window/salframeview.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index 3a97372e30ab..86e3dc4d8549 100644
--- a/vcl/aqua/source/window/salframeview.mm
+++ b/vcl/aqua/source/window/salframeview.mm
@@ -157,7 +157,7 @@ static AquaSalFrame* getMouseContainerFrame()
pFrame->VCLToCocoa( aRect );
NSWindow* pNSWindow = [super initWithContentRect: aRect styleMask: mpFrame->getStyleMask() backing: NSBackingStoreBuffered defer: NO ];
[pNSWindow useOptimizedDrawing: YES]; // OSX recommendation when there are no overlapping subviews within the receiver
- return pNSWindow;
+ return (SalFrameWindow *) pNSWindow;
}
-(AquaSalFrame*)getSalFrame