]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
suppress warnings about implicit float -> int conversions
[wxWidgets.git] / src / msw / frame.cpp
index 75a1b4e4ef27926235374e3c89633aa3f76f9ddb..c2412f91550ea7b019797e09eadf6e51516189de 100644 (file)
@@ -326,7 +326,7 @@ void wxFrame::AttachMenuBar(wxMenuBar *menubar)
         wxToolBar* toolBar = new wxToolBar(this, -1,
                          wxDefaultPosition, wxDefaultSize,
                          wxBORDER_NONE | wxTB_HORIZONTAL,
-                         wxToolBarNameStr, GetMenuBar());
+                         wxToolBarNameStr, menubar);
         SetToolBar(toolBar);
         menubar->SetToolBar(toolBar);
     }