X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00ba1af984e6771a2cfd3da8c292e7031c21d242..0afeb753e0a6a3fdba290bf3612bb2f012d44d95:/src/osx/cocoa/srchctrl.mm?ds=sidebyside diff --git a/src/osx/cocoa/srchctrl.mm b/src/osx/cocoa/srchctrl.mm index e665167688..567789a2e9 100644 --- a/src/osx/cocoa/srchctrl.mm +++ b/src/osx/cocoa/srchctrl.mm @@ -49,7 +49,7 @@ - (id)initWithFrame:(NSRect)frame { - [super initWithFrame:frame]; + self = [super initWithFrame:frame]; return self; } @@ -70,7 +70,7 @@ partialString = [[textView string] substringWithRange:charRange]; matches = [NSMutableArray array]; - wxTextWidgetImpl* impl = (wxTextWidgetImpl* ) wxWidgetImpl::FindFromWXWidget( self ); + // wxTextWidgetImpl* impl = (wxTextWidgetImpl* ) wxWidgetImpl::FindFromWXWidget( self ); wxArrayString completions; // adapt to whatever strategy we have for getting the strings