From: John L. <jr...@us...> - 2011-05-11 04:08:26
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory vz-cvs-4.sog:/tmp/cvs-serv24331/bindings/wxwidgets Modified Files: wxadv_grid.i wxadv_rules.lua Log Message: Only have the wxGridCellWorker::GetRef() function available for non-dll builds since we wrote it and so it's not actually exported from the dll. Index: wxadv_grid.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxadv_grid.i,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wxadv_grid.i 1 Oct 2009 04:21:00 -0000 1.5 --- wxadv_grid.i 11 May 2011 04:08:23 -0000 1.6 *************** *** 46,50 **** --- 46,54 ---- void DecRef() + %if !defined(WXUSINGDLL) + // Getting the value of the ref count is only possible in non-dll + // wxWidgets library. int GetRef() const // wxLua added function to help track if it needs to be refed + %endif virtual void SetParameters(const wxString& params) Index: wxadv_rules.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxadv_rules.lua,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** wxadv_rules.lua 20 Apr 2011 02:38:58 -0000 1.8 --- wxadv_rules.lua 11 May 2011 04:08:23 -0000 1.9 *************** *** 69,72 **** --- 69,74 ---- #include "wx/window.h" + #ifndef WXUSINGDLL + // Hack to add accessor to get the ref count #define wxGridCellWorkerDummyFriend wxGridCellWorkerDummyFriend; \ *************** *** 80,83 **** --- 82,87 ---- #include "wx/grid.h" + #endif // WXUSINGDLL + ]] |