X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..c37dd6dad7f53b8f5f4c4a8d6434c2851cd2b9e4:/src/osx/carbon/choice.cpp?ds=sidebyside diff --git a/src/osx/carbon/choice.cpp b/src/osx/carbon/choice.cpp index 00eb309d38..1985f81205 100644 --- a/src/osx/carbon/choice.cpp +++ b/src/osx/carbon/choice.cpp @@ -36,7 +36,7 @@ public : wxMacControl::SetValue( v + 1 ); } - wxInt32 GetValue() + wxInt32 GetValue() const { return wxMacControl::GetValue() - 1; } @@ -44,12 +44,12 @@ public : wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, wxWindowMac* parent, - wxWindowID id, + wxWindowID WXUNUSED(id), wxMenu* menu, const wxPoint& pos, const wxSize& size, - long style, - long extraStylew) + long WXUNUSED(style), + long WXUNUSED(extraStyle)) { Rect bounds = wxMacGetBoundsForControl( wxpeer , pos , size );