X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11026f7b59168c36240b4db4c3deaef5dd936846..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk/win_gtk.c diff --git a/src/gtk/win_gtk.c b/src/gtk/win_gtk.c index a6db981930..3a999cdeff 100644 --- a/src/gtk/win_gtk.c +++ b/src/gtk/win_gtk.c @@ -1,4 +1,4 @@ -///////////////////////////////////////////////////////////////////////////// +/* /////////////////////////////////////////////////////////////////////////// // Name: wx_gtk.h // Purpose: // Author: Robert Roebling @@ -6,9 +6,10 @@ // Id: // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem // Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////// */ #include "wx/gtk/win_gtk.h" +#include #ifdef __cplusplus extern "C" { @@ -34,6 +35,9 @@ static void gtk_myfixed_add (GtkContainer *container, static void gtk_myfixed_remove (GtkContainer *container, GtkWidget *widget); static void gtk_myfixed_foreach (GtkContainer *container, +#if (GTK_MINOR_VERSION == 1) + gboolean include_internals, +#endif GtkCallback callback, gpointer callback_data); @@ -88,7 +92,11 @@ gtk_myfixed_class_init (GtkMyFixedClass *klass) container_class->add = gtk_myfixed_add; container_class->remove = gtk_myfixed_remove; +#if (GTK_MINOR_VERSION == 1) + container_class->forall = gtk_myfixed_foreach; +#else container_class->foreach = gtk_myfixed_foreach; +#endif } static void @@ -454,6 +462,9 @@ gtk_myfixed_remove (GtkContainer *container, static void gtk_myfixed_foreach (GtkContainer *container, +#if (GTK_MINOR_VERSION == 1) + gboolean include_internals, +#endif GtkCallback callback, gpointer callback_data) {