]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/statlmac.cpp
fix memory leak in SetColFormat() if the column already had an attribute (closes...
[wxWidgets.git] / src / osx / carbon / statlmac.cpp
index 4f97dba28bd21b4c0f3310376abec18b350f5f04..77af6bb86eb887ec91d80a15a50cc33ed30ed9cb 100644 (file)
 
 wxWidgetImplType* wxWidgetImpl::CreateStaticLine( wxWindowMac* wxpeer, 
                                     wxWindowMac* parent, 
-                                    wxWindowID id
+                                    wxWindowID WXUNUSED(id)
                                     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) ;