fixing warnings in osx cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-03-23 15:26:33 +00:00
parent de0d209531
commit d8207702d1
23 changed files with 134 additions and 138 deletions

View File

@@ -166,13 +166,13 @@ wxSize wxButton::GetDefaultSize()
wxWidgetImplType* wxWidgetImpl::CreateButton( wxWindowMac* wxpeer,
wxWindowMac* parent,
wxWindowMac* WXUNUSED(parent),
wxWindowID id,
const wxString& label,
const wxString& WXUNUSED(label),
const wxPoint& pos,
const wxSize& size,
long style,
long extraStyle)
long WXUNUSED(style),
long WXUNUSED(extraStyle))
{
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
wxNSButton* v = [[wxNSButton alloc] initWithFrame:r];
@@ -253,13 +253,13 @@ void wxWidgetCocoaImpl::PerformClick()
}
wxWidgetImplType* wxWidgetImpl::CreateDisclosureTriangle( wxWindowMac* wxpeer,
wxWindowMac* parent,
wxWindowID id,
wxWindowMac* WXUNUSED(parent),
wxWindowID WXUNUSED(id),
const wxString& label,
const wxPoint& pos,
const wxSize& size,
long style,
long extraStyle)
long WXUNUSED(style),
long WXUNUSED(extraStyle))
{
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
wxNSButton* v = [[wxNSButton alloc] initWithFrame:r];