X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4fec5b41e2109e2c4822d3015aa0e442754bfbb..c9ed413ab4f5673ffff00198dc6ce1397398bda4:/src/osx/carbon/choice.cpp diff --git a/src/osx/carbon/choice.cpp b/src/osx/carbon/choice.cpp index 1985f81205..4bacff29a7 100644 --- a/src/osx/carbon/choice.cpp +++ b/src/osx/carbon/choice.cpp @@ -30,25 +30,25 @@ 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 WXUNUSED(id), +wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, + wxWindowMac* parent, + wxWindowID WXUNUSED(id), wxMenu* menu, - const wxPoint& pos, + const wxPoint& pos, const wxSize& size, - long WXUNUSED(style), + long WXUNUSED(style), long WXUNUSED(extraStyle)) { Rect bounds = wxMacGetBoundsForControl( wxpeer , pos , size );