From adb339078ed1d14a1abd15e672ab43fa1b73c80c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 9 Feb 2015 00:25:51 +0000 Subject: [PATCH] Add an accessor for GtkToolbar widget of wxToolBar. This can be used to customize the toolbar beyond the capabilities of wx API. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/toolbar.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/gtk/toolbar.h b/include/wx/gtk/toolbar.h index 971da5e9d9..251d3abda1 100644 --- a/include/wx/gtk/toolbar.h +++ b/include/wx/gtk/toolbar.h @@ -69,6 +69,8 @@ public: // implementation from now on // -------------------------- + GtkToolbar* GTKGetToolbar() const { return m_toolbar; } + protected: // choose the default border for this window virtual wxBorder GetDefaultBorder() const wxOVERRIDE { return wxBORDER_DEFAULT; }