]> git.saurik.com Git - wxWidgets.git/commitdiff
another compilation fix after wxMenuBar ctor patch
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Mar 2005 11:29:40 +0000 (11:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Mar 2005 11:29:40 +0000 (11:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/menu.mm

index c39d49cb0b0cc38273659a7faed0351926cfab38..fc5e4b038cfad1667e76852743ee82ac1c58e9fa 100644 (file)
@@ -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]);
 }