]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/srchctrl.cpp
avoid overdrawing, fixes #10865
[wxWidgets.git] / src / osx / carbon / srchctrl.cpp
index 4d93796aaa84b8ec4e3dfed42073699cd576a8b7..099b462873699743daddf52d195fc9fd42c9adf4 100644 (file)
@@ -66,7 +66,7 @@ static const EventTypeSpec eventList[] =
 // implementation
 // ============================================================================
 
-static pascal OSStatus wxMacSearchControlEventHandler( EventHandlerCallRef handler , EventRef event , void *data )
+static pascal OSStatus wxMacSearchControlEventHandler( EventHandlerCallRef WXUNUSED(handler) , EventRef event , void *data )
 {
     OSStatus result = eventNotHandledErr ;
 
@@ -205,13 +205,13 @@ bool wxMacSearchFieldControl::SetFocus()
 }
 
 wxWidgetImplType* wxWidgetImpl::CreateSearchControl( wxTextCtrl* wxpeer, 
-                                    wxWindowMac* parent
-                                    wxWindowID id
+                                    wxWindowMac* WXUNUSED(parent)
+                                    wxWindowID WXUNUSED(id)
                                     const wxString& str,
                                     const wxPoint& pos, 
                                     const wxSize& size,
                                     long style, 
-                                    long extraStyle)
+                                    long WXUNUSED(extraStyle))
 {
     wxMacControl* peer = new wxMacSearchFieldControl( wxpeer , str , pos , size , style );