]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed menu creation in eVC3
authorJulian Smart <julian@anthemion.co.uk>
Fri, 2 Jan 2004 13:49:56 +0000 (13:49 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 2 Jan 2004 13:49:56 +0000 (13:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
     }