]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/menu.mm
check default library directories in WX_PATH_FIND_LIBRARIES; do *not* add default...
[wxWidgets.git] / 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]);
 }