expose handlers are supposed to return a gboolean;

false may be correct, at least it's not random


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-01-21 01:58:53 +00:00
parent 5f28de16f3
commit 6d727f6c10
2 changed files with 6 additions and 4 deletions

View 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;
}
}