On 4/14/06, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > Hi all, > with last CVS I got this: > > .././bk-deps apg++ -c -o wxbind_lib_wxlua.o -I../modules/wxbind/setup > -I../modules -I./.. -I/usr/local/lib/wx/include/gtk2-unicode-release-2.7 > -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -O2 -march=i586 -pipe -g0 > -O2 ../modules/wxbind/src/wxlua.cpp > ../modules/wxbind/include/wxlhtmlwin.h:44: error: conflicting return > type specified for 'virtual void > wxLuaHtmlWindow::OnCellClicked(wxHtmlCell*, wxCoord, wxCoord, const > wxMouseEvent&)' > /usr/local/include/wx-2.7/wx/html/htmlwin.h:200: error: overriding > 'virtual bool wxHtmlWindowMouseHelper::OnCellClicked(wxHtmlCell*, > wxCoord, wxCoord, const wxMouseEvent&)'
wxWidgets has changed the signature of this function apparently, my copy of 2.6.3 has this. wxWidgets_26/wxWidgets/include/wx/html/htmlwin.h: virtual void OnCellClicked(wxHtmlCell *cell, > modifying wxlhtmlwin.h:44 to return bool, I then get errors later... What errors? Can you change it like this and see about the other errors? Check that 2,7,0 is the right version to use as well. #if wxCHECK_VERSION(2,7,0) virtual bool OnCellClicked(wxHtmlCell *cell, #else //!wxCHECK_VERSION(2,7,0) virtual void OnCellClicked(wxHtmlCell *cell, #endif // wxCHECK_VERSION(2,7,0) Thanks, John Labenski ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users