From 40ca8a778748bf0e19dfcd7ce54f846f6c76b683 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 21 Oct 2013 09:13:29 +0100 Subject: [PATCH] Tweaked an OSX obj-C window event signature. --- modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm index ebda571bd2..1278517976 100644 --- a/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm @@ -1686,7 +1686,7 @@ struct JuceNSWindowClass : public ObjCClass addMethod (@selector (canBecomeKeyWindow), canBecomeKeyWindow, "c@:"); addMethod (@selector (becomeKeyWindow), becomeKeyWindow, "v@:"); addMethod (@selector (windowShouldClose:), windowShouldClose, "c@:@"); - addMethod (@selector (constrainFrameRect:toScreen:), constrainFrameRect, @encode (NSRect), "@:", @encode (NSRect*), "@"); + addMethod (@selector (constrainFrameRect:toScreen:), constrainFrameRect, @encode (NSRect), "@:", @encode (NSRect), "@"); addMethod (@selector (windowWillResize:toSize:), windowWillResize, @encode (NSSize), "@:@", @encode (NSSize)); addMethod (@selector (zoom:), zoom, "v@:@"); addMethod (@selector (windowWillMove:), windowWillMove, "v@:@");