From: Mikhail R. <mr...@ra...> - 2004-12-02 18:13:15
|
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 2 =E4=C5=CB=C1=C2=D2=D8 2004 11:13 R= ichard Hirst =CE=C1=D0=C9=D3=C1=CC(a): > Your problem likely comes from here in include/wx/defs.h: > > #ifdef __WXGTK20__ > typedef struct _GdkAtom *GdkAtom; <<<< You are gettting this > typedef struct _GdkDrawable GdkWindow; > typedef struct _GdkDrawable GdkBitmap; > typedef struct _GdkDrawable GdkPixmap; > #else // GTK+ 1.2 > typedef gulong GdkAtom; <<<< I get this > typedef struct _GdkWindow GdkWindow; > typedef struct _GdkWindow GdkBitmap; > typedef struct _GdkWindow GdkPixmap; > #endif // GTK+ 1.2/2.0 > > > So I guess in your 'wx-config --cflags' output you'll see -D__WXGTK20__, > rather than -D__WXGTK__. $ wx-config --cflags \-I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__=20 =2DD_FILE_OFFSET_BITS=3D64 -D_LARGE_FILES Does not seem to be the case... =2D-=20 Yours, Mikhail Ramendik |