From: John L. <jr...@us...> - 2006-12-23 06:16:23
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv23513/wxLua/modules/wxbind/src Modified Files: gdi.cpp Log Message: compilation fix for wxGLXXX update to 2.8 Index: gdi.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/gdi.cpp,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** gdi.cpp 23 Dec 2006 05:58:15 -0000 1.41 --- gdi.cpp 23 Dec 2006 06:16:20 -0000 1.42 *************** *** 10454,10460 **** #if (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS)) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxGLCanvas_SetCurrent[] = { &s_wxluatag_wxGLContext, 0 }; ! // %wxchkver28 void SetCurrent(const wxGLContext& RC) const ! static int LUACALL wxLua_wxGLCanvas_SetCurrent(lua_State *L) { wxLuaState wxlState(L); --- 10454,10460 ---- #if (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS)) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxGLCanvas_SetCurrentContext[] = { &s_wxluatag_wxGLContext, 0 }; ! // %wxchkver28 %rename SetCurrentContext void SetCurrent(const wxGLContext& RC) const ! static int LUACALL wxLua_wxGLCanvas_SetCurrentContext(lua_State *L) { wxLuaState wxlState(L); *************** *** 10548,10552 **** #if (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS)) ! { LuaMethod, "SetCurrent", wxLua_wxGLCanvas_SetCurrent, 1, 1, s_wxluatagArray_wxLua_wxGLCanvas_SetCurrent }, #endif // (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS)) --- 10548,10552 ---- #if (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS)) ! { LuaMethod, "SetCurrentContext", wxLua_wxGLCanvas_SetCurrentContext, 1, 1, s_wxluatagArray_wxLua_wxGLCanvas_SetCurrentContext }, #endif // (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS)) |