+static inline void wx_gdk_window_get_geometry(GdkWindow* window, gint* x, gint* y, gint* width, gint* height)
+{
+ gdk_window_get_geometry(window, x, y, width, height, NULL);
+}
+#define gdk_window_get_geometry wx_gdk_window_get_geometry
+
+static inline GtkWidget* wx_gtk_tree_view_column_get_button(GtkTreeViewColumn* tree_column)
+{
+ return tree_column->button;
+}
+#define gtk_tree_view_column_get_button wx_gtk_tree_view_column_get_button
+
+static inline GtkWidget* wx_gtk_box_new(GtkOrientation orientation, gint spacing)
+{
+ GtkWidget* widget;
+ if (orientation == GTK_ORIENTATION_HORIZONTAL)
+ widget = gtk_hbox_new(false, spacing);
+ else
+ widget = gtk_vbox_new(false, spacing);
+ return widget;
+}
+#define gtk_box_new wx_gtk_box_new
+
+static inline GtkWidget* wx_gtk_button_box_new(GtkOrientation orientation)
+{
+ GtkWidget* widget;
+ if (orientation == GTK_ORIENTATION_HORIZONTAL)
+ widget = gtk_hbutton_box_new();
+ else
+ widget = gtk_vbutton_box_new();
+ return widget;
+}
+#define gtk_button_box_new wx_gtk_button_box_new
+
+static inline GtkWidget* wx_gtk_scale_new(GtkOrientation orientation, GtkAdjustment* adjustment)
+{
+ GtkWidget* widget;
+ if (orientation == GTK_ORIENTATION_HORIZONTAL)
+ widget = gtk_hscale_new(adjustment);
+ else
+ widget = gtk_vscale_new(adjustment);
+ return widget;
+}
+#define gtk_scale_new wx_gtk_scale_new
+
+static inline GtkWidget* wx_gtk_scrollbar_new(GtkOrientation orientation, GtkAdjustment* adjustment)
+{
+ GtkWidget* widget;
+ if (orientation == GTK_ORIENTATION_HORIZONTAL)
+ widget = gtk_hscrollbar_new(adjustment);
+ else
+ widget = gtk_vscrollbar_new(adjustment);
+ return widget;
+}
+#define gtk_scrollbar_new wx_gtk_scrollbar_new