]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menu.cpp
fix for rather mysterious problem when deleting the list ctrl
[wxWidgets.git] / src / motif / menu.cpp
index 964bc73ac8988b2b6ccf102941b1c4519458c34d..05c09120079726625978e9d9bcc3395771b616e1 100644 (file)
@@ -22,6 +22,8 @@
 // headers
 // ----------------------------------------------------------------------------
 
+#include "wx/defs.h"
+
 #include "wx/menu.h"
 #include "wx/menuitem.h"
 #include "wx/log.h"
@@ -284,7 +286,7 @@ bool wxMenuBar::Append(wxMenu * menu, const wxString& title)
         menu->SetButtonWidget(w);
     }
 
-    menu->SetMenuBar(this);
+    //menu->SetMenuBar(this);
 
     m_titles.Add(title);