diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index fdb640143f..07d6d0a777 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -22,8 +22,8 @@ // We use GtkCombo which has been deprecated since GTK+ 2.3.0 // in favour of GtkComboBox for -#if defined(GTK_DISABLE_DEPRECATED) && GTK_CHECK_VERSION(2,3,0) +// We also use GtkList +#ifdef GTK_DISABLE_DEPRECATED #undef GTK_DISABLE_DEPRECATED #endif #include "wx/gtk/private.h"