]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
disable select root menu command when the root is hidden
[wxWidgets.git] / src / gtk / glcanvas.cpp
index a373cb8bdf6061c86dfa7148ebdd860b7815e482..7ac91509dc08cf8d29dacd0e8f2e20a52e547935 100644 (file)
@@ -166,7 +166,7 @@ gtk_glwindow_map_callback( GtkWidget * WXUNUSED(widget), wxGLCanvas *win )
 //-----------------------------------------------------------------------------
 
 extern "C" {
-static void
+static gboolean
 gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_event, wxGLCanvas *win )
 {
     // don't need to install idle handler, its done from "event" signal
@@ -177,6 +177,7 @@ gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_e
                                   gdk_event->area.y,
                                   gdk_event->area.width,
                                   gdk_event->area.height );
+    return false;
 }
 }