fixing two warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-06-09 01:25:27 +00:00
parent e5062a3130
commit b58dca4c0f

View File

@@ -49,7 +49,7 @@
- (id)initWithFrame:(NSRect)frame - (id)initWithFrame:(NSRect)frame
{ {
[super initWithFrame:frame]; self = [super initWithFrame:frame];
return self; return self;
} }
@@ -70,7 +70,7 @@
partialString = [[textView string] substringWithRange:charRange]; partialString = [[textView string] substringWithRange:charRange];
matches = [NSMutableArray array]; matches = [NSMutableArray array];
wxTextWidgetImpl* impl = (wxTextWidgetImpl* ) wxWidgetImpl::FindFromWXWidget( self ); // wxTextWidgetImpl* impl = (wxTextWidgetImpl* ) wxWidgetImpl::FindFromWXWidget( self );
wxArrayString completions; wxArrayString completions;
// adapt to whatever strategy we have for getting the strings // adapt to whatever strategy we have for getting the strings