]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/menu.h
Upport scrolling changes and mouse wheel changes.
[wxWidgets.git] / include / wx / gtk / menu.h
index cc00c2fd7cb2f461bad578adc4d97a3a70ccf4d8..ba4c245a9d8c1480f284bf0a45a72a9d88492b6a 100644 (file)
@@ -40,6 +40,10 @@ public:
     void SetLayoutDirection(wxLayoutDirection dir);
     wxLayoutDirection GetLayoutDirection() const;
 
+    // wxMenuBar is not a top level window but it still doesn't need a parent
+    // window
+    virtual bool GTKNeedsParent() const { return false; }
+
     void Attach(wxFrame *frame);
 
     // implementation only from now on