summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx4
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 8a3046ca1497..236cf29c29de 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -68,6 +68,8 @@ class GtkDnDTransferable;
typedef void GDBusConnection;
#endif
+class GtkSalMenu;
+
class GtkSalFrame : public SalFrame
, public NativeWindowHandleProvider
{
@@ -220,7 +222,7 @@ class GtkSalFrame : public SalFrame
bool m_bSetFocusOnMap;
#endif
- SalMenu* m_pSalMenu;
+ GtkSalMenu* m_pSalMenu;
#if ENABLE_DBUS && ENABLE_GIO
private:
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index 3446c774c1df..b9ac55570f0d 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -125,6 +125,8 @@ public:
GtkSalMenu* GetTopLevel();
void SetNeedsUpdate();
+ GtkWidget* GetMenuBarContainerWidget() const { return mpMenuBarContainerWidget; }
+
void CreateMenuBarWidget();
void DestroyMenuBarWidget();
gboolean SignalKey(GdkEventKey const * pEvent);