wok-6.x view opencpn/stuff/glib.u @ rev 11342
Up:?tazwok 4.2.17
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Nov 26 17:28:05 2011 +0100 (2011-11-26) |
parents | |
children |
line source
1 Both glib and wx define GSocket, see http://trac.wxwidgets.org/ticket/10883
3 --- include/dychart.h
4 +++ include/dychart.h
5 @@ -211,7 +211,9 @@
7 #ifdef __WXGTK__
8 #ifdef ocpnUSE_GTK_OPTIMIZE
9 +#define GSocket GlibGSocket
10 #include <gtk/gtk.h>
11 +#undef GSocket
12 #endif
13 #endif