X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4fec5b41e2109e2c4822d3015aa0e442754bfbb..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/osx/carbon/choice.cpp?ds=inline 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 );