From: John L. <jr...@us...> - 2009-05-19 03:21:03
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15045/wxLua/modules/wxbind/src Modified Files: wxadv_bind.cpp wxaui_bind.cpp wxbase_bind.cpp wxbase_data.cpp wxcore_bind.cpp wxgl_bind.cpp wxhtml_bind.cpp wxmedia_bind.cpp wxnet_bind.cpp wxrichtext_bind.cpp wxstc_bind.cpp wxxml_bind.cpp wxxrc_bind.cpp Log Message: Do not export parts of the bindings that are only used internally. Declare them as extern within the cpp file of the binding. Index: wxbase_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxbase_bind.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** wxbase_bind.cpp 14 May 2009 05:06:21 -0000 1.18 --- wxbase_bind.cpp 19 May 2009 03:20:53 -0000 1.19 *************** *** 2291,2294 **** --- 2291,2524 ---- static const char* wxluabaseclassnames_wxSystemOptions[] = { wxluaclassname_wxObject, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxSystemOptions[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if (wxUSE_STREAMS) && (wxUSE_FILESYSTEM) + extern wxLuaBindMethod wxArchiveFSHandler_methods[]; + extern int wxArchiveFSHandler_methodCount; + extern wxLuaBindMethod wxFSFile_methods[]; + extern int wxFSFile_methodCount; + extern wxLuaBindMethod wxFileSystem_methods[]; + extern int wxFileSystem_methodCount; + extern wxLuaBindMethod wxFileSystemHandler_methods[]; + extern int wxFileSystemHandler_methodCount; + extern wxLuaBindMethod wxFilterFSHandler_methods[]; + extern int wxFilterFSHandler_methodCount; + extern wxLuaBindMethod wxLocalFSHandler_methods[]; + extern int wxLocalFSHandler_methodCount; + #endif // (wxUSE_STREAMS) && (wxUSE_FILESYSTEM) + + #if (wxUSE_STREAMS) && (wxUSE_FILESYSTEM) && (wxUSE_FS_INET && wxUSE_SOCKETS) + extern wxLuaBindMethod wxInternetFSHandler_methods[]; + extern int wxInternetFSHandler_methodCount; + #endif // (wxUSE_STREAMS) && (wxUSE_FILESYSTEM) && (wxUSE_FS_INET && wxUSE_SOCKETS) + + extern wxLuaBindMethod wxClientData_methods[]; + extern int wxClientData_methodCount; + extern wxLuaBindMethod wxClientDataContainer_methods[]; + extern int wxClientDataContainer_methodCount; + extern wxLuaBindMethod wxDynamicLibrary_methods[]; + extern int wxDynamicLibrary_methodCount; + extern wxLuaBindMethod wxDynamicLibraryDetails_methods[]; + extern int wxDynamicLibraryDetails_methodCount; + extern wxLuaBindMethod wxDynamicLibraryDetailsArray_methods[]; + extern int wxDynamicLibraryDetailsArray_methodCount; + extern wxLuaBindMethod wxFileType_methods[]; + extern int wxFileType_methodCount; + extern wxLuaBindMethod wxFileType_MessageParameters_methods[]; + extern int wxFileType_MessageParameters_methodCount; + extern wxLuaBindMethod wxFileTypeInfo_methods[]; + extern int wxFileTypeInfo_methodCount; + extern wxLuaBindMethod wxIconLocation_methods[]; + extern int wxIconLocation_methodCount; + extern wxLuaBindMethod wxMimeTypesManager_methods[]; + extern int wxMimeTypesManager_methodCount; + extern wxLuaBindMethod wxPathList_methods[]; + extern int wxPathList_methodCount; + extern wxLuaBindMethod wxPlatformInfo_methods[]; + extern int wxPlatformInfo_methodCount; + extern wxLuaBindMethod wxString_methods[]; + extern int wxString_methodCount; + extern wxLuaBindMethod wxStringClientData_methods[]; + extern int wxStringClientData_methodCount; + extern wxLuaBindMethod wxStringTokenizer_methods[]; + extern int wxStringTokenizer_methodCount; + + #if wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxStandardPaths + extern wxLuaBindMethod wxStandardPaths_methods[]; + extern int wxStandardPaths_methodCount; + extern WXDLLIMPEXP_BINDWXBASE wxLuaBindNumber wxStandardPaths_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXBASE(int) wxStandardPaths_enumCount; + #endif // wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxStandardPaths + + #if wxLUA_USE_wxArrayInt + extern wxLuaBindMethod wxArrayInt_methods[]; + extern int wxArrayInt_methodCount; + #endif // wxLUA_USE_wxArrayInt + + #if wxLUA_USE_wxArrayString + extern wxLuaBindMethod wxArrayString_methods[]; + extern int wxArrayString_methodCount; + extern wxLuaBindMethod wxSortedArrayString_methods[]; + extern int wxSortedArrayString_methodCount; + #endif // wxLUA_USE_wxArrayString + + #if wxLUA_USE_wxClassInfo + extern wxLuaBindMethod wxClassInfo_methods[]; + extern int wxClassInfo_methodCount; + #endif // wxLUA_USE_wxClassInfo + + #if wxLUA_USE_wxConfig && wxUSE_CONFIG + extern wxLuaBindMethod wxConfig_methods[]; + extern int wxConfig_methodCount; + extern wxLuaBindMethod wxConfigBase_methods[]; + extern int wxConfigBase_methodCount; + extern WXDLLIMPEXP_BINDWXBASE wxLuaBindNumber wxConfigBase_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXBASE(int) wxConfigBase_enumCount; + extern wxLuaBindMethod wxConfigPathChanger_methods[]; + extern int wxConfigPathChanger_methodCount; + extern wxLuaBindMethod wxFileConfig_methods[]; + extern int wxFileConfig_methodCount; + extern wxLuaBindMethod wxMemoryConfig_methods[]; + extern int wxMemoryConfig_methodCount; + #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG + + #if wxLUA_USE_wxCriticalSection && wxUSE_THREADS + extern wxLuaBindMethod wxCriticalSection_methods[]; + extern int wxCriticalSection_methodCount; + #endif // wxLUA_USE_wxCriticalSection && wxUSE_THREADS + + #if wxLUA_USE_wxCriticalSectionLocker + extern wxLuaBindMethod wxCriticalSectionLocker_methods[]; + extern int wxCriticalSectionLocker_methodCount; + #endif // wxLUA_USE_wxCriticalSectionLocker + + #if wxLUA_USE_wxDateSpan && wxUSE_DATETIME + extern wxLuaBindMethod wxDateSpan_methods[]; + extern int wxDateSpan_methodCount; + #endif // wxLUA_USE_wxDateSpan && wxUSE_DATETIME + + #if wxLUA_USE_wxDateTime && wxUSE_DATETIME + extern wxLuaBindMethod wxDateTime_methods[]; + extern int wxDateTime_methodCount; + extern WXDLLIMPEXP_BINDWXBASE wxLuaBindNumber wxDateTime_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXBASE(int) wxDateTime_enumCount; + extern wxLuaBindMethod wxDateTimeArray_methods[]; + extern int wxDateTimeArray_methodCount; + #endif // wxLUA_USE_wxDateTime && wxUSE_DATETIME + + #if wxLUA_USE_wxDateTimeHolidayAuthority && wxUSE_DATETIME + extern wxLuaBindMethod wxDateTimeHolidayAuthority_methods[]; + extern int wxDateTimeHolidayAuthority_methodCount; + extern wxLuaBindMethod wxDateTimeWorkDays_methods[]; + extern int wxDateTimeWorkDays_methodCount; + #endif // wxLUA_USE_wxDateTimeHolidayAuthority && wxUSE_DATETIME + + #if wxLUA_USE_wxDir + extern wxLuaBindMethod wxDir_methods[]; + extern int wxDir_methodCount; + #endif // wxLUA_USE_wxDir + + #if wxLUA_USE_wxFile && wxUSE_FILE + extern wxLuaBindMethod wxFile_methods[]; + extern int wxFile_methodCount; + extern WXDLLIMPEXP_BINDWXBASE wxLuaBindNumber wxFile_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXBASE(int) wxFile_enumCount; + extern wxLuaBindMethod wxTempFile_methods[]; + extern int wxTempFile_methodCount; + #endif // wxLUA_USE_wxFile && wxUSE_FILE + + #if wxLUA_USE_wxFileName + extern wxLuaBindMethod wxFileName_methods[]; + extern int wxFileName_methodCount; + #endif // wxLUA_USE_wxFileName + + #if wxLUA_USE_wxList && !wxUSE_STL + extern wxLuaBindMethod wxList_methods[]; + extern int wxList_methodCount; + extern wxLuaBindMethod wxNode_methods[]; + extern int wxNode_methodCount; + #endif // wxLUA_USE_wxList && !wxUSE_STL + + #if wxLUA_USE_wxLog && wxUSE_LOG + extern wxLuaBindMethod wxLog_methods[]; + extern int wxLog_methodCount; + extern wxLuaBindMethod wxLogBuffer_methods[]; + extern int wxLogBuffer_methodCount; + extern wxLuaBindMethod wxLogChain_methods[]; + extern int wxLogChain_methodCount; + extern wxLuaBindMethod wxLogNull_methods[]; + extern int wxLogNull_methodCount; + extern wxLuaBindMethod wxLogPassThrough_methods[]; + extern int wxLogPassThrough_methodCount; + #endif // wxLUA_USE_wxLog && wxUSE_LOG + + #if wxLUA_USE_wxObject + extern wxLuaBindMethod wxObject_methods[]; + extern int wxObject_methodCount; + extern wxLuaBindMethod wxObjectRefData_methods[]; + extern int wxObjectRefData_methodCount; + #endif // wxLUA_USE_wxObject + + #if wxLUA_USE_wxRegEx && wxUSE_REGEX + extern wxLuaBindMethod wxRegEx_methods[]; + extern int wxRegEx_methodCount; + #endif // wxLUA_USE_wxRegEx && wxUSE_REGEX + + #if wxLUA_USE_wxStopWatch && wxUSE_STOPWATCH + extern wxLuaBindMethod wxStopWatch_methods[]; + extern int wxStopWatch_methodCount; + #endif // wxLUA_USE_wxStopWatch && wxUSE_STOPWATCH + + #if wxLUA_USE_wxSystemOptions + extern wxLuaBindMethod wxSystemOptions_methods[]; + extern int wxSystemOptions_methodCount; + #endif // wxLUA_USE_wxSystemOptions + + #if wxLUA_USE_wxTimeSpan && wxUSE_DATETIME + extern wxLuaBindMethod wxTimeSpan_methods[]; + extern int wxTimeSpan_methodCount; + #endif // wxLUA_USE_wxTimeSpan && wxUSE_DATETIME + + #if wxUSE_INTL + extern wxLuaBindMethod wxLanguageInfo_methods[]; + extern int wxLanguageInfo_methodCount; + extern wxLuaBindMethod wxLocale_methods[]; + extern int wxLocale_methodCount; + #endif // wxUSE_INTL + + #if wxUSE_LONGLONG + extern wxLuaBindMethod wxLongLong_methods[]; + extern int wxLongLong_methodCount; + extern wxLuaBindMethod wxULongLong_methods[]; + extern int wxULongLong_methodCount; + #endif // wxUSE_LONGLONG + + #if wxUSE_SNGLINST_CHECKER + extern wxLuaBindMethod wxSingleInstanceChecker_methods[]; + extern int wxSingleInstanceChecker_methodCount; + #endif // wxUSE_SNGLINST_CHECKER + + #if wxUSE_STREAMS + extern wxLuaBindMethod wxDataInputStream_methods[]; + extern int wxDataInputStream_methodCount; + extern wxLuaBindMethod wxDataOutputStream_methods[]; + extern int wxDataOutputStream_methodCount; + extern wxLuaBindMethod wxFileInputStream_methods[]; + extern int wxFileInputStream_methodCount; + extern wxLuaBindMethod wxFileOutputStream_methods[]; + extern int wxFileOutputStream_methodCount; + extern wxLuaBindMethod wxInputStream_methods[]; + extern int wxInputStream_methodCount; + extern wxLuaBindMethod wxMemoryInputStream_methods[]; + extern int wxMemoryInputStream_methodCount; + extern wxLuaBindMethod wxOutputStream_methods[]; + extern int wxOutputStream_methodCount; + extern wxLuaBindMethod wxStreamBase_methods[]; + extern int wxStreamBase_methodCount; + #endif // wxUSE_STREAMS + + Index: wxnet_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxnet_bind.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** wxnet_bind.cpp 14 May 2009 05:06:21 -0000 1.14 --- wxnet_bind.cpp 19 May 2009 03:20:53 -0000 1.15 *************** *** 2931,2934 **** --- 2931,2980 ---- static const char* wxluabaseclassnames_wxURL[] = { wxluaclassname_wxURI, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxURL[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_PROTOCOL) + extern wxLuaBindMethod wxProtocol_methods[]; + extern int wxProtocol_methodCount; + #endif // (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_PROTOCOL) + + #if (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_PROTOCOL_FTP) + extern wxLuaBindMethod wxFTP_methods[]; + extern int wxFTP_methodCount; + extern WXDLLIMPEXP_BINDWXNET wxLuaBindNumber wxFTP_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXNET(int) wxFTP_enumCount; + #endif // (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_PROTOCOL_FTP) + + #if (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_PROTOCOL_HTTP) + extern wxLuaBindMethod wxHTTP_methods[]; + extern int wxHTTP_methodCount; + #endif // (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_PROTOCOL_HTTP) + + #if (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_URL) + extern wxLuaBindMethod wxURL_methods[]; + extern int wxURL_methodCount; + #endif // (wxLUA_USE_wxSocket && wxUSE_SOCKETS) && (wxUSE_URL) + + #if wxLUA_USE_wxSocket && wxUSE_SOCKETS + extern wxLuaBindMethod wxIPV4address_methods[]; + extern int wxIPV4address_methodCount; + extern wxLuaBindMethod wxIPaddress_methods[]; + extern int wxIPaddress_methodCount; + extern wxLuaBindMethod wxSockAddress_methods[]; + extern int wxSockAddress_methodCount; + extern wxLuaBindMethod wxSocketBase_methods[]; + extern int wxSocketBase_methodCount; + extern wxLuaBindMethod wxSocketClient_methods[]; + extern int wxSocketClient_methodCount; + extern wxLuaBindMethod wxSocketEvent_methods[]; + extern int wxSocketEvent_methodCount; + extern wxLuaBindMethod wxSocketServer_methods[]; + extern int wxSocketServer_methodCount; + extern wxLuaBindMethod wxURI_methods[]; + extern int wxURI_methodCount; + #endif // wxLUA_USE_wxSocket && wxUSE_SOCKETS + + Index: wxstc_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxstc_bind.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** wxstc_bind.cpp 14 May 2009 05:06:21 -0000 1.14 --- wxstc_bind.cpp 19 May 2009 03:20:53 -0000 1.15 *************** *** 10239,10242 **** --- 10239,10252 ---- static const char* wxluabaseclassnames_wxStyledTextEvent[] = { wxluaclassname_wxCommandEvent, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxStyledTextEvent[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + extern wxLuaBindMethod wxStyledTextCtrl_methods[]; + extern int wxStyledTextCtrl_methodCount; + extern wxLuaBindMethod wxStyledTextEvent_methods[]; + extern int wxStyledTextEvent_methodCount; + + Index: wxgl_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxgl_bind.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** wxgl_bind.cpp 14 May 2009 05:06:21 -0000 1.11 --- wxgl_bind.cpp 19 May 2009 03:20:53 -0000 1.12 *************** *** 707,710 **** --- 707,722 ---- static const char* wxluabaseclassnames_wxGLContext[] = { wxluaclassname_wxObject, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxGLContext[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS + extern wxLuaBindMethod wxGLCanvas_methods[]; + extern int wxGLCanvas_methodCount; + extern wxLuaBindMethod wxGLContext_methods[]; + extern int wxGLContext_methodCount; + #endif // wxLUA_USE_wxGLCanvas && wxUSE_GLCANVAS + + Index: wxxrc_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxxrc_bind.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** wxxrc_bind.cpp 14 May 2009 05:06:21 -0000 1.11 --- wxxrc_bind.cpp 19 May 2009 03:20:53 -0000 1.12 *************** *** 772,775 **** --- 772,785 ---- static const char* wxluabaseclassnames_wxXmlResource[] = { wxluaclassname_wxObject, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxXmlResource[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if wxLUA_USE_wxXRC && wxUSE_XRC + extern wxLuaBindMethod wxXmlResource_methods[]; + extern int wxXmlResource_methodCount; + #endif // wxLUA_USE_wxXRC && wxUSE_XRC + + Index: wxmedia_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxmedia_bind.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxmedia_bind.cpp 14 May 2009 05:06:21 -0000 1.12 --- wxmedia_bind.cpp 19 May 2009 03:20:53 -0000 1.13 *************** *** 738,741 **** --- 738,753 ---- static const char* wxluabaseclassnames_wxMediaEvent[] = { wxluaclassname_wxNotifyEvent, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxMediaEvent[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if wxLUA_USE_wxMediaCtrl && wxUSE_MEDIACTRL + extern wxLuaBindMethod wxMediaCtrl_methods[]; + extern int wxMediaCtrl_methodCount; + extern wxLuaBindMethod wxMediaEvent_methods[]; + extern int wxMediaEvent_methodCount; + #endif // wxLUA_USE_wxMediaCtrl && wxUSE_MEDIACTRL + + Index: wxcore_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxcore_bind.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** wxcore_bind.cpp 14 May 2009 05:06:21 -0000 1.22 --- wxcore_bind.cpp 19 May 2009 03:20:53 -0000 1.23 *************** *** 2610,2614 **** #if wxLUA_USE_wxImage && wxUSE_IMAGE ! { "wxIMAGE_OPTION_BMP_FORMAT", wxIMAGE_OPTION_BMP_FORMAT }, #endif // wxLUA_USE_wxImage && wxUSE_IMAGE --- 2610,2614 ---- #if wxLUA_USE_wxImage && wxUSE_IMAGE ! { "wxIMAGE_OPTION_BMP_FORMAT", _T("wxBMP_FORMAT") }, #endif // wxLUA_USE_wxImage && wxUSE_IMAGE [...991 lines suppressed...] + #if wxUSE_PROGRESSDLG && wxLUA_USE_wxProgressDialog + extern wxLuaBindMethod wxProgressDialog_methods[]; + extern int wxProgressDialog_methodCount; + #endif // wxUSE_PROGRESSDLG && wxLUA_USE_wxProgressDialog + + #if wxUSE_STREAMS && wxUSE_FILESYSTEM + extern wxLuaBindMethod wxMemoryFSHandler_methods[]; + extern int wxMemoryFSHandler_methodCount; + #endif // wxUSE_STREAMS && wxUSE_FILESYSTEM + + #if wxUSE_TEXTDLG && wxLUA_USE_wxTextEntryDialog + extern wxLuaBindMethod wxPasswordEntryDialog_methods[]; + extern int wxPasswordEntryDialog_methodCount; + extern wxLuaBindMethod wxTextEntryDialog_methods[]; + extern int wxTextEntryDialog_methodCount; + #endif // wxUSE_TEXTDLG && wxLUA_USE_wxTextEntryDialog + + Index: wxadv_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxadv_bind.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** wxadv_bind.cpp 14 May 2009 05:06:21 -0000 1.19 --- wxadv_bind.cpp 19 May 2009 03:20:53 -0000 1.20 *************** *** 15700,15703 **** --- 15700,15867 ---- static const char* wxluabaseclassnames_wxWizardPageSimple[] = { wxluaclassname_wxWizardPage, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxWizardPageSimple[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if (wxLUA_USE_wxWave) && (defined(__WXMSW__) && !wxCHECK_VERSION(2,6,0) && wxUSE_WAVE) + extern wxLuaBindMethod wxWave_methods[]; + extern int wxWave_methodCount; + #endif // (wxLUA_USE_wxWave) && (defined(__WXMSW__) && !wxCHECK_VERSION(2,6,0) && wxUSE_WAVE) + + #if (wxLUA_USE_wxWave) && (wxCHECK_VERSION(2,6,0) && wxUSE_SOUND) + extern wxLuaBindMethod wxSound_methods[]; + extern int wxSound_methodCount; + #endif // (wxLUA_USE_wxWave) && (wxCHECK_VERSION(2,6,0) && wxUSE_SOUND) + + #if wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL + extern wxLuaBindMethod wxAnimation_methods[]; + extern int wxAnimation_methodCount; + extern wxLuaBindMethod wxAnimationCtrl_methods[]; + extern int wxAnimationCtrl_methodCount; + #endif // wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL + + #if wxCHECK_VERSION(2,8,0) && wxUSE_ABOUTDLG && wxLUA_USE_wxAboutDialog + extern wxLuaBindMethod wxAboutDialogInfo_methods[]; + extern int wxAboutDialogInfo_methodCount; + #endif // wxCHECK_VERSION(2,8,0) && wxUSE_ABOUTDLG && wxLUA_USE_wxAboutDialog + + #if wxCHECK_VERSION(2,8,0) && wxUSE_HYPERLINKCTRL && wxLUA_USE_wxHyperlinkCtrl + extern wxLuaBindMethod wxHyperlinkCtrl_methods[]; + extern int wxHyperlinkCtrl_methodCount; + extern wxLuaBindMethod wxHyperlinkEvent_methods[]; + extern int wxHyperlinkEvent_methodCount; + #endif // wxCHECK_VERSION(2,8,0) && wxUSE_HYPERLINKCTRL && wxLUA_USE_wxHyperlinkCtrl + + #if wxLUA_USE_wxBitmapComboBox && wxUSE_BITMAPCOMBOBOX + extern wxLuaBindMethod wxBitmapComboBox_methods[]; + extern int wxBitmapComboBox_methodCount; + #endif // wxLUA_USE_wxBitmapComboBox && wxUSE_BITMAPCOMBOBOX + + #if wxLUA_USE_wxCalendarCtrl && wxUSE_CALENDARCTRL + extern wxLuaBindMethod wxCalendarCtrl_methods[]; + extern int wxCalendarCtrl_methodCount; + extern wxLuaBindMethod wxCalendarDateAttr_methods[]; + extern int wxCalendarDateAttr_methodCount; + extern wxLuaBindMethod wxCalendarEvent_methods[]; + extern int wxCalendarEvent_methodCount; + extern wxLuaBindMethod wxDateEvent_methods[]; + extern int wxDateEvent_methodCount; + #endif // wxLUA_USE_wxCalendarCtrl && wxUSE_CALENDARCTRL + + #if wxLUA_USE_wxGrid && wxUSE_GRID + extern wxLuaBindMethod wxGrid_methods[]; + extern int wxGrid_methodCount; + extern WXDLLIMPEXP_BINDWXADV wxLuaBindNumber wxGrid_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXADV(int) wxGrid_enumCount; + extern wxLuaBindMethod wxGridCellAttr_methods[]; + extern int wxGridCellAttr_methodCount; + extern WXDLLIMPEXP_BINDWXADV wxLuaBindNumber wxGridCellAttr_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXADV(int) wxGridCellAttr_enumCount; + extern wxLuaBindMethod wxGridCellAttrProvider_methods[]; + extern int wxGridCellAttrProvider_methodCount; + extern wxLuaBindMethod wxGridCellAutoWrapStringEditor_methods[]; + extern int wxGridCellAutoWrapStringEditor_methodCount; + extern wxLuaBindMethod wxGridCellAutoWrapStringRenderer_methods[]; + extern int wxGridCellAutoWrapStringRenderer_methodCount; + extern wxLuaBindMethod wxGridCellBoolEditor_methods[]; + extern int wxGridCellBoolEditor_methodCount; + extern wxLuaBindMethod wxGridCellBoolRenderer_methods[]; + extern int wxGridCellBoolRenderer_methodCount; + extern wxLuaBindMethod wxGridCellChoiceEditor_methods[]; + extern int wxGridCellChoiceEditor_methodCount; + extern wxLuaBindMethod wxGridCellCoords_methods[]; + extern int wxGridCellCoords_methodCount; + extern wxLuaBindMethod wxGridCellCoordsArray_methods[]; + extern int wxGridCellCoordsArray_methodCount; + extern wxLuaBindMethod wxGridCellDateTimeRenderer_methods[]; + extern int wxGridCellDateTimeRenderer_methodCount; + extern wxLuaBindMethod wxGridCellEditor_methods[]; + extern int wxGridCellEditor_methodCount; + extern wxLuaBindMethod wxGridCellEnumEditor_methods[]; + extern int wxGridCellEnumEditor_methodCount; + extern wxLuaBindMethod wxGridCellEnumRenderer_methods[]; + extern int wxGridCellEnumRenderer_methodCount; + extern wxLuaBindMethod wxGridCellFloatEditor_methods[]; + extern int wxGridCellFloatEditor_methodCount; + extern wxLuaBindMethod wxGridCellFloatRenderer_methods[]; + extern int wxGridCellFloatRenderer_methodCount; + extern wxLuaBindMethod wxGridCellNumberEditor_methods[]; + extern int wxGridCellNumberEditor_methodCount; + extern wxLuaBindMethod wxGridCellNumberRenderer_methods[]; + extern int wxGridCellNumberRenderer_methodCount; + extern wxLuaBindMethod wxGridCellRenderer_methods[]; + extern int wxGridCellRenderer_methodCount; + extern wxLuaBindMethod wxGridCellStringRenderer_methods[]; + extern int wxGridCellStringRenderer_methodCount; + extern wxLuaBindMethod wxGridCellTextEditor_methods[]; + extern int wxGridCellTextEditor_methodCount; + extern wxLuaBindMethod wxGridCellWorker_methods[]; + extern int wxGridCellWorker_methodCount; + extern wxLuaBindMethod wxGridEditorCreatedEvent_methods[]; + extern int wxGridEditorCreatedEvent_methodCount; + extern wxLuaBindMethod wxGridEvent_methods[]; + extern int wxGridEvent_methodCount; + extern wxLuaBindMethod wxGridRangeSelectEvent_methods[]; + extern int wxGridRangeSelectEvent_methodCount; + extern wxLuaBindMethod wxGridSizeEvent_methods[]; + extern int wxGridSizeEvent_methodCount; + extern wxLuaBindMethod wxGridStringTable_methods[]; + extern int wxGridStringTable_methodCount; + extern wxLuaBindMethod wxGridTableBase_methods[]; + extern int wxGridTableBase_methodCount; + extern wxLuaBindMethod wxGridTableMessage_methods[]; + extern int wxGridTableMessage_methodCount; + extern wxLuaBindMethod wxLuaGridTableBase_methods[]; + extern int wxLuaGridTableBase_methodCount; + #endif // wxLUA_USE_wxGrid && wxUSE_GRID + + #if wxLUA_USE_wxJoystick && wxUSE_JOYSTICK + extern wxLuaBindMethod wxJoystick_methods[]; + extern int wxJoystick_methodCount; + extern wxLuaBindMethod wxJoystickEvent_methods[]; + extern int wxJoystickEvent_methodCount; + #endif // wxLUA_USE_wxJoystick && wxUSE_JOYSTICK + + #if wxLUA_USE_wxSashWindow && wxUSE_SASH + extern wxLuaBindMethod wxCalculateLayoutEvent_methods[]; + extern int wxCalculateLayoutEvent_methodCount; + extern wxLuaBindMethod wxLayoutAlgorithm_methods[]; + extern int wxLayoutAlgorithm_methodCount; + extern wxLuaBindMethod wxQueryLayoutInfoEvent_methods[]; + extern int wxQueryLayoutInfoEvent_methodCount; + extern wxLuaBindMethod wxSashEvent_methods[]; + extern int wxSashEvent_methodCount; + extern wxLuaBindMethod wxSashLayoutWindow_methods[]; + extern int wxSashLayoutWindow_methodCount; + extern wxLuaBindMethod wxSashWindow_methods[]; + extern int wxSashWindow_methodCount; + #endif // wxLUA_USE_wxSashWindow && wxUSE_SASH + + #if wxLUA_USE_wxSplashScreen + extern wxLuaBindMethod wxSplashScreen_methods[]; + extern int wxSplashScreen_methodCount; + extern wxLuaBindMethod wxSplashScreenWindow_methods[]; + extern int wxSplashScreenWindow_methodCount; + #endif // wxLUA_USE_wxSplashScreen + + #if wxLUA_USE_wxTaskBarIcon && defined (wxHAS_TASK_BAR_ICON ) + extern wxLuaBindMethod wxTaskBarIcon_methods[]; + extern int wxTaskBarIcon_methodCount; + extern wxLuaBindMethod wxTaskBarIconEvent_methods[]; + extern int wxTaskBarIconEvent_methodCount; + #endif // wxLUA_USE_wxTaskBarIcon && defined (wxHAS_TASK_BAR_ICON ) + + #if wxUSE_WIZARDDLG && wxLUA_USE_wxWizard + extern wxLuaBindMethod wxWizard_methods[]; + extern int wxWizard_methodCount; + extern wxLuaBindMethod wxWizardEvent_methods[]; + extern int wxWizardEvent_methodCount; + extern wxLuaBindMethod wxWizardPage_methods[]; + extern int wxWizardPage_methodCount; + extern wxLuaBindMethod wxWizardPageSimple_methods[]; + extern int wxWizardPageSimple_methodCount; + #endif // wxUSE_WIZARDDLG && wxLUA_USE_wxWizard + + Index: wxrichtext_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxrichtext_bind.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** wxrichtext_bind.cpp 14 May 2009 05:06:21 -0000 1.10 --- wxrichtext_bind.cpp 19 May 2009 03:20:53 -0000 1.11 *************** *** 125,128 **** --- 125,133 ---- + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + Index: wxhtml_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxhtml_bind.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** wxhtml_bind.cpp 14 May 2009 05:06:21 -0000 1.13 --- wxhtml_bind.cpp 19 May 2009 03:20:53 -0000 1.14 *************** *** 4912,4915 **** --- 4912,4974 ---- static const char* wxluabaseclassnames_wxSimpleHtmlListBox[] = { wxluaclassname_wxHtmlWindowInterface, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxSimpleHtmlListBox[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if (wxLUA_USE_wxHTML && wxUSE_HTML) && (wxCHECK_VERSION(2,8,0)) + extern wxLuaBindMethod wxHtmlCellEvent_methods[]; + extern int wxHtmlCellEvent_methodCount; + extern wxLuaBindMethod wxHtmlColourCell_methods[]; + extern int wxHtmlColourCell_methodCount; + extern wxLuaBindMethod wxHtmlFontCell_methods[]; + extern int wxHtmlFontCell_methodCount; + extern wxLuaBindMethod wxHtmlWindowInterface_methods[]; + extern int wxHtmlWindowInterface_methodCount; + extern WXDLLIMPEXP_BINDWXHTML wxLuaBindNumber wxHtmlWindowInterface_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXHTML(int) wxHtmlWindowInterface_enumCount; + extern wxLuaBindMethod wxSimpleHtmlListBox_methods[]; + extern int wxSimpleHtmlListBox_methodCount; + #endif // (wxLUA_USE_wxHTML && wxUSE_HTML) && (wxCHECK_VERSION(2,8,0)) + + #if (wxLUA_USE_wxHTML && wxUSE_HTML) && (wxLUA_USE_wxHtmlHelpController && wxUSE_WXHTML_HELP) + extern wxLuaBindMethod wxHtmlHelpController_methods[]; + extern int wxHtmlHelpController_methodCount; + extern wxLuaBindMethod wxHtmlHelpData_methods[]; + extern int wxHtmlHelpData_methodCount; + #endif // (wxLUA_USE_wxHTML && wxUSE_HTML) && (wxLUA_USE_wxHtmlHelpController && wxUSE_WXHTML_HELP) + + #if (wxLUA_USE_wxHTML && wxUSE_HTML) && (wxLUA_USE_wxLuaHtmlWindow) + extern wxLuaBindMethod wxLuaHtmlWinTagEvent_methods[]; + extern int wxLuaHtmlWinTagEvent_methodCount; + extern wxLuaBindMethod wxLuaHtmlWindow_methods[]; + extern int wxLuaHtmlWindow_methodCount; + #endif // (wxLUA_USE_wxHTML && wxUSE_HTML) && (wxLUA_USE_wxLuaHtmlWindow) + + #if wxLUA_USE_wxHTML && wxUSE_HTML + extern wxLuaBindMethod wxHtmlCell_methods[]; + extern int wxHtmlCell_methodCount; + extern wxLuaBindMethod wxHtmlContainerCell_methods[]; + extern int wxHtmlContainerCell_methodCount; + extern wxLuaBindMethod wxHtmlDCRenderer_methods[]; + extern int wxHtmlDCRenderer_methodCount; + extern wxLuaBindMethod wxHtmlEasyPrinting_methods[]; + extern int wxHtmlEasyPrinting_methodCount; + extern wxLuaBindMethod wxHtmlLinkInfo_methods[]; + extern int wxHtmlLinkInfo_methodCount; + extern wxLuaBindMethod wxHtmlParser_methods[]; + extern int wxHtmlParser_methodCount; + extern wxLuaBindMethod wxHtmlPrintout_methods[]; + extern int wxHtmlPrintout_methodCount; + extern wxLuaBindMethod wxHtmlTag_methods[]; + extern int wxHtmlTag_methodCount; + extern wxLuaBindMethod wxHtmlWidgetCell_methods[]; + extern int wxHtmlWidgetCell_methodCount; + extern wxLuaBindMethod wxHtmlWinParser_methods[]; + extern int wxHtmlWinParser_methodCount; + extern wxLuaBindMethod wxHtmlWindow_methods[]; + extern int wxHtmlWindow_methodCount; + #endif // wxLUA_USE_wxHTML && wxUSE_HTML + + Index: wxaui_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxaui_bind.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** wxaui_bind.cpp 14 May 2009 05:06:21 -0000 1.16 --- wxaui_bind.cpp 19 May 2009 03:20:53 -0000 1.17 *************** *** 9003,9006 **** --- 9003,9062 ---- static const char* wxluabaseclassnames_wxAuiTabCtrl[] = { wxluaclassname_wxControl, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxAuiTabCtrl[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI + extern wxLuaBindMethod wxAuiDefaultDockArt_methods[]; + extern int wxAuiDefaultDockArt_methodCount; + extern wxLuaBindMethod wxAuiDefaultTabArt_methods[]; + extern int wxAuiDefaultTabArt_methodCount; + extern wxLuaBindMethod wxAuiDockArt_methods[]; + extern int wxAuiDockArt_methodCount; + extern wxLuaBindMethod wxAuiDockInfo_methods[]; + extern int wxAuiDockInfo_methodCount; + extern wxLuaBindMethod wxAuiDockUIPart_methods[]; + extern int wxAuiDockUIPart_methodCount; + extern WXDLLIMPEXP_BINDWXAUI wxLuaBindNumber wxAuiDockUIPart_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXAUI(int) wxAuiDockUIPart_enumCount; + extern wxLuaBindMethod wxAuiFloatingFrame_methods[]; + extern int wxAuiFloatingFrame_methodCount; + extern wxLuaBindMethod wxAuiMDIChildFrame_methods[]; + extern int wxAuiMDIChildFrame_methodCount; + extern wxLuaBindMethod wxAuiMDIClientWindow_methods[]; + extern int wxAuiMDIClientWindow_methodCount; + extern wxLuaBindMethod wxAuiMDIParentFrame_methods[]; + extern int wxAuiMDIParentFrame_methodCount; + extern wxLuaBindMethod wxAuiManager_methods[]; + extern int wxAuiManager_methodCount; + extern wxLuaBindMethod wxAuiManagerEvent_methods[]; + extern int wxAuiManagerEvent_methodCount; + extern wxLuaBindMethod wxAuiNotebook_methods[]; + extern int wxAuiNotebook_methodCount; + extern wxLuaBindMethod wxAuiNotebookEvent_methods[]; + extern int wxAuiNotebookEvent_methodCount; + extern wxLuaBindMethod wxAuiNotebookPage_methods[]; + extern int wxAuiNotebookPage_methodCount; + extern wxLuaBindMethod wxAuiNotebookPageArray_methods[]; + extern int wxAuiNotebookPageArray_methodCount; + extern wxLuaBindMethod wxAuiPaneButton_methods[]; + extern int wxAuiPaneButton_methodCount; + extern wxLuaBindMethod wxAuiPaneInfo_methods[]; + extern int wxAuiPaneInfo_methodCount; + extern WXDLLIMPEXP_BINDWXAUI wxLuaBindNumber wxAuiPaneInfo_enums[]; + extern WXDLLIMPEXP_DATA_BINDWXAUI(int) wxAuiPaneInfo_enumCount; + extern wxLuaBindMethod wxAuiPaneInfoArray_methods[]; + extern int wxAuiPaneInfoArray_methodCount; + extern wxLuaBindMethod wxAuiSimpleTabArt_methods[]; + extern int wxAuiSimpleTabArt_methodCount; + extern wxLuaBindMethod wxAuiTabArt_methods[]; + extern int wxAuiTabArt_methodCount; + extern wxLuaBindMethod wxAuiTabContainerButton_methods[]; + extern int wxAuiTabContainerButton_methodCount; + extern wxLuaBindMethod wxAuiTabCtrl_methods[]; + extern int wxAuiTabCtrl_methodCount; + #endif // wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI + + Index: wxxml_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxxml_bind.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxxml_bind.cpp 14 May 2009 05:06:21 -0000 1.12 --- wxxml_bind.cpp 19 May 2009 03:20:53 -0000 1.13 *************** *** 1117,1120 **** --- 1117,1134 ---- static const char* wxluabaseclassnames_wxXmlDocument[] = { wxluaclassname_wxObject, NULL }; static wxLuaBindClass* wxluabaseclassbinds_wxXmlDocument[] = { NULL }; + // --------------------------------------------------------------------------- + // Lua Tag Method Values and Tables for each Class + // --------------------------------------------------------------------------- + + #if wxLUA_USE_wxXML && wxUSE_XML + extern wxLuaBindMethod wxXmlDocument_methods[]; + extern int wxXmlDocument_methodCount; + extern wxLuaBindMethod wxXmlNode_methods[]; + extern int wxXmlNode_methodCount; + extern wxLuaBindMethod wxXmlProperty_methods[]; + extern int wxXmlProperty_methodCount; + #endif // wxLUA_USE_wxXML && wxUSE_XML + + Index: wxbase_data.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxbase_data.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** wxbase_data.cpp 31 Mar 2009 04:23:42 -0000 1.19 --- wxbase_data.cpp 19 May 2009 03:20:53 -0000 1.20 *************** *** 532,535 **** --- 532,536 ---- // function be be called. wxObject *pObject = (wxObject *)wxlua_touserdata(L, 1, false); + //wxObject *pObject = (wxObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxObject); const wxLuaBindClass *wxlClass = wxluaT_getclass(L, className); |