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:
parent
162d3be3ca
commit
761a108c3b
@ -2841,6 +2841,11 @@ typedef GtkWidget *WXWidget;
|
||||
#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)
|
||||
|
Loading…
Reference in New Issue
Block a user