Hi John,

> I will fix this tomorrow, but note that if you don't intend to call
> that particular function you can just rem out the failing part in the
> C++ binding code and put in whatever minimal stub is needed to get it
> to compile.

I tried to compile 2.9.5 using the latest code from SVN (including
your last fix), but it still fails with a similar issue:

[ 47%] Building CXX object
modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxadv_bind.cpp.obj
D:\Lua\build\wxlua\modules\wxbind\src\wxadv_bind.cpp: In function 'int
wxLua_wxGridCellEditor_PaintBackground1(lua_State*)':
D:\Lua\build\wxlua\modules\wxbind\src\wxadv_bind.cpp:8204:43: error:
no matching function for call to
'wxGridCellEditor::PaintBackground(const wxRect&, const
wxGridCellAttr&)'
D:\Lua\build\wxlua\modules\wxbind\src\wxadv_bind.cpp:8204:43: note:
candidate is:
D:/Lua/build/wxWidgets-2.9.5/include/wx/generic/grid.h:216:18: note:
virtual void wxGridCellEditor::PaintBackground(wxDC&, const wxRect&,
const wxGridCellAttr&)
D:/Lua/build/wxWidgets-2.9.5/include/wx/generic/grid.h:216:18: note:
candidate expects 3 arguments, 2 provided

This includes your fix in rev #158. I'd prefer not to stub and, but
rather compile out of the box. Also, it seems like the fix is likely
to break in the next update of wxwidgets:

!%wxchkver_2_9_5 virtual void PaintBackground(const wxRect& rectCell,
wxGridCellAttr *attr );
%wxchkver_2_9_5  virtual void PaintBackground(const wxRect& rectCell,
const wxGridCellAttr &attr );

Is it possible to do "<" and ">=" instead of "!" and (implied) "=="? Thank you.

Paul

On Wed, Jan 16, 2013 at 10:03 PM, John Labenski <jlaben...@gmail.com> wrote:
> On Thu, Dec 20, 2012 at 6:05 PM, AZ <redtide...@gmail.com> wrote:
>> I tried to build wxlua against 2.9.5 SVN trunk but it failed: is it 2.9
>> support a work in progress?
>
> No... not so much a work in progress as continual work of mapping the
> functions. Since wxLua wraps so much of wxWidgets any change in their
> API anywhere causes breakage.
>
> I will fix this tomorrow, but note that if you don't intend to call
> that particular function you can just rem out the failing part in the
> C++ binding code and put in whatever minimal stub is needed to get it
> to compile.
>
> Regards,
>     John
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> _______________________________________________
> wxlua-users mailing list
> wxlua-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxlua-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to