Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18786/wxLua/modules/wxbind/src Modified Files: appframe.cpp clipdrag.cpp config.cpp controls.cpp data.cpp datetime.cpp defsutil.cpp dialogs.cpp event.cpp file.cpp gdi.cpp geometry.cpp grid.cpp help.cpp html.cpp image.cpp mdi.cpp menutool.cpp print.cpp regex.cpp sizer.cpp socket.cpp thread.cpp wave.cpp windows.cpp wx_bind.cpp wxlua.cpp xml.cpp Log Message: lots of little cleanups Add wx.NULL to replace wx.wxNull (which still exists) to be more C like Don't have static WXLUAMETHODs and then en extern pointer to them, just don't have them static More variable/function name changes to make the code more readable Index: xml.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/xml.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** xml.cpp 9 Jun 2006 22:51:34 -0000 1.14 --- xml.cpp 12 Dec 2006 07:09:41 -0000 1.15 *************** *** 485,489 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxXmlNode_methods[] = { { LuaConstructor, "wxXmlNodeDefault", wxLua_wxXmlNodeDefault_constructor, 0, 0, { 0 } }, { LuaConstructor, "wxXmlNode", wxLua_wxXmlNode_constructor, 3, 2, { &s_wxluaarg_Enumeration, &s_wxluaarg_String, &s_wxluaarg_String, 0 } }, --- 485,489 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxXmlNode_methods[] = { { LuaConstructor, "wxXmlNodeDefault", wxLua_wxXmlNodeDefault_constructor, 0, 0, { 0 } }, { LuaConstructor, "wxXmlNode", wxLua_wxXmlNode_constructor, 3, 2, { &s_wxluaarg_Enumeration, &s_wxluaarg_String, &s_wxluaarg_String, 0 } }, *************** *** 530,536 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxXmlNode_methods = s_wxXmlNode_methods; ! int wxXmlNode_methodCount = sizeof(s_wxXmlNode_methods)/sizeof(s_wxXmlNode_methods[0]); #endif // wxLUA_USE_wxXMLResource --- 530,534 ---- }; ! int wxXmlNode_methodCount = sizeof(wxXmlNode_methods)/sizeof(wxXmlNode_methods[0]); #endif // wxLUA_USE_wxXMLResource *************** *** 697,701 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxXmlProperty_methods[] = { { LuaConstructor, "wxXmlProperty", wxLua_wxXmlProperty_constructor, 3, 3, { &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluatag_wxXmlProperty, 0 } }, { LuaConstructor, "wxXmlPropertyDefault", wxLua_wxXmlPropertyDefault_constructor, 0, 0, { 0 } }, --- 695,699 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxXmlProperty_methods[] = { { LuaConstructor, "wxXmlProperty", wxLua_wxXmlProperty_constructor, 3, 3, { &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluatag_wxXmlProperty, 0 } }, { LuaConstructor, "wxXmlPropertyDefault", wxLua_wxXmlPropertyDefault_constructor, 0, 0, { 0 } }, *************** *** 716,722 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxXmlProperty_methods = s_wxXmlProperty_methods; ! int wxXmlProperty_methodCount = sizeof(s_wxXmlProperty_methods)/sizeof(s_wxXmlProperty_methods[0]); #endif // wxLUA_USE_wxXMLResource --- 714,718 ---- }; ! int wxXmlProperty_methodCount = sizeof(wxXmlProperty_methods)/sizeof(wxXmlProperty_methods[0]); #endif // wxLUA_USE_wxXMLResource *************** *** 936,940 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxXmlDocument_methods[] = { { LuaConstructor, "wxXmlDocumentDefault", wxLua_wxXmlDocumentDefault_constructor, 0, 0, { 0 } }, { LuaConstructor, "wxXmlDocument", wxLua_wxXmlDocument_constructor, 2, 1, { &s_wxluaarg_String, &s_wxluaarg_String, 0 } }, --- 932,936 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxXmlDocument_methods[] = { { LuaConstructor, "wxXmlDocumentDefault", wxLua_wxXmlDocumentDefault_constructor, 0, 0, { 0 } }, { LuaConstructor, "wxXmlDocument", wxLua_wxXmlDocument_constructor, 2, 1, { &s_wxluaarg_String, &s_wxluaarg_String, 0 } }, *************** *** 958,964 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxXmlDocument_methods = s_wxXmlDocument_methods; ! int wxXmlDocument_methodCount = sizeof(s_wxXmlDocument_methods)/sizeof(s_wxXmlDocument_methods[0]); #endif // wxLUA_USE_wxXMLResource --- 954,958 ---- }; ! int wxXmlDocument_methodCount = sizeof(wxXmlDocument_methods)/sizeof(wxXmlDocument_methods[0]); #endif // wxLUA_USE_wxXMLResource *************** *** 982,992 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxXmlResourceHandler_methods[] = { { LuaDelete, "wxXmlResourceHandler", wxLua_wxXmlResourceHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxXmlResourceHandler_methods = s_wxXmlResourceHandler_methods; ! int wxXmlResourceHandler_methodCount = sizeof(s_wxXmlResourceHandler_methods)/sizeof(s_wxXmlResourceHandler_methods[0]); #endif // wxLUA_USE_wxXMLResource --- 976,984 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxXmlResourceHandler_methods[] = { { LuaDelete, "wxXmlResourceHandler", wxLua_wxXmlResourceHandler_destructor, 0, 0, {0} }, }; ! int wxXmlResourceHandler_methodCount = sizeof(wxXmlResourceHandler_methods)/sizeof(wxXmlResourceHandler_methods[0]); #endif // wxLUA_USE_wxXMLResource *************** *** 1565,1569 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxXmlResource_methods[] = { #if (wxLUA_USE_wxXMLResource) && (wxLUA_USE_wxBitmap) --- 1557,1561 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxXmlResource_methods[] = { #if (wxLUA_USE_wxXMLResource) && (wxLUA_USE_wxBitmap) *************** *** 1624,1630 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxXmlResource_methods = s_wxXmlResource_methods; ! int wxXmlResource_methodCount = sizeof(s_wxXmlResource_methods)/sizeof(s_wxXmlResource_methods[0]); #endif // wxLUA_USE_wxXMLResource --- 1616,1620 ---- }; ! int wxXmlResource_methodCount = sizeof(wxXmlResource_methods)/sizeof(wxXmlResource_methods[0]); #endif // wxLUA_USE_wxXMLResource Index: defsutil.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/defsutil.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** defsutil.cpp 9 Jun 2006 22:51:31 -0000 1.18 --- defsutil.cpp 12 Dec 2006 07:09:39 -0000 1.19 *************** *** 308,312 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxProcess_methods[] = { #if ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) --- 308,312 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxProcess_methods[] = { #if ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) *************** *** 336,342 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxProcess_methods = s_wxProcess_methods; ! int wxProcess_methodCount = sizeof(s_wxProcess_methods)/sizeof(s_wxProcess_methods[0]); #endif // wxLUA_USE_wxProcess --- 336,340 ---- }; ! int wxProcess_methodCount = sizeof(wxProcess_methods)/sizeof(wxProcess_methods[0]); #endif // wxLUA_USE_wxProcess *************** *** 671,675 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxMouseState_methods[] = { { LuaConstructor, "wxMouseState", wxLua_wxMouseState_constructor, 0, 0, { 0 } }, { LuaMethod, "GetX", wxLua_wxMouseState_GetX, 0, 0, { 0 } }, --- 669,673 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxMouseState_methods[] = { { LuaConstructor, "wxMouseState", wxLua_wxMouseState_constructor, 0, 0, { 0 } }, { LuaMethod, "GetX", wxLua_wxMouseState_GetX, 0, 0, { 0 } }, *************** *** 696,702 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxMouseState_methods = s_wxMouseState_methods; ! int wxMouseState_methodCount = sizeof(s_wxMouseState_methods)/sizeof(s_wxMouseState_methods[0]); #endif // wxCHECK_VERSION(2,7,0) --- 694,698 ---- }; ! int wxMouseState_methodCount = sizeof(wxMouseState_methods)/sizeof(wxMouseState_methods[0]); #endif // wxCHECK_VERSION(2,7,0) *************** *** 766,770 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxBusyCursor_methods[] = { #if (wxLUA_USE_wxBusyCursor) && (wxLUA_USE_wxCursor) --- 762,766 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxBusyCursor_methods[] = { #if (wxLUA_USE_wxBusyCursor) && (wxLUA_USE_wxCursor) *************** *** 776,782 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxBusyCursor_methods = s_wxBusyCursor_methods; ! int wxBusyCursor_methodCount = sizeof(s_wxBusyCursor_methods)/sizeof(s_wxBusyCursor_methods[0]); #endif // wxLUA_USE_wxBusyCursor --- 772,776 ---- }; ! int wxBusyCursor_methodCount = sizeof(wxBusyCursor_methods)/sizeof(wxBusyCursor_methods[0]); #endif // wxLUA_USE_wxBusyCursor *************** *** 841,845 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxBusyInfo_methods[] = { { LuaConstructor, "wxBusyInfo", wxLua_wxBusyInfo_constructor, 2, 1, { &s_wxluaarg_String, &s_wxluatag_wxWindow, 0 } }, { LuaDelete, "wxBusyInfo", wxLua_wxBusyInfo_destructor, 0, 0, {0} }, --- 835,839 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxBusyInfo_methods[] = { { LuaConstructor, "wxBusyInfo", wxLua_wxBusyInfo_constructor, 2, 1, { &s_wxluaarg_String, &s_wxluatag_wxWindow, 0 } }, { LuaDelete, "wxBusyInfo", wxLua_wxBusyInfo_destructor, 0, 0, {0} }, *************** *** 847,853 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxBusyInfo_methods = s_wxBusyInfo_methods; ! int wxBusyInfo_methodCount = sizeof(s_wxBusyInfo_methods)/sizeof(s_wxBusyInfo_methods[0]); #endif // wxLUA_USE_wxBusyInfo && wxUSE_BUSYINFO --- 841,845 ---- }; ! int wxBusyInfo_methodCount = sizeof(wxBusyInfo_methods)/sizeof(wxBusyInfo_methods[0]); #endif // wxLUA_USE_wxBusyInfo && wxUSE_BUSYINFO Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxlua.cpp,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** wxlua.cpp 6 Nov 2006 06:11:44 -0000 1.21 --- wxlua.cpp 12 Dec 2006 07:09:41 -0000 1.22 *************** *** 63,74 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxLuaState_methods[] = { { LuaDelete, "wxLuaState", wxLua_wxLuaState_destructor, 0, 0, {0} }, { LuaMethod, "Delete", wxLua_wxLuaState_Delete, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxLuaState_methods = s_wxLuaState_methods; ! int wxLuaState_methodCount = sizeof(s_wxLuaState_methods)/sizeof(s_wxLuaState_methods[0]); // ------------------------------------------------------------------------------------------------- --- 63,72 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaState_methods[] = { { LuaDelete, "wxLuaState", wxLua_wxLuaState_destructor, 0, 0, {0} }, { LuaMethod, "Delete", wxLua_wxLuaState_Delete, 0, 0, {0} }, }; ! int wxLuaState_methodCount = sizeof(wxLuaState_methods)/sizeof(wxLuaState_methods[0]); // ------------------------------------------------------------------------------------------------- *************** *** 202,206 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxLuaObject_methods[] = { { LuaConstructor, "wxLuaObject", wxLua_wxLuaObject_constructor, 0, 0, { 0 } }, { LuaMethod, "SetObject", wxLua_wxLuaObject_SetObject, 1, 0, { &s_wxluaarg_Number, 0 } }, --- 200,204 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaObject_methods[] = { { LuaConstructor, "wxLuaObject", wxLua_wxLuaObject_constructor, 0, 0, { 0 } }, { LuaMethod, "SetObject", wxLua_wxLuaObject_SetObject, 1, 0, { &s_wxluaarg_Number, 0 } }, *************** *** 216,222 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxLuaObject_methods = s_wxLuaObject_methods; ! int wxLuaObject_methodCount = sizeof(s_wxLuaObject_methods)/sizeof(s_wxLuaObject_methods[0]); --- 214,218 ---- }; ! int wxLuaObject_methodCount = sizeof(wxLuaObject_methods)/sizeof(wxLuaObject_methods[0]); *************** *** 318,322 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxLuaPrintout_methods[] = { { LuaConstructor, "wxLuaPrintout", wxLua_wxLuaPrintout_constructor, 2, 0, { &s_wxluaarg_String, &s_wxluatag_wxLuaObject, 0 } }, { LuaMethod, "GetID", wxLua_wxLuaPrintout_GetID, 0, 0, { 0 } }, --- 314,318 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaPrintout_methods[] = { { LuaConstructor, "wxLuaPrintout", wxLua_wxLuaPrintout_constructor, 2, 0, { &s_wxluaarg_String, &s_wxluatag_wxLuaObject, 0 } }, { LuaMethod, "GetID", wxLua_wxLuaPrintout_GetID, 0, 0, { 0 } }, *************** *** 326,332 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxLuaPrintout_methods = s_wxLuaPrintout_methods; ! int wxLuaPrintout_methodCount = sizeof(s_wxLuaPrintout_methods)/sizeof(s_wxLuaPrintout_methods[0]); #endif // wxLUA_USE_wxLuaPrintout --- 322,326 ---- }; ! int wxLuaPrintout_methodCount = sizeof(wxLuaPrintout_methods)/sizeof(wxLuaPrintout_methods[0]); #endif // wxLUA_USE_wxLuaPrintout *************** *** 385,389 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxLuaHtmlWindow_methods[] = { #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) --- 379,383 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaHtmlWindow_methods[] = { #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) *************** *** 394,400 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxLuaHtmlWindow_methods = s_wxLuaHtmlWindow_methods; ! int wxLuaHtmlWindow_methodCount = sizeof(s_wxLuaHtmlWindow_methods)/sizeof(s_wxLuaHtmlWindow_methods[0]); #endif // wxLUA_USE_wxLuaHtmlWindow --- 388,392 ---- }; ! int wxLuaHtmlWindow_methodCount = sizeof(wxLuaHtmlWindow_methods)/sizeof(wxLuaHtmlWindow_methods[0]); #endif // wxLUA_USE_wxLuaHtmlWindow *************** *** 503,507 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxLuaHtmlWinTagEvent_methods[] = { #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML) --- 495,499 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaHtmlWinTagEvent_methods[] = { #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML) *************** *** 520,526 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxLuaHtmlWinTagEvent_methods = s_wxLuaHtmlWinTagEvent_methods; ! int wxLuaHtmlWinTagEvent_methodCount = sizeof(s_wxLuaHtmlWinTagEvent_methods)/sizeof(s_wxLuaHtmlWinTagEvent_methods[0]); #endif // wxLUA_USE_wxLuaHtmlWindow --- 512,516 ---- }; ! int wxLuaHtmlWinTagEvent_methodCount = sizeof(wxLuaHtmlWinTagEvent_methods)/sizeof(wxLuaHtmlWinTagEvent_methods[0]); #endif // wxLUA_USE_wxLuaHtmlWindow *************** *** 590,594 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxLuaTreeItemData_methods[] = { { LuaConstructor, "wxLuaTreeItemData", wxLua_wxLuaTreeItemData_constructor, 1, 0, { &s_wxluaarg_Number, 0 } }, { LuaMethod, "GetValue", wxLua_wxLuaTreeItemData_GetValue, 0, 0, { 0 } }, --- 580,584 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaTreeItemData_methods[] = { { LuaConstructor, "wxLuaTreeItemData", wxLua_wxLuaTreeItemData_constructor, 1, 0, { &s_wxluaarg_Number, 0 } }, { LuaMethod, "GetValue", wxLua_wxLuaTreeItemData_GetValue, 0, 0, { 0 } }, *************** *** 599,605 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxLuaTreeItemData_methods = s_wxLuaTreeItemData_methods; ! int wxLuaTreeItemData_methodCount = sizeof(s_wxLuaTreeItemData_methods)/sizeof(s_wxLuaTreeItemData_methods[0]); #endif // wxLUA_USE_wxTreeCtrl --- 589,593 ---- }; ! int wxLuaTreeItemData_methodCount = sizeof(wxLuaTreeItemData_methods)/sizeof(wxLuaTreeItemData_methods[0]); #endif // wxLUA_USE_wxTreeCtrl Index: image.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/image.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** image.cpp 7 Dec 2006 06:32:43 -0000 1.18 --- image.cpp 12 Dec 2006 07:09:39 -0000 1.19 *************** *** 1424,1428 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxImage_methods[] = { #if (wxLUA_USE_wxBitmap) && (wxLUA_USE_wxImage) --- 1424,1428 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxImage_methods[] = { #if (wxLUA_USE_wxBitmap) && (wxLUA_USE_wxImage) *************** *** 1522,1528 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxImage_methods = s_wxImage_methods; ! int wxImage_methodCount = sizeof(s_wxImage_methods)/sizeof(s_wxImage_methods[0]); #endif // wxLUA_USE_wxImage --- 1522,1526 ---- }; ! int wxImage_methodCount = sizeof(wxImage_methods)/sizeof(wxImage_methods[0]); #endif // wxLUA_USE_wxImage *************** *** 1747,1751 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxImageHandler_methods[] = { #if (wxUSE_STREAMS) && (wxLUA_USE_wxImage) --- 1745,1749 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxImageHandler_methods[] = { #if (wxUSE_STREAMS) && (wxLUA_USE_wxImage) *************** *** 1775,1781 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxImageHandler_methods = s_wxImageHandler_methods; ! int wxImageHandler_methodCount = sizeof(s_wxImageHandler_methods)/sizeof(s_wxImageHandler_methods[0]); #endif // wxLUA_USE_wxImage --- 1773,1777 ---- }; ! int wxImageHandler_methodCount = sizeof(wxImageHandler_methods)/sizeof(wxImageHandler_methods[0]); #endif // wxLUA_USE_wxImage *************** *** 1815,1826 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxBMPHandler_methods[] = { { LuaConstructor, "wxBMPHandler", wxLua_wxBMPHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxBMPHandler", wxLua_wxBMPHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxBMPHandler_methods = s_wxBMPHandler_methods; ! int wxBMPHandler_methodCount = sizeof(s_wxBMPHandler_methods)/sizeof(s_wxBMPHandler_methods[0]); #endif // wxLUA_USE_wxImage --- 1811,1820 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxBMPHandler_methods[] = { { LuaConstructor, "wxBMPHandler", wxLua_wxBMPHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxBMPHandler", wxLua_wxBMPHandler_destructor, 0, 0, {0} }, }; ! int wxBMPHandler_methodCount = sizeof(wxBMPHandler_methods)/sizeof(wxBMPHandler_methods[0]); #endif // wxLUA_USE_wxImage *************** *** 1860,1871 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxICOHandler_methods[] = { { LuaConstructor, "wxICOHandler", wxLua_wxICOHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxICOHandler", wxLua_wxICOHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxICOHandler_methods = s_wxICOHandler_methods; ! int wxICOHandler_methodCount = sizeof(s_wxICOHandler_methods)/sizeof(s_wxICOHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage) --- 1854,1863 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxICOHandler_methods[] = { { LuaConstructor, "wxICOHandler", wxLua_wxICOHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxICOHandler", wxLua_wxICOHandler_destructor, 0, 0, {0} }, }; ! int wxICOHandler_methodCount = sizeof(wxICOHandler_methods)/sizeof(wxICOHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage) *************** *** 1905,1916 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxCURHandler_methods[] = { { LuaConstructor, "wxCURHandler", wxLua_wxCURHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxCURHandler", wxLua_wxCURHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxCURHandler_methods = s_wxCURHandler_methods; ! int wxCURHandler_methodCount = sizeof(s_wxCURHandler_methods)/sizeof(s_wxCURHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage) --- 1897,1906 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxCURHandler_methods[] = { { LuaConstructor, "wxCURHandler", wxLua_wxCURHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxCURHandler", wxLua_wxCURHandler_destructor, 0, 0, {0} }, }; ! int wxCURHandler_methodCount = sizeof(wxCURHandler_methods)/sizeof(wxCURHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage) *************** *** 1950,1961 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxANIHandler_methods[] = { { LuaConstructor, "wxANIHandler", wxLua_wxANIHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxANIHandler", wxLua_wxANIHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxANIHandler_methods = s_wxANIHandler_methods; ! int wxANIHandler_methodCount = sizeof(s_wxANIHandler_methods)/sizeof(s_wxANIHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage) --- 1940,1949 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxANIHandler_methods[] = { { LuaConstructor, "wxANIHandler", wxLua_wxANIHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxANIHandler", wxLua_wxANIHandler_destructor, 0, 0, {0} }, }; ! int wxANIHandler_methodCount = sizeof(wxANIHandler_methods)/sizeof(wxANIHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage) *************** *** 1995,2006 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxIFFHandler_methods[] = { { LuaConstructor, "wxIFFHandler", wxLua_wxIFFHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxIFFHandler", wxLua_wxIFFHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxIFFHandler_methods = s_wxIFFHandler_methods; ! int wxIFFHandler_methodCount = sizeof(s_wxIFFHandler_methods)/sizeof(s_wxIFFHandler_methods[0]); #endif // (wxUSE_IMAGE && wxUSE_IFF) && (wxLUA_USE_wxImage) --- 1983,1992 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxIFFHandler_methods[] = { { LuaConstructor, "wxIFFHandler", wxLua_wxIFFHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxIFFHandler", wxLua_wxIFFHandler_destructor, 0, 0, {0} }, }; ! int wxIFFHandler_methodCount = sizeof(wxIFFHandler_methods)/sizeof(wxIFFHandler_methods[0]); #endif // (wxUSE_IMAGE && wxUSE_IFF) && (wxLUA_USE_wxImage) *************** *** 2040,2051 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGIFHandler_methods[] = { { LuaConstructor, "wxGIFHandler", wxLua_wxGIFHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGIFHandler", wxLua_wxGIFHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGIFHandler_methods = s_wxGIFHandler_methods; ! int wxGIFHandler_methodCount = sizeof(s_wxGIFHandler_methods)/sizeof(s_wxGIFHandler_methods[0]); #endif // (wxUSE_GIF) && (wxLUA_USE_wxImage) --- 2026,2035 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGIFHandler_methods[] = { { LuaConstructor, "wxGIFHandler", wxLua_wxGIFHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGIFHandler", wxLua_wxGIFHandler_destructor, 0, 0, {0} }, }; ! int wxGIFHandler_methodCount = sizeof(wxGIFHandler_methods)/sizeof(wxGIFHandler_methods[0]); #endif // (wxUSE_GIF) && (wxLUA_USE_wxImage) *************** *** 2085,2096 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxJPEGHandler_methods[] = { { LuaConstructor, "wxJPEGHandler", wxLua_wxJPEGHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxJPEGHandler", wxLua_wxJPEGHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxJPEGHandler_methods = s_wxJPEGHandler_methods; ! int wxJPEGHandler_methodCount = sizeof(s_wxJPEGHandler_methods)/sizeof(s_wxJPEGHandler_methods[0]); #endif // (wxUSE_LIBJPEG) && (wxLUA_USE_wxImage) --- 2069,2078 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxJPEGHandler_methods[] = { { LuaConstructor, "wxJPEGHandler", wxLua_wxJPEGHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxJPEGHandler", wxLua_wxJPEGHandler_destructor, 0, 0, {0} }, }; ! int wxJPEGHandler_methodCount = sizeof(wxJPEGHandler_methods)/sizeof(wxJPEGHandler_methods[0]); #endif // (wxUSE_LIBJPEG) && (wxLUA_USE_wxImage) *************** *** 2130,2141 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxPCXHandler_methods[] = { { LuaConstructor, "wxPCXHandler", wxLua_wxPCXHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxPCXHandler", wxLua_wxPCXHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxPCXHandler_methods = s_wxPCXHandler_methods; ! int wxPCXHandler_methodCount = sizeof(s_wxPCXHandler_methods)/sizeof(s_wxPCXHandler_methods[0]); #endif // (wxUSE_PCX) && (wxLUA_USE_wxImage) --- 2112,2121 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxPCXHandler_methods[] = { { LuaConstructor, "wxPCXHandler", wxLua_wxPCXHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxPCXHandler", wxLua_wxPCXHandler_destructor, 0, 0, {0} }, }; ! int wxPCXHandler_methodCount = sizeof(wxPCXHandler_methods)/sizeof(wxPCXHandler_methods[0]); #endif // (wxUSE_PCX) && (wxLUA_USE_wxImage) *************** *** 2175,2186 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxPNGHandler_methods[] = { { LuaConstructor, "wxPNGHandler", wxLua_wxPNGHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxPNGHandler", wxLua_wxPNGHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxPNGHandler_methods = s_wxPNGHandler_methods; ! int wxPNGHandler_methodCount = sizeof(s_wxPNGHandler_methods)/sizeof(s_wxPNGHandler_methods[0]); #endif // (wxUSE_LIBPNG) && (wxLUA_USE_wxImage) --- 2155,2164 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxPNGHandler_methods[] = { { LuaConstructor, "wxPNGHandler", wxLua_wxPNGHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxPNGHandler", wxLua_wxPNGHandler_destructor, 0, 0, {0} }, }; ! int wxPNGHandler_methodCount = sizeof(wxPNGHandler_methods)/sizeof(wxPNGHandler_methods[0]); #endif // (wxUSE_LIBPNG) && (wxLUA_USE_wxImage) *************** *** 2220,2231 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxPNMHandler_methods[] = { { LuaConstructor, "wxPNMHandler", wxLua_wxPNMHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxPNMHandler", wxLua_wxPNMHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxPNMHandler_methods = s_wxPNMHandler_methods; ! int wxPNMHandler_methodCount = sizeof(s_wxPNMHandler_methods)/sizeof(s_wxPNMHandler_methods[0]); #endif // (wxUSE_PNM) && (wxLUA_USE_wxImage) --- 2198,2207 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxPNMHandler_methods[] = { { LuaConstructor, "wxPNMHandler", wxLua_wxPNMHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxPNMHandler", wxLua_wxPNMHandler_destructor, 0, 0, {0} }, }; ! int wxPNMHandler_methodCount = sizeof(wxPNMHandler_methods)/sizeof(wxPNMHandler_methods[0]); #endif // (wxUSE_PNM) && (wxLUA_USE_wxImage) *************** *** 2265,2276 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxTIFFHandler_methods[] = { { LuaConstructor, "wxTIFFHandler", wxLua_wxTIFFHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxTIFFHandler", wxLua_wxTIFFHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxTIFFHandler_methods = s_wxTIFFHandler_methods; ! int wxTIFFHandler_methodCount = sizeof(s_wxTIFFHandler_methods)/sizeof(s_wxTIFFHandler_methods[0]); #endif // (wxUSE_LIBTIFF) && (wxLUA_USE_wxImage) --- 2241,2250 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxTIFFHandler_methods[] = { { LuaConstructor, "wxTIFFHandler", wxLua_wxTIFFHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxTIFFHandler", wxLua_wxTIFFHandler_destructor, 0, 0, {0} }, }; ! int wxTIFFHandler_methodCount = sizeof(wxTIFFHandler_methods)/sizeof(wxTIFFHandler_methods[0]); #endif // (wxUSE_LIBTIFF) && (wxLUA_USE_wxImage) *************** *** 2310,2321 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxXPMHandler_methods[] = { { LuaConstructor, "wxXPMHandler", wxLua_wxXPMHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxXPMHandler", wxLua_wxXPMHandler_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxXPMHandler_methods = s_wxXPMHandler_methods; ! int wxXPMHandler_methodCount = sizeof(s_wxXPMHandler_methods)/sizeof(s_wxXPMHandler_methods[0]); #endif // wxLUA_USE_wxImage --- 2284,2293 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxXPMHandler_methods[] = { { LuaConstructor, "wxXPMHandler", wxLua_wxXPMHandler_constructor, 0, 0, { 0 } }, { LuaDelete, "wxXPMHandler", wxLua_wxXPMHandler_destructor, 0, 0, {0} }, }; ! int wxXPMHandler_methodCount = sizeof(wxXPMHandler_methods)/sizeof(wxXPMHandler_methods[0]); #endif // wxLUA_USE_wxImage *************** *** 2421,2425 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxArtProvider_methods[] = { #if ((wxLUA_USE_wxBitmap) && (wxLUA_USE_wxPointSizeRect)) && (wxLUA_USE_wxArtProvider) --- 2393,2397 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxArtProvider_methods[] = { #if ((wxLUA_USE_wxBitmap) && (wxLUA_USE_wxPointSizeRect)) && (wxLUA_USE_wxArtProvider) *************** *** 2440,2446 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxArtProvider_methods = s_wxArtProvider_methods; ! int wxArtProvider_methodCount = sizeof(s_wxArtProvider_methods)/sizeof(s_wxArtProvider_methods[0]); #endif // wxLUA_USE_wxArtProvider --- 2412,2416 ---- }; ! int wxArtProvider_methodCount = sizeof(wxArtProvider_methods)/sizeof(wxArtProvider_methods[0]); #endif // wxLUA_USE_wxArtProvider Index: mdi.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/mdi.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** mdi.cpp 7 Dec 2006 06:32:43 -0000 1.17 --- mdi.cpp 12 Dec 2006 07:09:39 -0000 1.18 *************** *** 45,55 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxMDIClientWindow_methods[] = { { LuaDelete, "wxMDIClientWindow", wxLua_wxMDIClientWindow_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxMDIClientWindow_methods = s_wxMDIClientWindow_methods; ! int wxMDIClientWindow_methodCount = sizeof(s_wxMDIClientWindow_methods)/sizeof(s_wxMDIClientWindow_methods[0]); #endif // wxLUA_USE_MDI --- 45,53 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxMDIClientWindow_methods[] = { { LuaDelete, "wxMDIClientWindow", wxLua_wxMDIClientWindow_destructor, 0, 0, {0} }, }; ! int wxMDIClientWindow_methodCount = sizeof(wxMDIClientWindow_methods)/sizeof(wxMDIClientWindow_methods[0]); #endif // wxLUA_USE_MDI *************** *** 332,336 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxMDIParentFrame_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxPointSizeRect) --- 330,334 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxMDIParentFrame_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxPointSizeRect) *************** *** 369,375 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxMDIParentFrame_methods = s_wxMDIParentFrame_methods; ! int wxMDIParentFrame_methodCount = sizeof(s_wxMDIParentFrame_methods)/sizeof(s_wxMDIParentFrame_methods[0]); #endif // wxLUA_USE_MDI --- 367,371 ---- }; ! int wxMDIParentFrame_methodCount = sizeof(wxMDIParentFrame_methods)/sizeof(wxMDIParentFrame_methods[0]); #endif // wxLUA_USE_MDI *************** *** 516,520 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxMDIChildFrame_methods[] = { #if (defined(__WXMSW__)) && (wxLUA_USE_MDI) --- 512,516 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxMDIChildFrame_methods[] = { #if (defined(__WXMSW__)) && (wxLUA_USE_MDI) *************** *** 534,540 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxMDIChildFrame_methods = s_wxMDIChildFrame_methods; ! int wxMDIChildFrame_methodCount = sizeof(s_wxMDIChildFrame_methods)/sizeof(s_wxMDIChildFrame_methods[0]); #endif // wxLUA_USE_MDI --- 530,534 ---- }; ! int wxMDIChildFrame_methodCount = sizeof(wxMDIChildFrame_methods)/sizeof(wxMDIChildFrame_methods[0]); #endif // wxLUA_USE_MDI *************** *** 656,660 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxDocChildFrame_methods[] = { #if ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI)) && (wxLUA_USE_wxPointSizeRect) --- 650,654 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxDocChildFrame_methods[] = { #if ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI)) && (wxLUA_USE_wxPointSizeRect) *************** *** 671,677 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxDocChildFrame_methods = s_wxDocChildFrame_methods; ! int wxDocChildFrame_methodCount = sizeof(s_wxDocChildFrame_methods)/sizeof(s_wxDocChildFrame_methods[0]); #endif // wxLUA_USE_MDI --- 665,669 ---- }; ! int wxDocChildFrame_methodCount = sizeof(wxDocChildFrame_methods)/sizeof(wxDocChildFrame_methods[0]); #endif // wxLUA_USE_MDI *************** *** 1323,1327 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxDocManager_methods[] = { #if (!wxCHECK_VERSION(2,6,0)) && (wxLUA_USE_MDI) --- 1315,1319 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxDocManager_methods[] = { #if (!wxCHECK_VERSION(2,6,0)) && (wxLUA_USE_MDI) *************** *** 1402,1408 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxDocManager_methods = s_wxDocManager_methods; ! int wxDocManager_methodCount = sizeof(s_wxDocManager_methods)/sizeof(s_wxDocManager_methods[0]); #endif // wxLUA_USE_MDI --- 1394,1398 ---- }; ! int wxDocManager_methodCount = sizeof(wxDocManager_methods)/sizeof(wxDocManager_methods[0]); #endif // wxLUA_USE_MDI *************** *** 1464,1468 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxDocParentFrame_methods[] = { #if ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI)) && (wxLUA_USE_wxPointSizeRect) --- 1454,1458 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxDocParentFrame_methods[] = { #if ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI)) && (wxLUA_USE_wxPointSizeRect) *************** *** 1473,1479 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxDocParentFrame_methods = s_wxDocParentFrame_methods; ! int wxDocParentFrame_methodCount = sizeof(s_wxDocParentFrame_methods)/sizeof(s_wxDocParentFrame_methods[0]); #endif // wxLUA_USE_MDI --- 1463,1467 ---- }; ! int wxDocParentFrame_methodCount = sizeof(wxDocParentFrame_methods)/sizeof(wxDocParentFrame_methods[0]); #endif // wxLUA_USE_MDI *************** *** 1823,1827 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxDocTemplate_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxClassInfo) --- 1811,1815 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxDocTemplate_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxClassInfo) *************** *** 1862,1868 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxDocTemplate_methods = s_wxDocTemplate_methods; ! int wxDocTemplate_methodCount = sizeof(s_wxDocTemplate_methods)/sizeof(s_wxDocTemplate_methods[0]); #endif // wxLUA_USE_MDI --- 1850,1854 ---- }; ! int wxDocTemplate_methodCount = sizeof(wxDocTemplate_methods)/sizeof(wxDocTemplate_methods[0]); #endif // wxLUA_USE_MDI *************** *** 2407,2411 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxDocument_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxCommandProcessor) --- 2393,2397 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxDocument_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxCommandProcessor) *************** *** 2464,2470 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxDocument_methods = s_wxDocument_methods; ! int wxDocument_methodCount = sizeof(s_wxDocument_methods)/sizeof(s_wxDocument_methods[0]); #endif // wxLUA_USE_MDI --- 2450,2454 ---- }; ! int wxDocument_methodCount = sizeof(wxDocument_methods)/sizeof(wxDocument_methods[0]); #endif // wxLUA_USE_MDI *************** *** 2732,2736 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxView_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxFrame) --- 2716,2720 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxView_methods[] = { #if (wxLUA_USE_MDI) && (wxLUA_USE_wxFrame) *************** *** 2769,2775 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxView_methods = s_wxView_methods; ! int wxView_methodCount = sizeof(s_wxView_methods)/sizeof(s_wxView_methods[0]); #endif // wxLUA_USE_MDI --- 2753,2757 ---- }; ! int wxView_methodCount = sizeof(wxView_methods)/sizeof(wxView_methods[0]); #endif // wxLUA_USE_MDI *************** *** 3143,3147 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxCommandProcessor_methods[] = { #if (wxLUA_USE_wxList) && (wxLUA_USE_wxCommandProcessor) --- 3125,3129 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxCommandProcessor_methods[] = { #if (wxLUA_USE_wxList) && (wxLUA_USE_wxCommandProcessor) *************** *** 3178,3184 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxCommandProcessor_methods = s_wxCommandProcessor_methods; ! int wxCommandProcessor_methodCount = sizeof(s_wxCommandProcessor_methods)/sizeof(s_wxCommandProcessor_methods[0]); #endif // wxLUA_USE_wxCommandProcessor --- 3160,3164 ---- }; ! int wxCommandProcessor_methodCount = sizeof(wxCommandProcessor_methods)/sizeof(wxCommandProcessor_methods[0]); #endif // wxLUA_USE_wxCommandProcessor *************** *** 3262,3266 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxCommand_methods[] = { { LuaMethod, "CanUndo", wxLua_wxCommand_CanUndo, 0, 0, { 0 } }, { LuaMethod, "Do", wxLua_wxCommand_Do, 0, 0, { 0 } }, --- 3242,3246 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxCommand_methods[] = { { LuaMethod, "CanUndo", wxLua_wxCommand_CanUndo, 0, 0, { 0 } }, { LuaMethod, "Do", wxLua_wxCommand_Do, 0, 0, { 0 } }, *************** *** 3270,3276 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxCommand_methods = s_wxCommand_methods; ! int wxCommand_methodCount = sizeof(s_wxCommand_methods)/sizeof(s_wxCommand_methods[0]); #endif // wxLUA_USE_wxCommandProcessor --- 3250,3254 ---- }; ! int wxCommand_methodCount = sizeof(wxCommand_methods)/sizeof(wxCommand_methods[0]); #endif // wxLUA_USE_wxCommandProcessor *************** *** 3481,3485 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxFileHistory_methods[] = { #if (wxLUA_USE_wxConfig) && (wxLUA_USE_wxFileHistory) --- 3459,3463 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxFileHistory_methods[] = { #if (wxLUA_USE_wxConfig) && (wxLUA_USE_wxFileHistory) *************** *** 3505,3511 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxFileHistory_methods = s_wxFileHistory_methods; ! int wxFileHistory_methodCount = sizeof(s_wxFileHistory_methods)/sizeof(s_wxFileHistory_methods[0]); #endif // wxLUA_USE_wxFileHistory --- 3483,3487 ---- }; ! int wxFileHistory_methodCount = sizeof(wxFileHistory_methods)/sizeof(wxFileHistory_methods[0]); #endif // wxLUA_USE_wxFileHistory Index: config.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/config.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** config.cpp 9 Jun 2006 22:51:31 -0000 1.20 --- config.cpp 12 Dec 2006 07:09:39 -0000 1.21 *************** *** 719,723 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxConfigBase_methods[] = { { LuaConstructor, "wxConfigGet", wxLua_wxConfigGet_constructor, 1, 0, { &s_wxluaarg_Boolean, 0 } }, { LuaConstructor, "wxConfigCreate", wxLua_wxConfigCreate_constructor, 0, 0, { 0 } }, --- 719,723 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxConfigBase_methods[] = { { LuaConstructor, "wxConfigGet", wxLua_wxConfigGet_constructor, 1, 0, { &s_wxluaarg_Boolean, 0 } }, { LuaConstructor, "wxConfigCreate", wxLua_wxConfigCreate_constructor, 0, 0, { 0 } }, *************** *** 764,770 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxConfigBase_methods = s_wxConfigBase_methods; ! int wxConfigBase_methodCount = sizeof(s_wxConfigBase_methods)/sizeof(s_wxConfigBase_methods[0]); #endif // wxLUA_USE_wxConfig --- 764,768 ---- }; ! int wxConfigBase_methodCount = sizeof(wxConfigBase_methods)/sizeof(wxConfigBase_methods[0]); #endif // wxLUA_USE_wxConfig *************** *** 813,824 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxConfig_methods[] = { { LuaConstructor, "wxConfig", wxLua_wxConfig_constructor, 5, 0, { &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_Number, 0 } }, { LuaDelete, "wxConfig", wxLua_wxConfig_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxConfig_methods = s_wxConfig_methods; ! int wxConfig_methodCount = sizeof(s_wxConfig_methods)/sizeof(s_wxConfig_methods[0]); #endif // wxLUA_USE_wxConfig --- 811,820 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxConfig_methods[] = { { LuaConstructor, "wxConfig", wxLua_wxConfig_constructor, 5, 0, { &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_Number, 0 } }, { LuaDelete, "wxConfig", wxLua_wxConfig_destructor, 0, 0, {0} }, }; ! int wxConfig_methodCount = sizeof(wxConfig_methods)/sizeof(wxConfig_methods[0]); #endif // wxLUA_USE_wxConfig *************** *** 881,885 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxFileConfig_methods[] = { { LuaConstructor, "wxFileConfig", wxLua_wxFileConfig_constructor, 5, 0, { &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_Number, 0 } }, { LuaMethod, "SetUmask", wxLua_wxFileConfig_SetUmask, 1, 1, { &s_wxluaarg_Number, 0 } }, --- 877,881 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxFileConfig_methods[] = { { LuaConstructor, "wxFileConfig", wxLua_wxFileConfig_constructor, 5, 0, { &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_Number, 0 } }, { LuaMethod, "SetUmask", wxLua_wxFileConfig_SetUmask, 1, 1, { &s_wxluaarg_Number, 0 } }, *************** *** 887,893 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxFileConfig_methods = s_wxFileConfig_methods; ! int wxFileConfig_methodCount = sizeof(s_wxFileConfig_methods)/sizeof(s_wxFileConfig_methods[0]); #endif // wxLUA_USE_wxConfig --- 883,887 ---- }; ! int wxFileConfig_methodCount = sizeof(wxFileConfig_methods)/sizeof(wxFileConfig_methods[0]); #endif // wxLUA_USE_wxConfig Index: grid.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/grid.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** grid.cpp 7 Dec 2006 06:32:43 -0000 1.18 --- grid.cpp 12 Dec 2006 07:09:39 -0000 1.19 *************** *** 83,87 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellWorker_methods[] = { { LuaMethod, "IncRef", wxLua_wxGridCellWorker_IncRef, 0, 0, { 0 } }, { LuaMethod, "DecRef", wxLua_wxGridCellWorker_DecRef, 0, 0, { 0 } }, --- 83,87 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellWorker_methods[] = { { LuaMethod, "IncRef", wxLua_wxGridCellWorker_IncRef, 0, 0, { 0 } }, { LuaMethod, "DecRef", wxLua_wxGridCellWorker_DecRef, 0, 0, { 0 } }, *************** *** 90,96 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellWorker_methods = s_wxGridCellWorker_methods; ! int wxGridCellWorker_methodCount = sizeof(s_wxGridCellWorker_methods)/sizeof(s_wxGridCellWorker_methods[0]); #endif // wxLUA_USE_wxGrid --- 90,94 ---- }; ! int wxGridCellWorker_methodCount = sizeof(wxGridCellWorker_methods)/sizeof(wxGridCellWorker_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 146,150 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellRenderer_methods[] = { #if ((wxLUA_USE_wxGrid) && (wxLUA_USE_wxDC)) && (wxLUA_USE_wxPointSizeRect) --- 144,148 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellRenderer_methods[] = { #if ((wxLUA_USE_wxGrid) && (wxLUA_USE_wxDC)) && (wxLUA_USE_wxPointSizeRect) *************** *** 155,161 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellRenderer_methods = s_wxGridCellRenderer_methods; ! int wxGridCellRenderer_methodCount = sizeof(s_wxGridCellRenderer_methods)/sizeof(s_wxGridCellRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 153,157 ---- }; ! int wxGridCellRenderer_methodCount = sizeof(wxGridCellRenderer_methods)/sizeof(wxGridCellRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 192,203 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellStringRenderer_methods[] = { { LuaConstructor, "wxGridCellStringRenderer", wxLua_wxGridCellStringRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellStringRenderer", wxLua_wxGridCellStringRenderer_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellStringRenderer_methods = s_wxGridCellStringRenderer_methods; ! int wxGridCellStringRenderer_methodCount = sizeof(s_wxGridCellStringRenderer_methods)/sizeof(s_wxGridCellStringRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 188,197 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellStringRenderer_methods[] = { { LuaConstructor, "wxGridCellStringRenderer", wxLua_wxGridCellStringRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellStringRenderer", wxLua_wxGridCellStringRenderer_destructor, 0, 0, {0} }, }; ! int wxGridCellStringRenderer_methodCount = sizeof(wxGridCellStringRenderer_methods)/sizeof(wxGridCellStringRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 234,245 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellNumberRenderer_methods[] = { { LuaConstructor, "wxGridCellNumberRenderer", wxLua_wxGridCellNumberRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellNumberRenderer", wxLua_wxGridCellNumberRenderer_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellNumberRenderer_methods = s_wxGridCellNumberRenderer_methods; ! int wxGridCellNumberRenderer_methodCount = sizeof(s_wxGridCellNumberRenderer_methods)/sizeof(s_wxGridCellNumberRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 228,237 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellNumberRenderer_methods[] = { { LuaConstructor, "wxGridCellNumberRenderer", wxLua_wxGridCellNumberRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellNumberRenderer", wxLua_wxGridCellNumberRenderer_destructor, 0, 0, {0} }, }; ! int wxGridCellNumberRenderer_methodCount = sizeof(wxGridCellNumberRenderer_methods)/sizeof(wxGridCellNumberRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 340,344 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellFloatRenderer_methods[] = { { LuaConstructor, "wxGridCellFloatRenderer", wxLua_wxGridCellFloatRenderer_constructor, 2, 0, { &s_wxluaarg_Number, &s_wxluaarg_Number, 0 } }, { LuaMethod, "GetWidth", wxLua_wxGridCellFloatRenderer_GetWidth, 0, 0, { 0 } }, --- 332,336 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellFloatRenderer_methods[] = { { LuaConstructor, "wxGridCellFloatRenderer", wxLua_wxGridCellFloatRenderer_constructor, 2, 0, { &s_wxluaarg_Number, &s_wxluaarg_Number, 0 } }, { LuaMethod, "GetWidth", wxLua_wxGridCellFloatRenderer_GetWidth, 0, 0, { 0 } }, *************** *** 353,359 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellFloatRenderer_methods = s_wxGridCellFloatRenderer_methods; ! int wxGridCellFloatRenderer_methodCount = sizeof(s_wxGridCellFloatRenderer_methods)/sizeof(s_wxGridCellFloatRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 345,349 ---- }; ! int wxGridCellFloatRenderer_methodCount = sizeof(wxGridCellFloatRenderer_methods)/sizeof(wxGridCellFloatRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 390,401 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellBoolRenderer_methods[] = { { LuaConstructor, "wxGridCellBoolRenderer", wxLua_wxGridCellBoolRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellBoolRenderer", wxLua_wxGridCellBoolRenderer_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellBoolRenderer_methods = s_wxGridCellBoolRenderer_methods; ! int wxGridCellBoolRenderer_methodCount = sizeof(s_wxGridCellBoolRenderer_methods)/sizeof(s_wxGridCellBoolRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 380,389 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellBoolRenderer_methods[] = { { LuaConstructor, "wxGridCellBoolRenderer", wxLua_wxGridCellBoolRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellBoolRenderer", wxLua_wxGridCellBoolRenderer_destructor, 0, 0, {0} }, }; ! int wxGridCellBoolRenderer_methodCount = sizeof(wxGridCellBoolRenderer_methods)/sizeof(wxGridCellBoolRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 438,449 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellDateTimeRenderer_methods[] = { { LuaConstructor, "wxGridCellDateTimeRenderer", wxLua_wxGridCellDateTimeRenderer_constructor, 2, 0, { &s_wxluaarg_String, &s_wxluaarg_String, 0 } }, { LuaDelete, "wxGridCellDateTimeRenderer", wxLua_wxGridCellDateTimeRenderer_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellDateTimeRenderer_methods = s_wxGridCellDateTimeRenderer_methods; ! int wxGridCellDateTimeRenderer_methodCount = sizeof(s_wxGridCellDateTimeRenderer_methods)/sizeof(s_wxGridCellDateTimeRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 426,435 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellDateTimeRenderer_methods[] = { { LuaConstructor, "wxGridCellDateTimeRenderer", wxLua_wxGridCellDateTimeRenderer_constructor, 2, 0, { &s_wxluaarg_String, &s_wxluaarg_String, 0 } }, { LuaDelete, "wxGridCellDateTimeRenderer", wxLua_wxGridCellDateTimeRenderer_destructor, 0, 0, {0} }, }; ! int wxGridCellDateTimeRenderer_methodCount = sizeof(wxGridCellDateTimeRenderer_methods)/sizeof(wxGridCellDateTimeRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 484,495 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellEnumRenderer_methods[] = { { LuaConstructor, "wxGridCellEnumRenderer", wxLua_wxGridCellEnumRenderer_constructor, 1, 0, { &s_wxluaarg_String, 0 } }, { LuaDelete, "wxGridCellEnumRenderer", wxLua_wxGridCellEnumRenderer_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellEnumRenderer_methods = s_wxGridCellEnumRenderer_methods; ! int wxGridCellEnumRenderer_methodCount = sizeof(s_wxGridCellEnumRenderer_methods)/sizeof(s_wxGridCellEnumRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 470,479 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellEnumRenderer_methods[] = { { LuaConstructor, "wxGridCellEnumRenderer", wxLua_wxGridCellEnumRenderer_constructor, 1, 0, { &s_wxluaarg_String, 0 } }, { LuaDelete, "wxGridCellEnumRenderer", wxLua_wxGridCellEnumRenderer_destructor, 0, 0, {0} }, }; ! int wxGridCellEnumRenderer_methodCount = sizeof(wxGridCellEnumRenderer_methods)/sizeof(wxGridCellEnumRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 526,537 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellAutoWrapStringRenderer_methods[] = { { LuaConstructor, "wxGridCellAutoWrapStringRenderer", wxLua_wxGridCellAutoWrapStringRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellAutoWrapStringRenderer", wxLua_wxGridCellAutoWrapStringRenderer_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellAutoWrapStringRenderer_methods = s_wxGridCellAutoWrapStringRenderer_methods; ! int wxGridCellAutoWrapStringRenderer_methodCount = sizeof(s_wxGridCellAutoWrapStringRenderer_methods)/sizeof(s_wxGridCellAutoWrapStringRenderer_methods[0]); #endif // wxLUA_USE_wxGrid --- 510,519 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellAutoWrapStringRenderer_methods[] = { { LuaConstructor, "wxGridCellAutoWrapStringRenderer", wxLua_wxGridCellAutoWrapStringRenderer_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellAutoWrapStringRenderer", wxLua_wxGridCellAutoWrapStringRenderer_destructor, 0, 0, {0} }, }; ! int wxGridCellAutoWrapStringRenderer_methodCount = sizeof(wxGridCellAutoWrapStringRenderer_methods)/sizeof(wxGridCellAutoWrapStringRenderer_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 818,822 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellEditor_methods[] = { #if (wxLUA_USE_wxGrid) && (wxLUA_USE_wxPointSizeRect) --- 800,804 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellEditor_methods[] = { #if (wxLUA_USE_wxGrid) && (wxLUA_USE_wxPointSizeRect) *************** *** 843,849 **** }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellEditor_methods = s_wxGridCellEditor_methods; ! int wxGridCellEditor_methodCount = sizeof(s_wxGridCellEditor_methods)/sizeof(s_wxGridCellEditor_methods[0]); #endif // wxLUA_USE_wxGrid --- 825,829 ---- }; ! int wxGridCellEditor_methodCount = sizeof(wxGridCellEditor_methods)/sizeof(wxGridCellEditor_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 880,891 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellTextEditor_methods[] = { { LuaConstructor, "wxGridCellTextEditor", wxLua_wxGridCellTextEditor_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellTextEditor", wxLua_wxGridCellTextEditor_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellTextEditor_methods = s_wxGridCellTextEditor_methods; ! int wxGridCellTextEditor_methodCount = sizeof(s_wxGridCellTextEditor_methods)/sizeof(s_wxGridCellTextEditor_methods[0]); #endif // wxLUA_USE_wxGrid --- 860,869 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellTextEditor_methods[] = { { LuaConstructor, "wxGridCellTextEditor", wxLua_wxGridCellTextEditor_constructor, 0, 0, { 0 } }, { LuaDelete, "wxGridCellTextEditor", wxLua_wxGridCellTextEditor_destructor, 0, 0, {0} }, }; ! int wxGridCellTextEditor_methodCount = sizeof(wxGridCellTextEditor_methods)/sizeof(wxGridCellTextEditor_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 928,939 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellNumberEditor_methods[] = { { LuaConstructor, "wxGridCellNumberEditor", wxLua_wxGridCellNumberEditor_constructor, 2, 0, { &s_wxluaarg_Number, &s_wxluaarg_Number, 0 } }, { LuaDelete, "wxGridCellNumberEditor", wxLua_wxGridCellNumberEditor_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellNumberEditor_methods = s_wxGridCellNumberEditor_methods; ! int wxGridCellNumberEditor_methodCount = sizeof(s_wxGridCellNumberEditor_methods)/sizeof(s_wxGridCellNumberEditor_methods[0]); #endif // wxLUA_USE_wxGrid --- 906,915 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellNumberEditor_methods[] = { { LuaConstructor, "wxGridCellNumberEditor", wxLua_wxGridCellNumberEditor_constructor, 2, 0, { &s_wxluaarg_Number, &s_wxluaarg_Number, 0 } }, { LuaDelete, "wxGridCellNumberEditor", wxLua_wxGridCellNumberEditor_destructor, 0, 0, {0} }, }; ! int wxGridCellNumberEditor_methodCount = sizeof(wxGridCellNumberEditor_methods)/sizeof(wxGridCellNumberEditor_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 976,987 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellFloatEditor_methods[] = { { LuaConstructor, "wxGridCellFloatEditor", wxLua_wxGridCellFloatEditor_constructor, 2, 0, { &s_wxluaarg_Number, &s_wxluaarg_Number, 0 } }, { LuaDelete, "wxGridCellFloatEditor", wxLua_wxGridCellFloatEditor_destructor, 0, 0, {0} }, }; ! // Extern accessor to class method map ! WXLUAMETHOD* wxGridCellFloatEditor_methods = s_wxGridCellFloatEditor_methods; ! int wxGridCellFloatEditor_methodCount = sizeof(s_wxGridCellFloatEditor_methods)/sizeof(s_wxGridCellFloatEditor_methods[0]); #endif // wxLUA_USE_wxGrid --- 952,961 ---- // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxGridCellFloatEditor_methods[] = { { LuaConstructor, "wxGridCellFloatEditor", wxLua_wxGridCellFloatEditor_constructor, 2, 0, { &s_wxluaarg_Number, &s_wxluaarg_Number, 0 } }, { LuaDelete, "wxGridCellFloatEditor", wxLua_wxGridCellFloatEditor_destructor, 0, 0, {0} }, }; ! int wxGridCellFloatEditor_methodCount = sizeof(wxGridCellFloatEditor_methods)/sizeof(wxGridCellFloatEditor_methods[0]); #endif // wxLUA_USE_wxGrid *************** *** 1018,1029 **** // Map Lua Class Methods to C Binding Functions ! static WXLUAMETHOD s_wxGridCellBoolEditor_methods[] = { { LuaConstructor, "wxGridCellBoolEditor", wxLua_wxGridCellBoolEditor_constructor, 0, 0, { 0 } }, { ... [truncated message content] |