From: John L. <jr...@us...> - 2008-01-17 22:37:40
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv11473/wxLua/modules/wxlua/include Modified Files: wxlbind.h Log Message: Fix bindings with args missing default values and check for that in the generator. Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** wxlbind.h 8 Jan 2008 06:19:53 -0000 1.78 --- wxlbind.h 17 Jan 2008 22:37:30 -0000 1.79 *************** *** 404,409 **** --- 404,416 ---- return *this; } + wxLuaSmartwxArrayString& operator = (const wxArrayString& arr) + { + *GetArray() = arr; + return *this; + } }; + extern const WXDLLIMPEXP_DATA_WXLUA(wxLuaSmartwxArrayString) wxLuaNullSmartwxArrayString; + // ---------------------------------------------------------------------------- // wxLuaSmartwxSortedArrayString - Wraps a "new" wxSortedArrayString with an automatic |