Update of /cvsroot/wxlua/wxLua/modules/wxbind/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20622/wxLua/modules/wxbind/src
Modified Files:
wxbase_data.cpp
Log Message:
Rename wxLuaBinding/wxLuaState::GetLuaClass() to GetBindClass() since it
gets the wxLuaBindClass struct
Moved the code for searching the binding classes to static functions
of wxLuaBinding to keep the code together with the wxLuaBinding class
Index: wxbase_data.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxbase_data.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wxbase_data.cpp 17 Nov 2007 00:14:58 -0000 1.5
--- wxbase_data.cpp 5 Dec 2007 05:54:11 -0000 1.6
***************
*** 612,616 ****
wxObject *pObject = (wxObject *)wxlState.wxlua_ToUserdata( 1 );
! const wxLuaBindClass *pClass = wxlState.GetLuaClass(className);
if (pClass && pClass->classInfo)
{
--- 612,616 ----
wxObject *pObject = (wxObject *)wxlState.wxlua_ToUserdata( 1 );
! const wxLuaBindClass *pClass = wxlState.GetBindClass(className);
if (pClass && pClass->classInfo)
{
|