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:
@@ -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"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user