X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68567a967bc8afd37a40cb9a7ee5021b9ee6cd96..b976323b04593bf2f642d8bdf36b39a346d840dc:/src/gtk/settings.cpp diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index d5391ad1e4..fc0926f439 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -17,6 +17,12 @@ #include "wx/fontutil.h" #include "wx/toplevel.h" +// Using gtk_list_new, which is deprecated since GTK2 +// Using gtk_object_sink, which is deprecated since GTK+-2.9.0 +#ifdef GTK_DISABLE_DEPRECATED +#undef GTK_DISABLE_DEPRECATED +#endif + #include #include #include