]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/checkbox.mm
wxSplitterWindow mouse capture improvements and cleanup.
[wxWidgets.git] / src / osx / cocoa / checkbox.mm
index 8e79189ed1eef16421a4a733b0553bfad09dbe80..2f706c51c107e398195812eff427ecb8d5ac616a 100644 (file)
 #include "wx/osx/private.h"
 
 wxWidgetImplType* wxWidgetImpl::CreateCheckBox( wxWindowMac* wxpeer, 
-                                    wxWindowMac* parent
-                                    wxWindowID id
-                                    const wxString& label,
+                                    wxWindowMac* WXUNUSED(parent)
+                                    wxWindowID WXUNUSED(id)
+                                    const wxString& WXUNUSED(label),
                                     const wxPoint& pos, 
                                     const wxSize& size,
                                     long style, 
-                                    long extraStyle
+                                    long WXUNUSED(extraStyle)
 {
     NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
     wxNSButton* v = [[wxNSButton alloc] initWithFrame:r];
@@ -33,7 +33,6 @@ wxWidgetImplType* wxWidgetImpl::CreateCheckBox( wxWindowMac* wxpeer,
         [v setAllowsMixedState:YES];
         
     wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
-    [v setImplementation:c];
     return c;
 }