wxGTK2 compiles fine with {G,PANGO}_DISABLE_DEPRECATED. Define them to catch deprecated function usage for older
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
This commit is contained in:
@@ -2841,6 +2841,11 @@ typedef GtkWidget *WXWidget;
|
|||||||
#define GTK_CLASS_TYPE(klass) ((klass)->type)
|
#define GTK_CLASS_TYPE(klass) ((klass)->type)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WXGTK20__
|
||||||
|
#define G_DISABLE_DEPRECATED
|
||||||
|
#define PANGO_DISABLE_DEPRECATED
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __WXGTK__ */
|
#endif /* __WXGTK__ */
|
||||||
|
|
||||||
#if defined(__WXGTK20__) || (defined(__WXX11__) && wxUSE_UNICODE)
|
#if defined(__WXGTK20__) || (defined(__WXX11__) && wxUSE_UNICODE)
|
||||||
|
Reference in New Issue
Block a user