X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75ed1d15d0d866cac78f7c0da176db8dd5288bc8..06405ac80bdf421357a5eb84f757739a5a58b571:/src/gtk1/win_gtk.c diff --git a/src/gtk1/win_gtk.c b/src/gtk1/win_gtk.c index 3a999cdeff..dc58604aa9 100644 --- a/src/gtk1/win_gtk.c +++ b/src/gtk1/win_gtk.c @@ -1,10 +1,9 @@ /* /////////////////////////////////////////////////////////////////////////// -// Name: wx_gtk.h -// Purpose: +// Name: win_gtk.c +// Purpose: native GTK+ widget for wxWindows // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////// */ @@ -79,7 +78,7 @@ gtk_myfixed_class_init (GtkMyFixedClass *klass) object_class = (GtkObjectClass*) klass; widget_class = (GtkWidgetClass*) klass; container_class = (GtkContainerClass*) klass; - + parent_class = gtk_type_class (gtk_container_get_type ()); widget_class->map = gtk_myfixed_map; @@ -104,7 +103,7 @@ gtk_myfixed_init (GtkMyFixed *myfixed) { GTK_WIDGET_UNSET_FLAGS (myfixed, GTK_NO_WINDOW); GTK_WIDGET_SET_FLAGS (myfixed, GTK_BASIC); - + myfixed->children = NULL; } @@ -170,6 +169,8 @@ gtk_myfixed_move (GtkMyFixed *myfixed, if (child->widget == widget) { +/* if ((child->x == x) && (child->y == y)) return; */ + child->x = x; child->y = y;