wxPython compile errors

It appears that running wxGTK 2.4.1 and attempting to run wxPython
2.4.1.2 will not work (at least, ive been hearing this from #wxwindows
to correlate with my own problems). I'm getting this error while
compiling wxPython:::

src/gtk/windows.cpp: In function `PyObject*
_wrap_wxMenuItem_SetMenu(PyObject*,
   PyObject*, PyObject*)':
src/gtk/windows.cpp:10728: no matching function for call to
`wxMenuItem::
   SetMenu(wxMenu*&)'
error: command 'gcc' failed with exit status 1

Can someone help me find a way of fixing this?.
Thanks!
  -- Jeff

···

--
A person who is nice to you, but rude to the waiter," Dave Barry said,
"is not a nice person."

Jeff Hodges wrote:

It appears that running wxGTK 2.4.1 and attempting to run wxPython
2.4.1.2 will not work (at least, ive been hearing this from #wxwindows
to correlate with my own problems). I'm getting this error while
compiling wxPython:::

src/gtk/windows.cpp: In function `PyObject*
_wrap_wxMenuItem_SetMenu(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10728: no matching function for call to
`wxMenuItem::
   SetMenu(wxMenu*&)'
error: command 'gcc' failed with exit status 1

Can someone help me find a way of fixing this?.
Thanks!

You need to use the wxGTK included in the wxPythonSrc tarball, not the standard wxGTK. I had thought that the SetMenu method (and a couple others) had made it into the stock 2.4.1 but apparently they were done just after the CVS was tagged instead of just before...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!