compilation fix for older glib versions after r56345

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2008-10-15 21:10:56 +00:00
parent f8cba58b84
commit ca5bf83bda
2 changed files with 7 additions and 0 deletions

View File

@ -105,6 +105,12 @@ void gtk_window_set_policy (GtkWindow *window,
} // extern "C"
// some newer functions not available in older versions of GTK+:
#if !GTK_CHECK_VERSION(2,9,0)
#define g_object_ref_sink(x) gtk_object_sink(GTK_OBJECT(x))
#endif
// ----------------------------------------------------------------------------
// various private helper functions
// ----------------------------------------------------------------------------

View File

@ -23,6 +23,7 @@
#if !defined(__WXUNIVERSAL__)
#include "wx/artprov.h"
#include "wx/gtk/private.h"
#ifndef WX_PRECOMP
#include "wx/module.h"