]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for r67312: add explicit cast to GtkStateType.
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 26 Mar 2011 18:09:58 +0000 (18:09 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 26 Mar 2011 18:09:58 +0000 (18:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/private/compat.h

index df26d5e32f4db9109de6eb1eda6bdf9714280ec2..9e1db828f3ae01dceef59307ceae18d7848cb1b6 100644 (file)
 #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