Build fix for GTK+ < 2.18

Broken by 986f61f33e
This commit is contained in:
Paul Cornett 2018-03-12 10:06:23 -07:00
parent e5a1a29e77
commit 05454e778c

View File

@ -256,6 +256,11 @@ inline void wx_gtk_widget_set_can_focus(GtkWidget *widget, gboolean can)
} }
#define gtk_widget_set_can_focus wx_gtk_widget_set_can_focus #define gtk_widget_set_can_focus wx_gtk_widget_set_can_focus
static inline gboolean wx_gtk_widget_has_focus(GtkWidget* widget)
{
return GTK_WIDGET_HAS_FOCUS(widget);
}
#define gtk_widget_has_focus wx_gtk_widget_has_focus
inline gboolean wx_gtk_widget_get_can_default(GtkWidget *widget) inline gboolean wx_gtk_widget_get_can_default(GtkWidget *widget)
{ {