From: John L. <jr...@us...> - 2006-05-29 22:57:00
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv19007/wxLua/modules/wxbind/src Modified Files: event.cpp Log Message: shuffle header includes for bindings fix double to int warning in wxEvtHandler::Connect and Disconnect Index: event.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/event.cpp,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** event.cpp 25 May 2006 22:50:05 -0000 1.21 --- event.cpp 29 May 2006 22:31:17 -0000 1.22 *************** *** 177,181 **** if (wxlState.IsNumberType(evttype_idx)) ! eventType = lua_tonumber(L, evttype_idx); else { --- 177,181 ---- if (wxlState.IsNumberType(evttype_idx)) ! eventType = (int)lua_tonumber(L, evttype_idx); else { *************** *** 266,270 **** if (wxlState.IsNumberType(evttype_idx)) ! eventType = lua_tonumber(L, evttype_idx); else { --- 266,270 ---- if (wxlState.IsNumberType(evttype_idx)) ! eventType = (int)lua_tonumber(L, evttype_idx); else { |