Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12639/wxLua/modules/wxbindstc/src
Modified Files:
stc.cpp
Log Message:
Add picker.i for all of the wxPicker controls
Change WXLUA_DECLARE_ENCAPSULATION to prepend wxLua_ to it for clarity.
Index: stc.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/stc.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** stc.cpp 14 Jun 2007 23:59:48 -0000 1.41
--- stc.cpp 17 Jun 2007 18:36:28 -0000 1.42
***************
*** 4700,4704 ****
returns = new wxPoint(self->PointFromPosition(pos));
// add the new object to the tracked memory list
! wxlState.AddTrackedObject((long)returns, new wxObject_wxPoint((wxPoint *)returns));
// push the result datatype
wxlState.PushUserDataType(s_wxluatag_wxPoint, returns);
--- 4700,4704 ----
returns = new wxPoint(self->PointFromPosition(pos));
// add the new object to the tracked memory list
! wxlState.AddTrackedObject((long)returns, new wxLua_wxObject_wxPoint((wxPoint *)returns));
// push the result datatype
wxlState.PushUserDataType(s_wxluatag_wxPoint, returns);
|