Put some life into GTK 2.0 drawing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-03-28 23:56:36 +00:00
parent 25dd6997c5
commit 4e5a4c69c5
6 changed files with 188 additions and 196 deletions

View File

@@ -766,6 +766,12 @@ gtk_pizza_expose (GtkWidget *widget,
pizza = GTK_PIZZA (widget);
#ifdef __WXGTK20__
(* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event);
#else
/* Sometimes, We handle all expose events in window.cpp now. */
if (pizza->external_expose)
return FALSE;
@@ -788,6 +794,7 @@ gtk_pizza_expose (GtkWidget *widget,
gtk_widget_event (child->widget, (GdkEvent*) &child_event);
}
}
#endif
return TRUE;
}