build fix for gtk1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
88def1632e
commit
04e4045183
@ -44,7 +44,11 @@
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#include <gtk/gtk.h>
|
||||
#include "wx/gtk/private/gtk2-compat.h"
|
||||
#if GTK_CHECK_VERSION(2,0,0)
|
||||
#include "wx/gtk/private/gtk2-compat.h"
|
||||
#else
|
||||
#define gtk_widget_get_window(x) x->window
|
||||
#endif
|
||||
#elif defined(__WXMSW__)
|
||||
#include "wx/msw/private.h"
|
||||
#elif defined(__WXX11__)
|
||||
|
Loading…
Reference in New Issue
Block a user