]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/button.cpp
avoid overdrawing, fixes #10865
[wxWidgets.git] / src / osx / carbon / button.cpp
index 955a27382f2ca66d1183778512af84591f601aa4..14ff0c1f5570dfd1e6a3a7a9360f1fa96fc35a94 100644 (file)
@@ -116,8 +116,8 @@ wxWidgetImplType* wxWidgetImpl::CreateButton( wxWindowMac* wxpeer,
                                     const wxString& label,
                                     const wxPoint& pos, 
                                     const wxSize& size,
-                                    long style
-                                    long extraStyle
+                                    long WXUNUSED(style)
+                                    long WXUNUSED(extraStyle)
 {
     OSStatus err;
     Rect bounds = wxMacGetBoundsForControl( wxpeer , pos , size ) ;
@@ -175,12 +175,12 @@ void wxMacControl::SetDefaultButton( bool isDefault )
 
 wxWidgetImplType* wxWidgetImpl::CreateDisclosureTriangle( wxWindowMac* wxpeer, 
                                     wxWindowMac* parent, 
-                                    wxWindowID id
+                                    wxWindowID WXUNUSED(id)
                                     const wxString& label,
                                     const wxPoint& pos, 
                                     const wxSize& size,
-                                    long style
-                                    long extraStyle
+                                    long WXUNUSED(style)
+                                    long WXUNUSED(extraStyle)
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer , pos , size ) ;
     wxMacControl* peer = new wxMacControl(wxpeer) ;