X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af05af4d872eff0b4d1404a072a954035e9e8974..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/gtk/win_gtk.h?ds=sidebyside diff --git a/include/wx/gtk/win_gtk.h b/include/wx/gtk/win_gtk.h index 6042e8837a..a6c5180f4e 100644 --- a/include/wx/gtk/win_gtk.h +++ b/include/wx/gtk/win_gtk.h @@ -22,18 +22,7 @@ extern "C" { #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza) #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ()) -typedef struct _GtkPizzaChild GtkPizzaChild; typedef struct _GtkPizza GtkPizza; -typedef struct _GtkPizzaClass GtkPizzaClass; - -struct _GtkPizzaChild -{ - GtkWidget *widget; - gint x; - gint y; - gint width; - gint height; -}; struct _GtkPizza { @@ -43,22 +32,17 @@ struct _GtkPizza guint m_xoffset; guint m_yoffset; + gboolean m_noscroll; + GdkWindow *bin_window; }; -struct _GtkPizzaClass -{ - GtkContainerClass parent_class; - - void (*set_scroll_adjustments) (GtkPizza *pizza, - GtkAdjustment *hadjustment, - GtkAdjustment *vadjustment); -}; - WXDLLIMPEXP_CORE GtkType gtk_pizza_get_type (void); WXDLLIMPEXP_CORE GtkWidget* gtk_pizza_new (void); +WXDLLIMPEXP_CORE +GtkWidget* gtk_pizza_new_no_scroll (void); /* accessors */