From d58a44c371ecb90de9121b3560cedff81a927d2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 26 Mar 2011 18:09:58 +0000 Subject: [PATCH] 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 --- include/wx/gtk/private/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gtk/private/compat.h b/include/wx/gtk/private/compat.h index df26d5e32f..9e1db828f3 100644 --- a/include/wx/gtk/private/compat.h +++ b/include/wx/gtk/private/compat.h @@ -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 -- 2.45.2