X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b88201ff5f0f9ed18db555b70eb7123c8a7c9c6..40e5ebbf98728d627e4d3c9e3a57f28f5bb8fcb9:/include/wx/gtk/menu.h diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index cc00c2fd7c..ba4c245a9d 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -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