X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/294ea16de3359844cb884baad219b40ea04fac48..8898456df4728afe7d100011e0e23b0ffb9a6341:/src/cocoa/menu.mm diff --git a/src/cocoa/menu.mm b/src/cocoa/menu.mm index c39d49cb0b..fc5e4b038c 100644 --- a/src/cocoa/menu.mm +++ b/src/cocoa/menu.mm @@ -128,11 +128,14 @@ bool wxMenuBar::Create(long style) return true; } -wxMenuBar::wxMenuBar(size_t n, wxMenu *menus[], const wxString titles[], long WXUNUSED(style)) +wxMenuBar::wxMenuBar(size_t n, + wxMenu *menus[], + const wxString titles[], + long style) { Create(style); - for(size_t i = 0; i < n; ++i ) + for ( size_t i = 0; i < n; ++i ) Append(menus[i], titles[i]); }