]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/choice.mm
correcting #ifdef to #if, fixes #11062
[wxWidgets.git] / src / osx / cocoa / choice.mm
index 197e4d758f7d7fdefb8429ddbd679e8d9b6467d8..78ebecbbb9b015ced2b8651f7505133e188a251a 100644 (file)
 @end
 
 wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, 
-                                    wxWindowMac* parent
-                                    wxWindowID id
+                                    wxWindowMac* WXUNUSED(parent)
+                                    wxWindowID WXUNUSED(id)
                                     wxMenu* menu,
                                     const wxPoint& pos, 
                                     const wxSize& size,
-                                    long style
-                                    long extraStylew)
+                                    long WXUNUSED(style)
+                                    long WXUNUSED(extraStyle))
 {
     NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
     wxNSPopUpButton* v = [[wxNSPopUpButton alloc] initWithFrame:r pullsDown:NO];