X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b71411ac969df135878b40a4c16356f6af10cf0..01c54165d1182cc74d8e5d43cdb1985902af0b2f:/src/gtk/win_gtk.c diff --git a/src/gtk/win_gtk.c b/src/gtk/win_gtk.c index 4f098ee8ea..85c77d7c02 100644 --- a/src/gtk/win_gtk.c +++ b/src/gtk/win_gtk.c @@ -394,13 +394,15 @@ gtk_pizza_set_size (GtkPizza *pizza, g_return_if_fail (GTK_IS_PIZZA (pizza)); g_return_if_fail (widget != NULL); +#ifndef WX_WARN_ILLEGAL_SETSIZE /* this really shouldn't happen -- but it does, a lot, right now and we - can't pass negative values to gtk_widget_set_size_request(), so filter - them out here */ + can't pass negative values to gtk_widget_set_size_request() without getting + a warning printed out, so filter them out here */ if ( width < 0 ) width = 0; if ( height < 0 ) height = 0; +#endif children = pizza->children; while (children)