Re: [pygccxml-development] questions about inheritance
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-03-03 20:23:42
|
On Mon, Mar 3, 2008 at 7:01 AM, Kevin Watters <kev...@gm...> wrote: > > The fix in SVN. > > After trying your change from SVN I still get the same error: > > /Users/kevin/src/boost_1_34_1/boost/python/object/value_holder.hpp:66: > error: cannot declare field > 'boost::python::objects::value_holder<wxWindowBase_wrapper>::m_held' > to be of abstract type 'wxWindowBase_wrapper' > ../src/generated/WindowBase.pypp.cpp:9: note: because the following > virtual functions are pure within 'wxWindowBase_wrapper': > /Users/kevin/src/wxWidgets/include/wx/window.h:1278: note: virtual > NSView* wxWindowBase::GetHandle() const > /Users/kevin/src/wxWidgets/include/wx/window.h:1511: note: virtual > void wxWindowBase::DoClientToScreen(int*, int*) const > /Users/kevin/src/wxWidgets/include/wx/window.h:1512: note: virtual > void wxWindowBase::DoScreenToClient(int*, int*) const > /Users/kevin/src/wxWidgets/include/wx/window.h:1517: note: virtual > void wxWindowBase::DoCaptureMouse() > /Users/kevin/src/wxWidgets/include/wx/window.h:1518: note: virtual > void wxWindowBase::DoReleaseMouse() > /Users/kevin/src/wxWidgets/include/wx/window.h:1521: note: virtual > void wxWindowBase::DoGetPosition(int*, int*) const > /Users/kevin/src/wxWidgets/include/wx/window.h:1523: note: virtual > void wxWindowBase::DoGetSize(int*, int*) const > /Users/kevin/src/wxWidgets/include/wx/window.h:1524: note: virtual > void wxWindowBase::DoGetClientSize(int*, int*) const > /Users/kevin/src/wxWidgets/include/wx/window.h:1536: note: virtual > void wxWindowBase::DoSetSize(int, int, int, int, int) > /Users/kevin/src/wxWidgets/include/wx/window.h:1539: note: virtual > void wxWindowBase::DoSetClientSize(int, int) > /Users/kevin/src/wxWidgets/include/wx/window.h:1553: note: virtual > void wxWindowBase::DoMoveWindow(int, int, int, int) > /Users/kevin/src/wxWidgets/include/wx/window.h:1565: note: virtual > bool wxWindowBase::DoPopupMenu(wxMenu*, int, int) > make: *** [obj-gnu/wxpy_WindowBase_pypp.o] Error 1 > > I'm trying to understand what the change you made to > class_wrapper.redefined_funcs is doing. If I get anywhere I will let > you know. Can you create small test case, that reproduce the problem? I tried to create without success: http://pygccxml.svn.sourceforge.net/viewvc/pygccxml?view=rev&revision=1268 http://pygccxml.svn.sourceforge.net/viewvc/pygccxml?view=rev&revision=1269 http://pygccxml.svn.sourceforge.net/viewvc/pygccxml?view=rev&revision=1270 Thanks. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |