X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cce89407079e4a25bffdf466777af89f943f5b2..af1d24da230cc1ca3b2c2bfbf10d13887e73183f:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index d3fc1c023d..17175ec63d 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -76,6 +76,10 @@ #endif #endif +#ifdef __WXGTK20__ +extern GtkContainerClass *pizza_parent_class; +#endif + //----------------------------------------------------------------------------- // documentation on internals //----------------------------------------------------------------------------- @@ -480,6 +484,11 @@ gint gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *gdk_even draw_frame( widget, win ); +#ifdef __WXGTK20__ + + (* GTK_WIDGET_CLASS (pizza_parent_class)->expose_event) (widget, gdk_event); + +#endif return TRUE; } @@ -769,10 +778,6 @@ static void gtk_window_size_request_callback( GtkWidget *widget, GtkRequisition // "expose_event" of m_wxwindow //----------------------------------------------------------------------------- -#ifdef __WXGTK20__ -extern GtkContainerClass *pizza_parent_class; -#endif - static int gtk_window_expose_callback( GtkWidget *widget, GdkEventExpose *gdk_event, wxWindow *win )