-// VZ: I _think_ that in GTK+ 2.0 the scroll type is passed to the
-// value_changed callback as a 2nd argument but I'm not at all sure about
-// it, if this is false all occurences of this macro must be changed!
-#ifdef __WXGTK20__
- #define SCROLLBAR_CBACK_ARG GtkScrollType scrollType,
- #define GET_SCROLL_TYPE(w) scrollType
-#else
- #define SCROLLBAR_CBACK_ARG
- #define GET_SCROLL_TYPE(w) GTK_RANGE((w))->scroll_type
-#endif
+// Deprecated since GTK+-1.3.7:
+// Trivial wrapper around gtk_window_move, with some side effects we seem to rely on
+void gtk_widget_set_uposition (GtkWidget *widget,
+ gint x,
+ gint y);
+
+// We rely on the allow_shrink parameter in one place
+void gtk_window_set_policy (GtkWindow *window,
+ gint allow_shrink,
+ gint allow_grow,
+ gint auto_shrink);
+
+G_END_DECLS
+
+//-----------------------------------------------------------------------------
+// idle system
+//-----------------------------------------------------------------------------
+
+extern void wxapp_install_idle_handler();
+extern bool g_isIdle;
+
+//-----------------------------------------------------------------------------
+// Convenience class for g_freeing a gchar* on scope exit automatically
+//-----------------------------------------------------------------------------