Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20622/wxLua/bindings/wxwidgets
Modified Files:
wxbase_override.hpp
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_override.hpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxbase_override.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wxbase_override.hpp 17 Nov 2007 00:14:55 -0000 1.5
--- wxbase_override.hpp 5 Dec 2007 05:54:11 -0000 1.6
***************
*** 426,430 ****
wxObject *pObject = (wxObject *)wxlState.wxlua_ToUserdata( 1 );
! const wxLuaBindClass *pClass = wxlState.GetLuaClass(className);
if (pClass && pClass->classInfo)
{
--- 426,430 ----
wxObject *pObject = (wxObject *)wxlState.wxlua_ToUserdata( 1 );
! const wxLuaBindClass *pClass = wxlState.GetBindClass(className);
if (pClass && pClass->classInfo)
{
|