]> git.saurik.com Git - wxWidgets.git/commitdiff
Return toolbars "own" GdkWindow, required among
authorRobert Roebling <robert@roebling.de>
Fri, 6 Oct 2006 21:49:10 +0000 (21:49 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 6 Oct 2006 21:49:10 +0000 (21:49 +0000)
    others for mouse event reporting.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/tbargtk.h
src/gtk/tbargtk.cpp

index cc064460cdc62f57abaf072543bc260ec3988357..28fc7ee00bd8643d94964c45f1c5971de70a0c5d 100644 (file)
@@ -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);
index cd573461e5e620b10fe57027042c5089d678e8c9..a673c58cfeb002745e5e8790486b5ee0ec5a77bb 100644 (file)
@@ -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;