projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162d3be
)
wxGTK2 compiles fine with {G,PANGO}_DISABLE_DEPRECATED. Define them to catch deprecat...
author
Mart Raudsepp
<leio@gentoo.org>
Fri, 3 Feb 2006 21:27:04 +0000
(21:27 +0000)
committer
Mart 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
patch
|
blob
|
blame
|
history
diff --git
a/include/wx/defs.h
b/include/wx/defs.h
index a1cf5bce7f895557dccf64fdd5b68ff5f28fec6a..0738eb4ec8ee432f6ebcfc6e06b03459f0f9a1cc 100644
(file)
--- a/
include/wx/defs.h
+++ b/
include/wx/defs.h
@@
-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)