]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGTK2 compiles fine with {G,PANGO}_DISABLE_DEPRECATED. Define them to catch deprecat...
authorMart Raudsepp <leio@gentoo.org>
Fri, 3 Feb 2006 21:27:04 +0000 (21:27 +0000)
committerMart Raudsepp <leio@gentoo.org>
Fri, 3 Feb 2006 21:27:04 +0000 (21:27 +0000)
glib/pango versions and/or other systems. Is there a better place for this than defs.h?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index a1cf5bce7f895557dccf64fdd5b68ff5f28fec6a..0738eb4ec8ee432f6ebcfc6e06b03459f0f9a1cc 100644 (file)
@@ -2841,6 +2841,11 @@ typedef GtkWidget *WXWidget;
 #define GTK_CLASS_TYPE(klass) ((klass)->type)
 #endif
 
 #define GTK_CLASS_TYPE(klass) ((klass)->type)
 #endif
 
+#ifdef __WXGTK20__
+#define G_DISABLE_DEPRECATED
+#define PANGO_DISABLE_DEPRECATED
+#endif
+
 #endif /*  __WXGTK__ */
 
 #if defined(__WXGTK20__) || (defined(__WXX11__) && wxUSE_UNICODE)
 #endif /*  __WXGTK__ */
 
 #if defined(__WXGTK20__) || (defined(__WXX11__) && wxUSE_UNICODE)