src/gtk/windows.cpp: In function `struct PyObject * _wrap_wxMenuItem_SetMenu(PyObject *, PyObject *, PyObject *)':
src/gtk/windows.cpp:10728: no matching function for call to `wxMenuItem::SetMenu (wxMenu *&)'
The funny thing is that windows.cpp only has some 46k lines of code, but
the error occus at line 10728.
Can anyone help with this? Any comments/suggestions would be greatly
appreciated. Thanks in advance!
src/gtk/windows.cpp: In function `struct PyObject * _wrap_wxMenuItem_SetMenu(PyObject *, PyObject *, PyObject *)':
src/gtk/windows.cpp:10728: no matching function for call to `wxMenuItem::SetMenu (wxMenu *&)'
The funny thing is that windows.cpp only has some 46k lines of code, but
the error occus at line 10728.
Can anyone help with this? Any comments/suggestions would be greatly
appreciated. Thanks in advance!
You need to use the wxGTK that is in the wxPythonSrc 2.4.1.2 tarball, not the official wxGTK 2.4.1 version. I added a wrapper for SetMenu as I thought it had been added just before 2.4.1 was done but it turned out it was just after.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!