Compilation fix for r67312: add explicit cast to GtkStateType.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2011-03-26 18:09:58 +00:00
parent fc9ab22a76
commit d58a44c371

View File

@@ -115,7 +115,7 @@
#if !GTK_CHECK_VERSION(2,18,0)
inline GtkStateType wx_gtk_widget_get_state(GtkWidget *widget)
{
return GTK_WIDGET_STATE(widget);
return (GtkStateType)GTK_WIDGET_STATE(widget);
}
#define gtk_widget_get_state wx_gtk_widget_get_state
#endif