From 32c5be84b85184321877a7f3f55b980d3d0f32d8 Mon Sep 17 00:00:00 2001 From: Mazyad Alabduljaleel Date: Fri, 17 Jul 2015 17:15:41 +0300 Subject: [PATCH] weird, how did this slip --- cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm b/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm index 9a4c4617cf..fc5059ec64 100644 --- a/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm +++ b/cocos/ui/UIEditBox/UIEditBoxImpl-mac.mm @@ -198,7 +198,7 @@ - (void)openKeyboard { - NSView *contentView = [self getNSWindow].contentView; + NSView *contentView = self.window.contentView; if (!_secure) { [contentView addSubview:_textField];