Use correct GTK macro in wx_gtk_widget_get_sensitive().
Using GTK_WIDGET_VISIBLE() to test for sensitivity was not going to work (and, in fact, it didn't and broke the unit tests). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -235,7 +235,7 @@ inline gboolean wx_gtk_widget_get_visible(GtkWidget *widget)
|
|||||||
|
|
||||||
inline gboolean wx_gtk_widget_get_sensitive(GtkWidget *widget)
|
inline gboolean wx_gtk_widget_get_sensitive(GtkWidget *widget)
|
||||||
{
|
{
|
||||||
return GTK_WIDGET_VISIBLE(widget);
|
return GTK_WIDGET_SENSITIVE(widget);
|
||||||
}
|
}
|
||||||
#define gtk_widget_get_sensitive wx_gtk_widget_get_sensitive
|
#define gtk_widget_get_sensitive wx_gtk_widget_get_sensitive
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user