]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing two warnings
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 9 Jun 2011 01:25:27 +0000 (01:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 9 Jun 2011 01:25:27 +0000 (01:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/srchctrl.mm

index e665167688ed04deecc7c221eb190d7b9159e91e..567789a2e988fc4a4483d50691e8c05987826d3b 100644 (file)
@@ -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