From: John L. <jr...@us...> - 2007-02-22 20:33:14
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10499/wxLua/modules/wxbindstc/src Modified Files: stc.cpp Log Message: change wxLUA_USE_wxJoystick | wxUSE_JOYSTICK to & Index: stc.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/stc.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** stc.cpp 22 Feb 2007 00:01:36 -0000 1.23 --- stc.cpp 22 Feb 2007 20:33:10 -0000 1.24 *************** *** 2285,2289 **** returns = self->GetLine(line); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 2285,2289 ---- returns = self->GetLine(line); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 2407,2411 **** returns = self->GetSelectedText(); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 2407,2411 ---- returns = self->GetSelectedText(); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 2427,2431 **** returns = self->GetTextRange(startPos, endPos); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 2427,2431 ---- returns = self->GetTextRange(startPos, endPos); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 2669,2673 **** returns = self->GetText(); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 2669,2673 ---- returns = self->GetText(); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 5878,5882 **** returns = self->GetProperty(key); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 5878,5882 ---- returns = self->GetProperty(key); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 5896,5900 **** returns = self->GetPropertyExpanded(key); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 5896,5900 ---- returns = self->GetPropertyExpanded(key); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 7798,7802 **** returns = self->GetText(); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 7798,7802 ---- returns = self->GetText(); // push the result string ! wxlState.lua_PushString(returns); return 1; *************** *** 7993,7997 **** returns = self->GetDragText(); // push the result string ! lua_pushstring(L, wx2lua(returns) ); return 1; --- 7993,7997 ---- returns = self->GetDragText(); // push the result string ! wxlState.lua_PushString(returns); return 1; |