Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv6284/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: use wxList::compatibility_iterator not wxNode* for wxUSE_STL == 1 and 0 Index: xml.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/xml.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** xml.cpp 17 Mar 2007 19:08:14 -0000 1.27 --- xml.cpp 19 Mar 2007 03:47:20 -0000 1.28 *************** *** 535,541 **** { LuaConstructor, "wxXmlNodeEntry", wxLua_wxXmlNodeEntry_constructor, 6, 6, s_wxluatagArray_wxLua_wxXmlNodeEntry_constructor }, }; ! int wxXmlNode_methodCount = sizeof(wxXmlNode_methods)/sizeof(wxXmlNode_methods[0]); #endif // wxLUA_USE_wxXMLResource && wxUSE_XML --- 535,542 ---- { LuaConstructor, "wxXmlNodeEntry", wxLua_wxXmlNodeEntry_constructor, 6, 6, s_wxluatagArray_wxLua_wxXmlNodeEntry_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxXmlNode_methodCount = sizeof(wxXmlNode_methods)/sizeof(wxXmlNode_methods[0]) - 1; #endif // wxLUA_USE_wxXMLResource && wxUSE_XML *************** *** 712,718 **** { LuaConstructor, "wxXmlPropertyDefault", wxLua_wxXmlPropertyDefault_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxXmlProperty_methodCount = sizeof(wxXmlProperty_methods)/sizeof(wxXmlProperty_methods[0]); #endif // wxLUA_USE_wxXMLResource && wxUSE_XML --- 713,720 ---- { LuaConstructor, "wxXmlPropertyDefault", wxLua_wxXmlPropertyDefault_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxXmlProperty_methodCount = sizeof(wxXmlProperty_methods)/sizeof(wxXmlProperty_methods[0]) - 1; #endif // wxLUA_USE_wxXMLResource && wxUSE_XML *************** *** 947,953 **** { LuaConstructor, "wxXmlDocumentDefault", wxLua_wxXmlDocumentDefault_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxXmlDocument_methodCount = sizeof(wxXmlDocument_methods)/sizeof(wxXmlDocument_methods[0]); #endif // wxLUA_USE_wxXMLResource && wxUSE_XML --- 949,956 ---- { LuaConstructor, "wxXmlDocumentDefault", wxLua_wxXmlDocumentDefault_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxXmlDocument_methodCount = sizeof(wxXmlDocument_methods)/sizeof(wxXmlDocument_methods[0]) - 1; #endif // wxLUA_USE_wxXMLResource && wxUSE_XML *************** *** 1606,1612 **** { LuaConstructor, "wxXmlResourceGetDefault", wxLua_wxXmlResourceGetDefault_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxXmlResource_methodCount = sizeof(wxXmlResource_methods)/sizeof(wxXmlResource_methods[0]); #endif // wxLUA_USE_wxXMLResource && wxUSE_XML --- 1609,1616 ---- { LuaConstructor, "wxXmlResourceGetDefault", wxLua_wxXmlResourceGetDefault_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxXmlResource_methodCount = sizeof(wxXmlResource_methods)/sizeof(wxXmlResource_methods[0]) - 1; #endif // wxLUA_USE_wxXMLResource && wxUSE_XML Index: defsutil.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/defsutil.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** defsutil.cpp 17 Mar 2007 19:08:13 -0000 1.29 --- defsutil.cpp 19 Mar 2007 03:47:18 -0000 1.30 *************** *** 344,350 **** { LuaConstructor, "wxProcess", wxLua_wxProcess_constructor, 2, 0, s_wxluatagArray_wxLua_wxProcess_constructor }, }; ! int wxProcess_methodCount = sizeof(wxProcess_methods)/sizeof(wxProcess_methods[0]); #endif // wxLUA_USE_wxProcess --- 344,351 ---- { LuaConstructor, "wxProcess", wxLua_wxProcess_constructor, 2, 0, s_wxluatagArray_wxLua_wxProcess_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxProcess_methodCount = sizeof(wxProcess_methods)/sizeof(wxProcess_methods[0]) - 1; #endif // wxLUA_USE_wxProcess *************** *** 700,706 **** { LuaConstructor, "wxMouseState", wxLua_wxMouseState_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxMouseState_methodCount = sizeof(wxMouseState_methods)/sizeof(wxMouseState_methods[0]); #endif // wxCHECK_VERSION(2,7,0) --- 701,708 ---- { LuaConstructor, "wxMouseState", wxLua_wxMouseState_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxMouseState_methodCount = sizeof(wxMouseState_methods)/sizeof(wxMouseState_methods[0]) - 1; #endif // wxCHECK_VERSION(2,7,0) *************** *** 766,772 **** #endif // (wxLUA_USE_wxBusyCursor) && (wxLUA_USE_wxCursor) }; ! int wxBusyCursor_methodCount = sizeof(wxBusyCursor_methods)/sizeof(wxBusyCursor_methods[0]); #endif // wxLUA_USE_wxBusyCursor --- 768,775 ---- #endif // (wxLUA_USE_wxBusyCursor) && (wxLUA_USE_wxCursor) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxBusyCursor_methodCount = sizeof(wxBusyCursor_methods)/sizeof(wxBusyCursor_methods[0]) - 1; #endif // wxLUA_USE_wxBusyCursor *************** *** 825,831 **** { LuaConstructor, "wxBusyInfo", wxLua_wxBusyInfo_constructor, 2, 1, s_wxluatagArray_wxLua_wxBusyInfo_constructor }, }; ! int wxBusyInfo_methodCount = sizeof(wxBusyInfo_methods)/sizeof(wxBusyInfo_methods[0]); #endif // wxLUA_USE_wxBusyInfo && wxUSE_BUSYINFO --- 828,835 ---- { LuaConstructor, "wxBusyInfo", wxLua_wxBusyInfo_constructor, 2, 1, s_wxluatagArray_wxLua_wxBusyInfo_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxBusyInfo_methodCount = sizeof(wxBusyInfo_methods)/sizeof(wxBusyInfo_methods[0]) - 1; #endif // wxLUA_USE_wxBusyInfo && wxUSE_BUSYINFO Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxlua.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** wxlua.cpp 15 Mar 2007 23:24:57 -0000 1.32 --- wxlua.cpp 19 Mar 2007 03:47:20 -0000 1.33 *************** *** 51,57 **** WXLUAMETHOD wxLuaState_methods[] = { { LuaMethod, "Delete", wxLua_wxLuaState_Delete, 0, 0, s_wxluaargArray_None }, }; ! int wxLuaState_methodCount = sizeof(wxLuaState_methods)/sizeof(wxLuaState_methods[0]); // --------------------------------------------------------------------------- --- 51,58 ---- WXLUAMETHOD wxLuaState_methods[] = { { LuaMethod, "Delete", wxLua_wxLuaState_Delete, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxLuaState_methodCount = sizeof(wxLuaState_methods)/sizeof(wxLuaState_methods[0]) - 1; // --------------------------------------------------------------------------- *************** *** 185,191 **** { LuaMethod, "SetObject", wxLua_wxLuaObject_SetObject, 1, 0, s_wxluatagArray_wxLua_wxLuaObject_SetObject }, { LuaConstructor, "wxLuaObject", wxLua_wxLuaObject_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxLuaObject_methodCount = sizeof(wxLuaObject_methods)/sizeof(wxLuaObject_methods[0]); --- 186,193 ---- { LuaMethod, "SetObject", wxLua_wxLuaObject_SetObject, 1, 0, s_wxluatagArray_wxLua_wxLuaObject_SetObject }, { LuaConstructor, "wxLuaObject", wxLua_wxLuaObject_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxLuaObject_methodCount = sizeof(wxLuaObject_methods)/sizeof(wxLuaObject_methods[0]) - 1; *************** *** 284,290 **** { LuaConstructor, "wxLuaPrintout", wxLua_wxLuaPrintout_constructor, 2, 0, s_wxluatagArray_wxLua_wxLuaPrintout_constructor }, }; ! int wxLuaPrintout_methodCount = sizeof(wxLuaPrintout_methods)/sizeof(wxLuaPrintout_methods[0]); #endif // wxLUA_USE_wxLuaPrintout --- 286,293 ---- { LuaConstructor, "wxLuaPrintout", wxLua_wxLuaPrintout_constructor, 2, 0, s_wxluatagArray_wxLua_wxLuaPrintout_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxLuaPrintout_methodCount = sizeof(wxLuaPrintout_methods)/sizeof(wxLuaPrintout_methods[0]) - 1; #endif // wxLUA_USE_wxLuaPrintout *************** *** 341,347 **** #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) }; ! int wxLuaHtmlWindow_methodCount = sizeof(wxLuaHtmlWindow_methods)/sizeof(wxLuaHtmlWindow_methods[0]); #endif // wxLUA_USE_wxLuaHtmlWindow --- 344,351 ---- #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxLuaHtmlWindow_methodCount = sizeof(wxLuaHtmlWindow_methods)/sizeof(wxLuaHtmlWindow_methods[0]) - 1; #endif // wxLUA_USE_wxLuaHtmlWindow *************** *** 467,473 **** { LuaMethod, "SetParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled }, }; ! int wxLuaHtmlWinTagEvent_methodCount = sizeof(wxLuaHtmlWinTagEvent_methods)/sizeof(wxLuaHtmlWinTagEvent_methods[0]); #endif // wxLUA_USE_wxLuaHtmlWindow --- 471,478 ---- { LuaMethod, "SetParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxLuaHtmlWinTagEvent_methodCount = sizeof(wxLuaHtmlWinTagEvent_methods)/sizeof(wxLuaHtmlWinTagEvent_methods[0]) - 1; #endif // wxLUA_USE_wxLuaHtmlWindow *************** *** 542,548 **** { LuaConstructor, "wxLuaTreeItemData", wxLua_wxLuaTreeItemData_constructor, 1, 0, s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor }, }; ! int wxLuaTreeItemData_methodCount = sizeof(wxLuaTreeItemData_methods)/sizeof(wxLuaTreeItemData_methods[0]); #endif // wxLUA_USE_wxTreeCtrl --- 547,554 ---- { LuaConstructor, "wxLuaTreeItemData", wxLua_wxLuaTreeItemData_constructor, 1, 0, s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxLuaTreeItemData_methodCount = sizeof(wxLuaTreeItemData_methods)/sizeof(wxLuaTreeItemData_methods[0]) - 1; #endif // wxLUA_USE_wxTreeCtrl Index: image.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/image.cpp,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** image.cpp 15 Mar 2007 23:24:54 -0000 1.33 --- image.cpp 19 Mar 2007 03:47:19 -0000 1.34 *************** *** 425,429 **** #endif // wxLUA_USE_wxImage && wxUSE_IMAGE ! #if (wxLUA_USE_wxList) && (wxLUA_USE_wxImage && wxUSE_IMAGE) // static wxList& GetHandlers() static int LUACALL wxLua_wxImage_GetHandlers(lua_State *L) --- 425,429 ---- #endif // wxLUA_USE_wxImage && wxUSE_IMAGE ! #if (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxImage && wxUSE_IMAGE) // static wxList& GetHandlers() static int LUACALL wxLua_wxImage_GetHandlers(lua_State *L) *************** *** 439,443 **** } ! #endif // (wxLUA_USE_wxList) && (wxLUA_USE_wxImage && wxUSE_IMAGE) #if wxLUA_USE_wxImage && wxUSE_IMAGE --- 439,443 ---- } ! #endif // (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxImage && wxUSE_IMAGE) #if wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 1768,1774 **** { LuaMethod, "GetGreen", wxLua_wxImage_GetGreen, 2, 2, s_wxluatagArray_wxLua_wxImage_GetGreen }, ! #if (wxLUA_USE_wxList) && (wxLUA_USE_wxImage && wxUSE_IMAGE) { LuaMethod, "GetHandlers", wxLua_wxImage_GetHandlers, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_wxList) && (wxLUA_USE_wxImage && wxUSE_IMAGE) { LuaMethod, "GetHeight", wxLua_wxImage_GetHeight, 0, 0, s_wxluaargArray_None }, --- 1768,1774 ---- { LuaMethod, "GetGreen", wxLua_wxImage_GetGreen, 2, 2, s_wxluatagArray_wxLua_wxImage_GetGreen }, ! #if (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxImage && wxUSE_IMAGE) { LuaMethod, "GetHandlers", wxLua_wxImage_GetHandlers, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxImage && wxUSE_IMAGE) { LuaMethod, "GetHeight", wxLua_wxImage_GetHeight, 0, 0, s_wxluaargArray_None }, *************** *** 1877,1883 **** { LuaConstructor, "wxImageFromFile", wxLua_wxImageFromFile_constructor, 2, 1, s_wxluatagArray_wxLua_wxImageFromFile_constructor }, }; ! int wxImage_methodCount = sizeof(wxImage_methods)/sizeof(wxImage_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 1877,1884 ---- { LuaConstructor, "wxImageFromFile", wxLua_wxImageFromFile_constructor, 2, 1, s_wxluatagArray_wxLua_wxImageFromFile_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxImage_methodCount = sizeof(wxImage_methods)/sizeof(wxImage_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 1971,1977 **** { LuaConstructor, "wxImageHistogramEntry", wxLua_wxImageHistogramEntry_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxImageHistogramEntry_methodCount = sizeof(wxImageHistogramEntry_methods)/sizeof(wxImageHistogramEntry_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 1972,1979 ---- { LuaConstructor, "wxImageHistogramEntry", wxLua_wxImageHistogramEntry_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxImageHistogramEntry_methodCount = sizeof(wxImageHistogramEntry_methods)/sizeof(wxImageHistogramEntry_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 2091,2097 **** { LuaGetProp, "second", wxLua_wxImageHistogram_iterator_Get_second, 0, 0, s_wxluaargArray_None }, }; ! int wxImageHistogram_iterator_methodCount = sizeof(wxImageHistogram_iterator_methods)/sizeof(wxImageHistogram_iterator_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 2093,2100 ---- { LuaGetProp, "second", wxLua_wxImageHistogram_iterator_Get_second, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxImageHistogram_iterator_methodCount = sizeof(wxImageHistogram_iterator_methods)/sizeof(wxImageHistogram_iterator_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 2291,2297 **** { LuaConstructor, "wxImageHistogram", wxLua_wxImageHistogram_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxImageHistogram_methodCount = sizeof(wxImageHistogram_methods)/sizeof(wxImageHistogram_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 2294,2301 ---- { LuaConstructor, "wxImageHistogram", wxLua_wxImageHistogram_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxImageHistogram_methodCount = sizeof(wxImageHistogram_methods)/sizeof(wxImageHistogram_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 2560,2566 **** { LuaGetProp, "Type", wxLua_wxImageHandler_GetType, 0, 0, s_wxluaargArray_None }, }; ! int wxImageHandler_methodCount = sizeof(wxImageHandler_methods)/sizeof(wxImageHandler_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 2564,2571 ---- { LuaGetProp, "Type", wxLua_wxImageHandler_GetType, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxImageHandler_methodCount = sizeof(wxImageHandler_methods)/sizeof(wxImageHandler_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 2599,2605 **** { LuaConstructor, "wxBMPHandler", wxLua_wxBMPHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxBMPHandler_methodCount = sizeof(wxBMPHandler_methods)/sizeof(wxBMPHandler_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 2604,2611 ---- { LuaConstructor, "wxBMPHandler", wxLua_wxBMPHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxBMPHandler_methodCount = sizeof(wxBMPHandler_methods)/sizeof(wxBMPHandler_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 2638,2644 **** { LuaConstructor, "wxICOHandler", wxLua_wxICOHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxICOHandler_methodCount = sizeof(wxICOHandler_methods)/sizeof(wxICOHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2644,2651 ---- { LuaConstructor, "wxICOHandler", wxLua_wxICOHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxICOHandler_methodCount = sizeof(wxICOHandler_methods)/sizeof(wxICOHandler_methods[0]) - 1; #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2677,2683 **** { LuaConstructor, "wxCURHandler", wxLua_wxCURHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxCURHandler_methodCount = sizeof(wxCURHandler_methods)/sizeof(wxCURHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2684,2691 ---- { LuaConstructor, "wxCURHandler", wxLua_wxCURHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxCURHandler_methodCount = sizeof(wxCURHandler_methods)/sizeof(wxCURHandler_methods[0]) - 1; #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2716,2722 **** { LuaConstructor, "wxANIHandler", wxLua_wxANIHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxANIHandler_methodCount = sizeof(wxANIHandler_methods)/sizeof(wxANIHandler_methods[0]); #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2724,2731 ---- { LuaConstructor, "wxANIHandler", wxLua_wxANIHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxANIHandler_methodCount = sizeof(wxANIHandler_methods)/sizeof(wxANIHandler_methods[0]) - 1; #endif // (wxUSE_ICO_CUR) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2755,2761 **** { LuaConstructor, "wxIFFHandler", wxLua_wxIFFHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxIFFHandler_methodCount = sizeof(wxIFFHandler_methods)/sizeof(wxIFFHandler_methods[0]); #endif // (wxUSE_IFF) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2764,2771 ---- { LuaConstructor, "wxIFFHandler", wxLua_wxIFFHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxIFFHandler_methodCount = sizeof(wxIFFHandler_methods)/sizeof(wxIFFHandler_methods[0]) - 1; #endif // (wxUSE_IFF) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2794,2800 **** { LuaConstructor, "wxGIFHandler", wxLua_wxGIFHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGIFHandler_methodCount = sizeof(wxGIFHandler_methods)/sizeof(wxGIFHandler_methods[0]); #endif // (wxUSE_GIF) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2804,2811 ---- { LuaConstructor, "wxGIFHandler", wxLua_wxGIFHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGIFHandler_methodCount = sizeof(wxGIFHandler_methods)/sizeof(wxGIFHandler_methods[0]) - 1; #endif // (wxUSE_GIF) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2833,2839 **** { LuaConstructor, "wxJPEGHandler", wxLua_wxJPEGHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxJPEGHandler_methodCount = sizeof(wxJPEGHandler_methods)/sizeof(wxJPEGHandler_methods[0]); #endif // (wxUSE_LIBJPEG) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2844,2851 ---- { LuaConstructor, "wxJPEGHandler", wxLua_wxJPEGHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxJPEGHandler_methodCount = sizeof(wxJPEGHandler_methods)/sizeof(wxJPEGHandler_methods[0]) - 1; #endif // (wxUSE_LIBJPEG) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2872,2878 **** { LuaConstructor, "wxPCXHandler", wxLua_wxPCXHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxPCXHandler_methodCount = sizeof(wxPCXHandler_methods)/sizeof(wxPCXHandler_methods[0]); #endif // (wxUSE_PCX) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2884,2891 ---- { LuaConstructor, "wxPCXHandler", wxLua_wxPCXHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxPCXHandler_methodCount = sizeof(wxPCXHandler_methods)/sizeof(wxPCXHandler_methods[0]) - 1; #endif // (wxUSE_PCX) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2911,2917 **** { LuaConstructor, "wxPNGHandler", wxLua_wxPNGHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxPNGHandler_methodCount = sizeof(wxPNGHandler_methods)/sizeof(wxPNGHandler_methods[0]); #endif // (wxUSE_LIBPNG) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2924,2931 ---- { LuaConstructor, "wxPNGHandler", wxLua_wxPNGHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxPNGHandler_methodCount = sizeof(wxPNGHandler_methods)/sizeof(wxPNGHandler_methods[0]) - 1; #endif // (wxUSE_LIBPNG) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2950,2956 **** { LuaConstructor, "wxPNMHandler", wxLua_wxPNMHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxPNMHandler_methodCount = sizeof(wxPNMHandler_methods)/sizeof(wxPNMHandler_methods[0]); #endif // (wxUSE_PNM) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 2964,2971 ---- { LuaConstructor, "wxPNMHandler", wxLua_wxPNMHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxPNMHandler_methodCount = sizeof(wxPNMHandler_methods)/sizeof(wxPNMHandler_methods[0]) - 1; #endif // (wxUSE_PNM) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 2989,2995 **** { LuaConstructor, "wxTIFFHandler", wxLua_wxTIFFHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxTIFFHandler_methodCount = sizeof(wxTIFFHandler_methods)/sizeof(wxTIFFHandler_methods[0]); #endif // (wxUSE_LIBTIFF) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 3004,3011 ---- { LuaConstructor, "wxTIFFHandler", wxLua_wxTIFFHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxTIFFHandler_methodCount = sizeof(wxTIFFHandler_methods)/sizeof(wxTIFFHandler_methods[0]) - 1; #endif // (wxUSE_LIBTIFF) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 3028,3034 **** { LuaConstructor, "wxTGAHandler", wxLua_wxTGAHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxTGAHandler_methodCount = sizeof(wxTGAHandler_methods)/sizeof(wxTGAHandler_methods[0]); #endif // (wxCHECK_VERSION(2,8,0) && wxUSE_TGA) && (wxLUA_USE_wxImage && wxUSE_IMAGE) --- 3044,3051 ---- { LuaConstructor, "wxTGAHandler", wxLua_wxTGAHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxTGAHandler_methodCount = sizeof(wxTGAHandler_methods)/sizeof(wxTGAHandler_methods[0]) - 1; #endif // (wxCHECK_VERSION(2,8,0) && wxUSE_TGA) && (wxLUA_USE_wxImage && wxUSE_IMAGE) *************** *** 3067,3073 **** { LuaConstructor, "wxXPMHandler", wxLua_wxXPMHandler_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxXPMHandler_methodCount = sizeof(wxXPMHandler_methods)/sizeof(wxXPMHandler_methods[0]); #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 3084,3091 ---- { LuaConstructor, "wxXPMHandler", wxLua_wxXPMHandler_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxXPMHandler_methodCount = sizeof(wxXPMHandler_methods)/sizeof(wxXPMHandler_methods[0]) - 1; #endif // wxLUA_USE_wxImage && wxUSE_IMAGE *************** *** 3279,3285 **** #endif // (wxLUA_USE_wxArtProvider) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxArtProvider)) }; ! int wxArtProvider_methodCount = sizeof(wxArtProvider_methods)/sizeof(wxArtProvider_methods[0]); #endif // wxLUA_USE_wxArtProvider --- 3297,3304 ---- #endif // (wxLUA_USE_wxArtProvider) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxArtProvider)) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxArtProvider_methodCount = sizeof(wxArtProvider_methods)/sizeof(wxArtProvider_methods[0]) - 1; #endif // wxLUA_USE_wxArtProvider Index: mdi.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/mdi.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** mdi.cpp 15 Mar 2007 23:24:55 -0000 1.29 --- mdi.cpp 19 Mar 2007 03:47:19 -0000 1.30 *************** *** 39,45 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxMDIClientWindow_methods[] = { }; ! int wxMDIClientWindow_methodCount = sizeof(wxMDIClientWindow_methods)/sizeof(wxMDIClientWindow_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 39,46 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxMDIClientWindow_methods[] = { + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxMDIClientWindow_methodCount = sizeof(wxMDIClientWindow_methods)/sizeof(wxMDIClientWindow_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 383,389 **** { LuaConstructor, "wxMDIParentFrameDefault", wxLua_wxMDIParentFrameDefault_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxMDIParentFrame_methodCount = sizeof(wxMDIParentFrame_methods)/sizeof(wxMDIParentFrame_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 384,391 ---- { LuaConstructor, "wxMDIParentFrameDefault", wxLua_wxMDIParentFrameDefault_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxMDIParentFrame_methodCount = sizeof(wxMDIParentFrame_methods)/sizeof(wxMDIParentFrame_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 554,560 **** { LuaConstructor, "wxMDIChildFrameDefault", wxLua_wxMDIChildFrameDefault_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxMDIChildFrame_methodCount = sizeof(wxMDIChildFrame_methods)/sizeof(wxMDIChildFrame_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 556,563 ---- { LuaConstructor, "wxMDIChildFrameDefault", wxLua_wxMDIChildFrameDefault_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxMDIChildFrame_methodCount = sizeof(wxMDIChildFrame_methods)/sizeof(wxMDIChildFrame_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 686,692 **** #endif // ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE)) && (wxLUA_USE_wxPointSizeRect) }; ! int wxDocChildFrame_methodCount = sizeof(wxDocChildFrame_methods)/sizeof(wxDocChildFrame_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 689,696 ---- #endif // ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE)) && (wxLUA_USE_wxPointSizeRect) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxDocChildFrame_methodCount = sizeof(wxDocChildFrame_methods)/sizeof(wxDocChildFrame_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 1021,1025 **** #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) // %override wxLua_wxDocManager_GetDocuments // wxList& GetDocuments() --- 1025,1029 ---- #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) // %override wxLua_wxDocManager_GetDocuments // wxList& GetDocuments() *************** *** 1039,1043 **** } ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE) --- 1043,1047 ---- } ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE) *************** *** 1128,1132 **** #endif // (!wxCHECK_VERSION(2,6,0)) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) // %override wxLua_wxDocManager_GetTemplates // wxList& GetTemplates() --- 1132,1136 ---- #endif // (!wxCHECK_VERSION(2,6,0)) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) // %override wxLua_wxDocManager_GetTemplates // wxList& GetTemplates() *************** *** 1146,1150 **** } ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) #if wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 1150,1154 ---- } ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) #if wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 1423,1429 **** { LuaMethod, "GetCurrentView", wxLua_wxDocManager_GetCurrentView, 0, 0, s_wxluaargArray_None }, ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) { LuaMethod, "GetDocuments", wxLua_wxDocManager_GetDocuments, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE) --- 1427,1433 ---- { LuaMethod, "GetCurrentView", wxLua_wxDocManager_GetCurrentView, 0, 0, s_wxluaargArray_None }, ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) { LuaMethod, "GetDocuments", wxLua_wxDocManager_GetDocuments, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE) *************** *** 1442,1448 **** #endif // (!wxCHECK_VERSION(2,6,0)) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) { LuaMethod, "GetTemplates", wxLua_wxDocManager_GetTemplates, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) { LuaMethod, "Initialize", wxLua_wxDocManager_Initialize, 0, 0, s_wxluaargArray_None }, --- 1446,1452 ---- #endif // (!wxCHECK_VERSION(2,6,0)) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) { LuaMethod, "GetTemplates", wxLua_wxDocManager_GetTemplates, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) { LuaMethod, "Initialize", wxLua_wxDocManager_Initialize, 0, 0, s_wxluaargArray_None }, *************** *** 1469,1475 **** { LuaConstructor, "wxDocManager", wxLua_wxDocManager_constructor, 2, 0, s_wxluatagArray_wxLua_wxDocManager_constructor }, }; ! int wxDocManager_methodCount = sizeof(wxDocManager_methods)/sizeof(wxDocManager_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 1473,1480 ---- { LuaConstructor, "wxDocManager", wxLua_wxDocManager_constructor, 2, 0, s_wxluatagArray_wxLua_wxDocManager_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxDocManager_methodCount = sizeof(wxDocManager_methods)/sizeof(wxDocManager_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 1529,1535 **** #endif // ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE)) && (wxLUA_USE_wxPointSizeRect) }; ! int wxDocParentFrame_methodCount = sizeof(wxDocParentFrame_methods)/sizeof(wxDocParentFrame_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 1534,1541 ---- #endif // ((wxLUA_USE_wxFrame) && (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE)) && (wxLUA_USE_wxPointSizeRect) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxDocParentFrame_methodCount = sizeof(wxDocParentFrame_methods)/sizeof(wxDocParentFrame_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 1920,1926 **** #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxClassInfo) }; ! int wxDocTemplate_methodCount = sizeof(wxDocTemplate_methods)/sizeof(wxDocTemplate_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 1926,1933 ---- #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxClassInfo) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxDocTemplate_methodCount = sizeof(wxDocTemplate_methods)/sizeof(wxDocTemplate_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 2128,2132 **** #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) // %override wxLua_wxDocument_GetViews // wxList& GetViews() const --- 2135,2139 ---- #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) // %override wxLua_wxDocument_GetViews // wxList& GetViews() const *************** *** 2146,2150 **** } ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) #if wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 2153,2157 ---- } ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) #if wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 2516,2522 **** { LuaMethod, "GetTitle", wxLua_wxDocument_GetTitle, 0, 0, s_wxluaargArray_None }, ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) { LuaMethod, "GetViews", wxLua_wxDocument_GetViews, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList) { LuaMethod, "IsModified", wxLua_wxDocument_IsModified, 0, 0, s_wxluaargArray_None }, --- 2523,2529 ---- { LuaMethod, "GetTitle", wxLua_wxDocument_GetTitle, 0, 0, s_wxluaargArray_None }, ! #if (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) { LuaMethod, "GetViews", wxLua_wxDocument_GetViews, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxList && !wxUSE_STL) { LuaMethod, "IsModified", wxLua_wxDocument_IsModified, 0, 0, s_wxluaargArray_None }, *************** *** 2555,2561 **** { LuaConstructor, "wxDocument", wxLua_wxDocument_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxDocument_methodCount = sizeof(wxDocument_methods)/sizeof(wxDocument_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 2562,2569 ---- { LuaConstructor, "wxDocument", wxLua_wxDocument_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxDocument_methodCount = sizeof(wxDocument_methods)/sizeof(wxDocument_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 2865,2871 **** { LuaGetProp, "ViewName", wxLua_wxView_GetViewName, 0, 0, s_wxluaargArray_None }, }; ! int wxView_methodCount = sizeof(wxView_methods)/sizeof(wxView_methods[0]); #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE --- 2873,2880 ---- { LuaGetProp, "ViewName", wxLua_wxView_GetViewName, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxView_methodCount = sizeof(wxView_methods)/sizeof(wxView_methods[0]) - 1; #endif // wxLUA_USE_MDI && wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE *************** *** 2924,2928 **** #endif // wxLUA_USE_wxCommandProcessor ! #if (wxLUA_USE_wxList) && (wxLUA_USE_wxCommandProcessor) // %override wxLua_wxCommandProcessor_GetCommands // wxList& GetCommands() const --- 2933,2937 ---- #endif // wxLUA_USE_wxCommandProcessor ! #if (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxCommandProcessor) // %override wxLua_wxCommandProcessor_GetCommands // wxList& GetCommands() const *************** *** 2942,2946 **** } ! #endif // (wxLUA_USE_wxList) && (wxLUA_USE_wxCommandProcessor) #if wxLUA_USE_wxCommandProcessor --- 2951,2955 ---- } ! #endif // (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxCommandProcessor) #if wxLUA_USE_wxCommandProcessor *************** *** 3256,3262 **** { LuaMethod, "ClearCommands", wxLua_wxCommandProcessor_ClearCommands, 0, 0, s_wxluaargArray_None }, ! #if (wxLUA_USE_wxList) && (wxLUA_USE_wxCommandProcessor) { LuaMethod, "GetCommands", wxLua_wxCommandProcessor_GetCommands, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_wxList) && (wxLUA_USE_wxCommandProcessor) { LuaMethod, "GetCurrentCommand", wxLua_wxCommandProcessor_GetCurrentCommand, 0, 0, s_wxluaargArray_None }, --- 3265,3271 ---- { LuaMethod, "ClearCommands", wxLua_wxCommandProcessor_ClearCommands, 0, 0, s_wxluaargArray_None }, ! #if (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxCommandProcessor) { LuaMethod, "GetCommands", wxLua_wxCommandProcessor_GetCommands, 0, 0, s_wxluaargArray_None }, ! #endif // (wxLUA_USE_wxList && !wxUSE_STL) && (wxLUA_USE_wxCommandProcessor) { LuaMethod, "GetCurrentCommand", wxLua_wxCommandProcessor_GetCurrentCommand, 0, 0, s_wxluaargArray_None }, *************** *** 3288,3294 **** { LuaConstructor, "wxCommandProcessor", wxLua_wxCommandProcessor_constructor, 1, 0, s_wxluatagArray_wxLua_wxCommandProcessor_constructor }, }; ! int wxCommandProcessor_methodCount = sizeof(wxCommandProcessor_methods)/sizeof(wxCommandProcessor_methods[0]); #endif // wxLUA_USE_wxCommandProcessor --- 3297,3304 ---- { LuaConstructor, "wxCommandProcessor", wxLua_wxCommandProcessor_constructor, 1, 0, s_wxluatagArray_wxLua_wxCommandProcessor_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxCommandProcessor_methodCount = sizeof(wxCommandProcessor_methods)/sizeof(wxCommandProcessor_methods[0]) - 1; #endif // wxLUA_USE_wxCommandProcessor *************** *** 3374,3380 **** { LuaMethod, "Undo", wxLua_wxCommand_Undo, 0, 0, s_wxluaargArray_None }, }; ! int wxCommand_methodCount = sizeof(wxCommand_methods)/sizeof(wxCommand_methods[0]); #endif // wxLUA_USE_wxCommandProcessor --- 3384,3391 ---- { LuaMethod, "Undo", wxLua_wxCommand_Undo, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxCommand_methodCount = sizeof(wxCommand_methods)/sizeof(wxCommand_methods[0]) - 1; #endif // wxLUA_USE_wxCommandProcessor *************** *** 3638,3644 **** { LuaConstructor, "wxFileHistory", wxLua_wxFileHistory_constructor, 2, 0, s_wxluatagArray_wxLua_wxFileHistory_constructor }, }; ! int wxFileHistory_methodCount = sizeof(wxFileHistory_methods)/sizeof(wxFileHistory_methods[0]); #endif // wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE --- 3649,3656 ---- { LuaConstructor, "wxFileHistory", wxLua_wxFileHistory_constructor, 2, 0, s_wxluatagArray_wxLua_wxFileHistory_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxFileHistory_methodCount = sizeof(wxFileHistory_methods)/sizeof(wxFileHistory_methods[0]) - 1; #endif // wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE Index: config.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/config.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** config.cpp 15 Mar 2007 23:24:50 -0000 1.32 --- config.cpp 19 Mar 2007 03:47:18 -0000 1.33 *************** *** 782,788 **** { LuaConstructor, "wxConfigGet", wxLua_wxConfigGet_constructor, 1, 0, s_wxluatagArray_wxLua_wxConfigGet_constructor }, }; ! int wxConfigBase_methodCount = sizeof(wxConfigBase_methods)/sizeof(wxConfigBase_methods[0]); #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG --- 782,789 ---- { LuaConstructor, "wxConfigGet", wxLua_wxConfigGet_constructor, 1, 0, s_wxluatagArray_wxLua_wxConfigGet_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxConfigBase_methodCount = sizeof(wxConfigBase_methods)/sizeof(wxConfigBase_methods[0]) - 1; #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG *************** *** 831,837 **** { LuaConstructor, "wxConfig", wxLua_wxConfig_constructor, 5, 0, s_wxluatagArray_wxLua_wxConfig_constructor }, }; ! int wxConfig_methodCount = sizeof(wxConfig_methods)/sizeof(wxConfig_methods[0]); #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG --- 832,839 ---- { LuaConstructor, "wxConfig", wxLua_wxConfig_constructor, 5, 0, s_wxluatagArray_wxLua_wxConfig_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxConfig_methodCount = sizeof(wxConfig_methods)/sizeof(wxConfig_methods[0]) - 1; #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG *************** *** 896,902 **** { LuaConstructor, "wxFileConfig", wxLua_wxFileConfig_constructor, 5, 0, s_wxluatagArray_wxLua_wxFileConfig_constructor }, }; ! int wxFileConfig_methodCount = sizeof(wxFileConfig_methods)/sizeof(wxFileConfig_methods[0]); #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG --- 898,905 ---- { LuaConstructor, "wxFileConfig", wxLua_wxFileConfig_constructor, 5, 0, s_wxluatagArray_wxLua_wxFileConfig_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxFileConfig_methodCount = sizeof(wxFileConfig_methods)/sizeof(wxFileConfig_methods[0]) - 1; #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG *************** *** 932,938 **** { LuaConstructor, "wxMemoryConfig", wxLua_wxMemoryConfig_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxMemoryConfig_methodCount = sizeof(wxMemoryConfig_methods)/sizeof(wxMemoryConfig_methods[0]); #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG --- 935,942 ---- { LuaConstructor, "wxMemoryConfig", wxLua_wxMemoryConfig_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxMemoryConfig_methodCount = sizeof(wxMemoryConfig_methods)/sizeof(wxMemoryConfig_methods[0]) - 1; #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG *************** *** 1012,1018 **** { LuaConstructor, "wxConfigPathChanger", wxLua_wxConfigPathChanger_constructor, 2, 2, s_wxluatagArray_wxLua_wxConfigPathChanger_constructor }, }; ! int wxConfigPathChanger_methodCount = sizeof(wxConfigPathChanger_methods)/sizeof(wxConfigPathChanger_methods[0]); #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG --- 1016,1023 ---- { LuaConstructor, "wxConfigPathChanger", wxLua_wxConfigPathChanger_constructor, 2, 2, s_wxluatagArray_wxLua_wxConfigPathChanger_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxConfigPathChanger_methodCount = sizeof(wxConfigPathChanger_methods)/sizeof(wxConfigPathChanger_methods[0]) - 1; #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG Index: grid.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/grid.cpp,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** grid.cpp 15 Mar 2007 23:24:53 -0000 1.30 --- grid.cpp 19 Mar 2007 03:47:19 -0000 1.31 *************** *** 85,91 **** { LuaMethod, "SetParameters", wxLua_wxGridCellWorker_SetParameters, 1, 1, s_wxluatagArray_wxLua_wxGridCellWorker_SetParameters }, }; ! int wxGridCellWorker_methodCount = sizeof(wxGridCellWorker_methods)/sizeof(wxGridCellWorker_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 85,92 ---- { LuaMethod, "SetParameters", wxLua_wxGridCellWorker_SetParameters, 1, 1, s_wxluatagArray_wxLua_wxGridCellWorker_SetParameters }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellWorker_methodCount = sizeof(wxGridCellWorker_methods)/sizeof(wxGridCellWorker_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 139,145 **** #endif // ((wxLUA_USE_wxGrid && wxUSE_GRID) && (wxLUA_USE_wxDC)) && (wxLUA_USE_wxPointSizeRect) }; ! int wxGridCellRenderer_methodCount = sizeof(wxGridCellRenderer_methods)/sizeof(wxGridCellRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 140,147 ---- #endif // ((wxLUA_USE_wxGrid && wxUSE_GRID) && (wxLUA_USE_wxDC)) && (wxLUA_USE_wxPointSizeRect) + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellRenderer_methodCount = sizeof(wxGridCellRenderer_methods)/sizeof(wxGridCellRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 175,181 **** { LuaConstructor, "wxGridCellStringRenderer", wxLua_wxGridCellStringRenderer_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellStringRenderer_methodCount = sizeof(wxGridCellStringRenderer_methods)/sizeof(wxGridCellStringRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 177,184 ---- { LuaConstructor, "wxGridCellStringRenderer", wxLua_wxGridCellStringRenderer_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellStringRenderer_methodCount = sizeof(wxGridCellStringRenderer_methods)/sizeof(wxGridCellStringRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 211,217 **** { LuaConstructor, "wxGridCellNumberRenderer", wxLua_wxGridCellNumberRenderer_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellNumberRenderer_methodCount = sizeof(wxGridCellNumberRenderer_methods)/sizeof(wxGridCellNumberRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 214,221 ---- { LuaConstructor, "wxGridCellNumberRenderer", wxLua_wxGridCellNumberRenderer_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellNumberRenderer_methodCount = sizeof(wxGridCellNumberRenderer_methods)/sizeof(wxGridCellNumberRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 322,328 **** { LuaConstructor, "wxGridCellFloatRenderer", wxLua_wxGridCellFloatRenderer_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellFloatRenderer_constructor }, }; ! int wxGridCellFloatRenderer_methodCount = sizeof(wxGridCellFloatRenderer_methods)/sizeof(wxGridCellFloatRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 326,333 ---- { LuaConstructor, "wxGridCellFloatRenderer", wxLua_wxGridCellFloatRenderer_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellFloatRenderer_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellFloatRenderer_methodCount = sizeof(wxGridCellFloatRenderer_methods)/sizeof(wxGridCellFloatRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 358,364 **** { LuaConstructor, "wxGridCellBoolRenderer", wxLua_wxGridCellBoolRenderer_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellBoolRenderer_methodCount = sizeof(wxGridCellBoolRenderer_methods)/sizeof(wxGridCellBoolRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 363,370 ---- { LuaConstructor, "wxGridCellBoolRenderer", wxLua_wxGridCellBoolRenderer_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellBoolRenderer_methodCount = sizeof(wxGridCellBoolRenderer_methods)/sizeof(wxGridCellBoolRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 401,407 **** { LuaConstructor, "wxGridCellDateTimeRenderer", wxLua_wxGridCellDateTimeRenderer_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellDateTimeRenderer_constructor }, }; ! int wxGridCellDateTimeRenderer_methodCount = sizeof(wxGridCellDateTimeRenderer_methods)/sizeof(wxGridCellDateTimeRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 407,414 ---- { LuaConstructor, "wxGridCellDateTimeRenderer", wxLua_wxGridCellDateTimeRenderer_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellDateTimeRenderer_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellDateTimeRenderer_methodCount = sizeof(wxGridCellDateTimeRenderer_methods)/sizeof(wxGridCellDateTimeRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 442,448 **** { LuaConstructor, "wxGridCellEnumRenderer", wxLua_wxGridCellEnumRenderer_constructor, 1, 0, s_wxluatagArray_wxLua_wxGridCellEnumRenderer_constructor }, }; ! int wxGridCellEnumRenderer_methodCount = sizeof(wxGridCellEnumRenderer_methods)/sizeof(wxGridCellEnumRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 449,456 ---- { LuaConstructor, "wxGridCellEnumRenderer", wxLua_wxGridCellEnumRenderer_constructor, 1, 0, s_wxluatagArray_wxLua_wxGridCellEnumRenderer_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellEnumRenderer_methodCount = sizeof(wxGridCellEnumRenderer_methods)/sizeof(wxGridCellEnumRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 478,484 **** { LuaConstructor, "wxGridCellAutoWrapStringRenderer", wxLua_wxGridCellAutoWrapStringRenderer_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellAutoWrapStringRenderer_methodCount = sizeof(wxGridCellAutoWrapStringRenderer_methods)/sizeof(wxGridCellAutoWrapStringRenderer_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 486,493 ---- { LuaConstructor, "wxGridCellAutoWrapStringRenderer", wxLua_wxGridCellAutoWrapStringRenderer_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellAutoWrapStringRenderer_methodCount = sizeof(wxGridCellAutoWrapStringRenderer_methods)/sizeof(wxGridCellAutoWrapStringRenderer_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 807,813 **** { LuaMethod, "StartingKey", wxLua_wxGridCellEditor_StartingKey, 1, 1, s_wxluatagArray_wxLua_wxGridCellEditor_StartingKey }, }; ! int wxGridCellEditor_methodCount = sizeof(wxGridCellEditor_methods)/sizeof(wxGridCellEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 816,823 ---- { LuaMethod, "StartingKey", wxLua_wxGridCellEditor_StartingKey, 1, 1, s_wxluatagArray_wxLua_wxGridCellEditor_StartingKey }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellEditor_methodCount = sizeof(wxGridCellEditor_methods)/sizeof(wxGridCellEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 843,849 **** { LuaConstructor, "wxGridCellTextEditor", wxLua_wxGridCellTextEditor_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellTextEditor_methodCount = sizeof(wxGridCellTextEditor_methods)/sizeof(wxGridCellTextEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 853,860 ---- { LuaConstructor, "wxGridCellTextEditor", wxLua_wxGridCellTextEditor_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellTextEditor_methodCount = sizeof(wxGridCellTextEditor_methods)/sizeof(wxGridCellTextEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 886,892 **** { LuaConstructor, "wxGridCellNumberEditor", wxLua_wxGridCellNumberEditor_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellNumberEditor_constructor }, }; ! int wxGridCellNumberEditor_methodCount = sizeof(wxGridCellNumberEditor_methods)/sizeof(wxGridCellNumberEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 897,904 ---- { LuaConstructor, "wxGridCellNumberEditor", wxLua_wxGridCellNumberEditor_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellNumberEditor_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellNumberEditor_methodCount = sizeof(wxGridCellNumberEditor_methods)/sizeof(wxGridCellNumberEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 929,935 **** { LuaConstructor, "wxGridCellFloatEditor", wxLua_wxGridCellFloatEditor_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellFloatEditor_constructor }, }; ! int wxGridCellFloatEditor_methodCount = sizeof(wxGridCellFloatEditor_methods)/sizeof(wxGridCellFloatEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 941,948 ---- { LuaConstructor, "wxGridCellFloatEditor", wxLua_wxGridCellFloatEditor_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridCellFloatEditor_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellFloatEditor_methodCount = sizeof(wxGridCellFloatEditor_methods)/sizeof(wxGridCellFloatEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 965,971 **** { LuaConstructor, "wxGridCellBoolEditor", wxLua_wxGridCellBoolEditor_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellBoolEditor_methodCount = sizeof(wxGridCellBoolEditor_methods)/sizeof(wxGridCellBoolEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 978,985 ---- { LuaConstructor, "wxGridCellBoolEditor", wxLua_wxGridCellBoolEditor_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellBoolEditor_methodCount = sizeof(wxGridCellBoolEditor_methods)/sizeof(wxGridCellBoolEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 1008,1014 **** { LuaConstructor, "wxGridCellChoiceEditor", wxLua_wxGridCellChoiceEditor_constructor, 2, 1, s_wxluatagArray_wxLua_wxGridCellChoiceEditor_constructor }, }; ! int wxGridCellChoiceEditor_methodCount = sizeof(wxGridCellChoiceEditor_methods)/sizeof(wxGridCellChoiceEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 1022,1029 ---- { LuaConstructor, "wxGridCellChoiceEditor", wxLua_wxGridCellChoiceEditor_constructor, 2, 1, s_wxluatagArray_wxLua_wxGridCellChoiceEditor_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellChoiceEditor_methodCount = sizeof(wxGridCellChoiceEditor_methods)/sizeof(wxGridCellChoiceEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 1049,1055 **** { LuaConstructor, "wxGridCellEnumEditor", wxLua_wxGridCellEnumEditor_constructor, 1, 0, s_wxluatagArray_wxLua_wxGridCellEnumEditor_constructor }, }; ! int wxGridCellEnumEditor_methodCount = sizeof(wxGridCellEnumEditor_methods)/sizeof(wxGridCellEnumEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 1064,1071 ---- { LuaConstructor, "wxGridCellEnumEditor", wxLua_wxGridCellEnumEditor_constructor, 1, 0, s_wxluatagArray_wxLua_wxGridCellEnumEditor_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellEnumEditor_methodCount = sizeof(wxGridCellEnumEditor_methods)/sizeof(wxGridCellEnumEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 1085,1091 **** { LuaConstructor, "wxGridCellAutoWrapStringEditor", wxLua_wxGridCellAutoWrapStringEditor_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellAutoWrapStringEditor_methodCount = sizeof(wxGridCellAutoWrapStringEditor_methods)/sizeof(wxGridCellAutoWrapStringEditor_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 1101,1108 ---- { LuaConstructor, "wxGridCellAutoWrapStringEditor", wxLua_wxGridCellAutoWrapStringEditor_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellAutoWrapStringEditor_methodCount = sizeof(wxGridCellAutoWrapStringEditor_methods)/sizeof(wxGridCellAutoWrapStringEditor_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 1797,1803 **** { LuaConstructor, "wxGridCellAttrDefault", wxLua_wxGridCellAttrDefault_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellAttr_methodCount = sizeof(wxGridCellAttr_methods)/sizeof(wxGridCellAttr_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 1814,1821 ---- { LuaConstructor, "wxGridCellAttrDefault", wxLua_wxGridCellAttrDefault_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellAttr_methodCount = sizeof(wxGridCellAttr_methods)/sizeof(wxGridCellAttr_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 1948,1954 **** { LuaConstructor, "wxGridCellAttrProvider", wxLua_wxGridCellAttrProvider_constructor, 0, 0, s_wxluaargArray_None }, }; ! int wxGridCellAttrProvider_methodCount = sizeof(wxGridCellAttrProvider_methods)/sizeof(wxGridCellAttrProvider_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 1966,1973 ---- { LuaConstructor, "wxGridCellAttrProvider", wxLua_wxGridCellAttrProvider_constructor, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridCellAttrProvider_methodCount = sizeof(wxGridCellAttrProvider_methods)/sizeof(wxGridCellAttrProvider_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 2638,2644 **** { LuaGetProp, "View", wxLua_wxGridTableBase_GetView, 0, 0, s_wxluaargArray_None }, }; ! int wxGridTableBase_methodCount = sizeof(wxGridTableBase_methods)/sizeof(wxGridTableBase_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 2657,2664 ---- { LuaGetProp, "View", wxLua_wxGridTableBase_GetView, 0, 0, s_wxluaargArray_None }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridTableBase_methodCount = sizeof(wxGridTableBase_methods)/sizeof(wxGridTableBase_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 2684,2690 **** { LuaConstructor, "wxGridStringTable", wxLua_wxGridStringTable_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridStringTable_constructor }, }; ! int wxGridStringTable_methodCount = sizeof(wxGridStringTable_methods)/sizeof(wxGridStringTable_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 2704,2711 ---- { LuaConstructor, "wxGridStringTable", wxLua_wxGridStringTable_constructor, 2, 0, s_wxluatagArray_wxLua_wxGridStringTable_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridStringTable_methodCount = sizeof(wxGridStringTable_methods)/sizeof(wxGridStringTable_methods[0]) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID *************** *** 2867,2873 **** { LuaConstructor, "wxGridTableMessage", wxLua_wxGridTableMessage_constructor, 4, 2, s_wxluatagArray_wxLua_wxGridTableMessage_constructor }, }; ! int wxGridTableMessage_methodCount = sizeof(wxGridTableMessage_methods)/sizeof(wxGridTableMessage_methods[0]); #endif // wxLUA_USE_wxGrid && wxUSE_GRID --- 2888,2895 ---- { LuaConstructor, "wxGridTableMessage", wxLua_wxGridTableMessage_constructor, 4, 2, s_wxluatagArray_wxLua_wxGridTableMessage_constructor }, + { LuaMethod, 0, 0, 0, 0 }, }; ! int wxGridTableMessage_methodCount = sizeof(wxGridTableMessage_methods)/sizeof(wxGridTableMessage_methods[0]) - 1; #endif // wxLUA_USE_wxGrid ... [truncated message content] |