On Sat, 9 Sep 2017 19:42:10 +0530 Prashant Kumar wrote:
PK> This is the build error produced by travis-ci
PK> <
https://travis-ci.org/wxWidgets/wxWidgets/jobs/273508444> , compile on
PK> gtk-2.0 :
But you don't have the typedef in the header, do you?
PK> so, I guess I need to define __wxGTK314__ and use it to include/exclude
PK> this member variable
No, you can just add the line
typedef struct _GdkEventSequence GdkEventSequence;
to the header. When using GTK+ 3.14 this is going to declare it in exactly
the same way as GTK+ itself does, while with the earlier version it
wouldn't matter as it's not going to be used anyhow.
You should take "m_touchSequence" definition inside #ifdef __WXGTK3__
guard however, just to avoid having a variable which is never used with
GTK+ 2 (unless all this code is already GTK+ 3-specific?).
Regards,
VZ