fix running with GTK < 2.18 when built with later GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -298,6 +298,12 @@ static inline void wx_gtk_widget_set_allocation(GtkWidget* widget, const GtkAllo
|
||||
}
|
||||
#define gtk_widget_set_allocation wx_gtk_widget_set_allocation
|
||||
|
||||
static inline gboolean wx_gtk_widget_is_toplevel(GtkWidget* widget)
|
||||
{
|
||||
return GTK_WIDGET_TOPLEVEL(widget);
|
||||
}
|
||||
#define gtk_widget_is_toplevel wx_gtk_widget_is_toplevel
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the following were introduced in GTK+ 2.20
|
||||
|
||||
|
Reference in New Issue
Block a user