Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10746/wxLua/modules/wxlua/include
Modified Files:
wxlcallb.h
Log Message:
changed wxEvtHandler::ConnectEvent to Connect
update all samples to reflect this
add win id ranges to connect
add untested wxEvtHandler::Disconnect
Index: wxlcallb.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlcallb.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** wxlcallb.h 14 May 2006 17:45:05 -0000 1.10
--- wxlcallb.h 25 May 2006 03:55:23 -0000 1.11
***************
*** 25,30 ****
{
public:
wxLuaCallback( const wxLuaState& state, int theRoutine,
! wxWindowID id, wxEventType eventType,
wxEvtHandler *pHandler );
--- 25,32 ----
{
public:
+ // winID and lastID follow the same notation as wxEvtHandler::Connect
+ // if only one event Id is needed set lastId = wxID_ANY
wxLuaCallback( const wxLuaState& state, int theRoutine,
! wxWindowID winId, wxWindowID lastId, wxEventType eventType,
wxEvtHandler *pHandler );
***************
*** 57,60 ****
--- 59,63 ----
wxEvtHandler* m_pHandler;
wxWindowID m_id;
+ wxWindowID m_lastId;
wxEventType m_eventType;
|