From: John L. <jr...@us...> - 2007-03-16 21:23:54
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9909/wxLua/modules/wxlua/include Modified Files: wxlbind.h Log Message: Move GetEvent function that searches to bindings to the wxLuaBinding class from wxLuaState Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** wxlbind.h 15 Mar 2007 00:01:25 -0000 1.37 --- wxlbind.h 16 Mar 2007 21:23:47 -0000 1.38 *************** *** 322,328 **** bool SetBaseClass(WXLUACLASS *pClass); // Look up the event type name as a string, from the wxEventType number // in the WXLUAEVENT* struct list of this binding. ! wxString GetEventTypeName(wxEventType e_type); // Get all the bindings that were initialized using the generated binding --- 322,330 ---- bool SetBaseClass(WXLUACLASS *pClass); + // Find the WXLUAEVENT with the wxEventType, returns NULL if not found. + const WXLUAEVENT* GetEvent(wxEventType eventType) const; // Look up the event type name as a string, from the wxEventType number // in the WXLUAEVENT* struct list of this binding. ! wxString GetEventTypeName(wxEventType eventType) const; // Get all the bindings that were initialized using the generated binding |