calling GtkPizza base class method on non-GtkPizza widget doesn't seem like such a good idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ebd90cced0
commit
3208e55e12
@ -404,13 +404,9 @@ gtk_window_own_expose_callback( GtkWidget *widget,
|
||||
GdkEventExpose *gdk_event,
|
||||
wxWindowGTK *win )
|
||||
{
|
||||
if (gdk_event->count > 0) return FALSE;
|
||||
|
||||
draw_frame( widget, win );
|
||||
|
||||
(* GTK_WIDGET_CLASS (pizza_parent_class)->expose_event) (widget, gdk_event);
|
||||
|
||||
return TRUE;
|
||||
if (gdk_event->count == 0)
|
||||
draw_frame(widget, win);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user