X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ab9e06d6ac4c1ac41fdbe88b0862dc62a2112f9..8942f83aca9f9f80208ea1c2e5525d24a7eab554:/src/gtk/choice.cpp diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 8765445a98..7d0df1ca0d 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -14,6 +14,14 @@ #include "wx/choice.h" #include "wx/arrstr.h" +// FIXME: We use GtkOptionMenu which has been deprecated since GTK+ 2.3.0 in +// favour of GtkComboBox. +// Later use GtkComboBox if GTK+ runtime version is new enough. +#include +#if defined(GTK_DISABLE_DEPRECATED) && GTK_CHECK_VERSION(2,3,0) +#undef GTK_DISABLE_DEPRECATED +#endif + #include "wx/gtk/private.h" //-----------------------------------------------------------------------------