X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..64d79e161717caa2a32cf3522c8884665f549597:/src/osx/carbon/choice.cpp?ds=inline diff --git a/src/osx/carbon/choice.cpp b/src/osx/carbon/choice.cpp index 00eb309d38..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() + + 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 );