I'm trying to update the FreeBSD ports for wxPython and I'm having
problems with the latest version. 2.8.7.1 and 2.8.9.2 all build fine
against wxGTK 2.8.10, but 2.8.10.1 fails with the following error:
cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -
DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing -pipe -fPIC -
DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -
DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -
D__WXGTK__ -D_THREAD_SAFE -D_THREAD_SAFE -Iinclude -Isrc -I/usr/local/
lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/
usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/
local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/
pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/
local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/
include/freetype2 -I/usr/local/include/python2.6 -c src/gtk/
_core_wrap.cpp -o build-gtk2/temp.freebsd-7.2-STABLE-amd64-2.6/src/gtk/
_core_wrap.o -pthread -O3
src/gtk/_core_wrap.cpp: In function 'PyObject*
_wrap_ShowEvent_IsShown(PyObject*, PyObject*)':
src/gtk/_core_wrap.cpp:28693: error: 'const class wxShowEvent' has no
member named 'IsShown'
src/gtk/_core_wrap.cpp: In function 'PyObject*
_wrap_GetAccelFromString(PyObject*, PyObject*, PyObject*)':
src/gtk/_core_wrap.cpp:33954: warning: 'wxGetAccelFromString' is
deprecated (declared at /usr/local/include/wx-2.8/wx/utils.h:571)
src/gtk/_core_wrap.cpp:33954: warning: 'wxGetAccelFromString' is
deprecated (declared at /usr/local/include/wx-2.8/wx/utils.h:571)
error: command 'cc' failed with exit status 1
Is there a difference between the version of wxGTK included with
wxPython and the mainline version? This would be a problem for me as
my port build against the wxGTK port instead of the accompanying
version.