]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tbargtk.cpp
don't include missing.h before windows headers
[wxWidgets.git] / src / gtk / tbargtk.cpp
index 2bb36714e9955ef0ca13a1be90831c19d04d7e98..a673c58cfeb002745e5e8790486b5ee0ec5a77bb 100644 (file)
@@ -204,7 +204,7 @@ static gint gtk_toolbar_tool_callback( GtkWidget *WXUNUSED(widget),
                                        GdkEventCrossing *gdk_event,
                                        wxToolBarTool *tool )
 {
-    if (g_isIdle) wxapp_install_idle_handler();
+    // don't need to install idle handler, its done from "event" signal
 
     if (g_blockEventsOnDrag) return TRUE;
 
@@ -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;