Return toolbars "own" GdkWindow, required among
others for mouse event reporting. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,6 +71,8 @@ protected:
|
||||
// set the GTK toolbar style and orientation
|
||||
void GtkSetStyle();
|
||||
|
||||
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual bool DoInsertTool(size_t pos, wxToolBarToolBase *tool);
|
||||
virtual bool DoDeleteTool(size_t pos, wxToolBarToolBase *tool);
|
||||
|
@@ -331,6 +331,11 @@ bool wxToolBar::Create( wxWindow *parent,
|
||||
return true;
|
||||
}
|
||||
|
||||
GdkWindow *wxToolBar::GTKGetWindow(wxArrayGdkWindows& windows) const
|
||||
{
|
||||
return GTK_WIDGET(m_toolbar)->window;
|
||||
}
|
||||
|
||||
void wxToolBar::GtkSetStyle()
|
||||
{
|
||||
GtkOrientation orient;
|
||||
|
Reference in New Issue
Block a user