X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaf37267a8d038f61f06c4a12d16bf3df38fc3be..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/osx/carbon/choice.cpp?ds=sidebyside diff --git a/src/osx/carbon/choice.cpp b/src/osx/carbon/choice.cpp index 182d21f3e1..4bacff29a7 100644 --- a/src/osx/carbon/choice.cpp +++ b/src/osx/carbon/choice.cpp @@ -30,26 +30,26 @@ public : wxMacChoiceCarbonControl( wxWindowMac* peer ) : wxMacControl( peer ) { } - + void SetValue(wxInt32 v) { wxMacControl::SetValue( v + 1 ); } - + wxInt32 GetValue() const { return wxMacControl::GetValue() - 1; } }; -wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, - wxWindowMac* parent, - wxWindowID id, +wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, + wxWindowMac* parent, + wxWindowID WXUNUSED(id), wxMenu* menu, - const wxPoint& pos, + const wxPoint& pos, const wxSize& size, - long style, - long extraStylew) + long WXUNUSED(style), + long WXUNUSED(extraStyle)) { Rect bounds = wxMacGetBoundsForControl( wxpeer , pos , size );