Make everything compile with GTK_DISABLE_DEPRECATED declared.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-02-20 21:28:53 +00:00
parent cc7e9e2083
commit 1efb5db896
11 changed files with 88 additions and 3 deletions

View File

@@ -20,6 +20,12 @@
#include "wx/textctrl.h" // for wxEVT_COMMAND_TEXT_UPDATED
// We use GtkCombo which has been deprecated since GTK+ 2.3.0
// in favour of GtkComboBox for <GTK2.4 runtime
#include <gtk/gtkversion.h>
#if defined(GTK_DISABLE_DEPRECATED) && GTK_CHECK_VERSION(2,3,0)
#undef GTK_DISABLE_DEPRECATED
#endif
#include "wx/gtk/private.h"
//-----------------------------------------------------------------------------