From: John L. <jr...@us...> - 2007-06-19 22:27:19
|
Update of /cvsroot/wxlua/wxLua/bindings/wxstc In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10494/wxLua/bindings/wxstc Modified Files: wxstc_datatypes.lua Log Message: Add samples for picker and other controls Fix some binding problems found from the samples Index: wxstc_datatypes.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxstc/wxstc_datatypes.lua,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** wxstc_datatypes.lua 19 Jun 2007 13:58:15 -0000 1.64 --- wxstc_datatypes.lua 19 Jun 2007 22:26:46 -0000 1.65 *************** *** 240,244 **** wxAnimation = { BaseClass = "wxGDIObject", ! Condition = "wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL && wxchkver_2_8", DefType = "class", IsNumber = false, --- 240,244 ---- wxAnimation = { BaseClass = "wxGDIObject", ! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL", DefType = "class", IsNumber = false, *************** *** 247,251 **** wxAnimationCtrl = { BaseClass = "wxControl", ! Condition = "wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL && wxchkver_2_8", DefType = "class", IsNumber = false, --- 247,251 ---- wxAnimationCtrl = { BaseClass = "wxControl", ! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL", DefType = "class", IsNumber = false, *************** *** 253,257 **** }, wxAnimationType = { ! Condition = "wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL && wxchkver_2_8", DefType = "enum", IsNumber = true, --- 253,257 ---- }, wxAnimationType = { ! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL", DefType = "enum", IsNumber = true, *************** *** 608,612 **** wxCollapsiblePane = { BaseClass = "wxControl", ! Condition = "wxchkver_2_8 && wxLUA_USE_wxCollapsiblePane && wxUSE_COLLPANE", DefType = "class", IsNumber = false, --- 608,612 ---- wxCollapsiblePane = { BaseClass = "wxControl", ! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxCollapsiblePane && wxUSE_COLLPANE", DefType = "class", IsNumber = false, *************** *** 615,619 **** wxCollapsiblePaneEvent = { BaseClass = "wxCommandEvent", ! Condition = "wxchkver_2_8 && wxLUA_USE_wxCollapsiblePane && wxUSE_COLLPANE", DefType = "class", IsNumber = false, --- 615,619 ---- wxCollapsiblePaneEvent = { BaseClass = "wxCommandEvent", ! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxCollapsiblePane && wxUSE_COLLPANE", DefType = "class", IsNumber = false, *************** *** 650,654 **** wxColourPickerCtrl = { BaseClass = "wxPickerBase", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxColourPickerCtrl && wxUSE_COLOURPICKERCTRL)", DefType = "class", IsNumber = false, --- 650,654 ---- wxColourPickerCtrl = { BaseClass = "wxPickerBase", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxColourPickerCtrl && wxUSE_COLOURPICKERCTRL)", DefType = "class", IsNumber = false, *************** *** 657,661 **** wxColourPickerEvent = { BaseClass = "wxCommandEvent", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxColourPickerCtrl && wxUSE_COLOURPICKERCTRL)", DefType = "class", IsNumber = false, --- 657,661 ---- wxColourPickerEvent = { BaseClass = "wxCommandEvent", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxColourPickerCtrl && wxUSE_COLOURPICKERCTRL)", DefType = "class", IsNumber = false, *************** *** 850,854 **** wxDatePickerCtrl = { BaseClass = "wxControl", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxDatePickerCtrl && wxUSE_DATEPICKCTRL)", DefType = "class", IsNumber = false, --- 850,854 ---- wxDatePickerCtrl = { BaseClass = "wxControl", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxDatePickerCtrl && wxUSE_DATEPICKCTRL)", DefType = "class", IsNumber = false, *************** *** 944,948 **** wxDirPickerCtrl = { BaseClass = "wxFileDirPickerCtrlBase", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxDirPickerCtrl && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, --- 944,948 ---- wxDirPickerCtrl = { BaseClass = "wxFileDirPickerCtrlBase", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxDirPickerCtrl && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, *************** *** 1162,1166 **** wxFileDirPickerCtrlBase = { BaseClass = "wxPickerBase", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && ((wxLUA_USE_wxDirPickerCtrl || wxLUA_USE_wxFilePickerCtrl ) && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, --- 1162,1166 ---- wxFileDirPickerCtrlBase = { BaseClass = "wxPickerBase", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && ((wxLUA_USE_wxDirPickerCtrl || wxLUA_USE_wxFilePickerCtrl ) && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, *************** *** 1169,1173 **** wxFileDirPickerEvent = { BaseClass = "wxCommandEvent", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && ((wxLUA_USE_wxDirPickerCtrl || wxLUA_USE_wxFilePickerCtrl ) && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, --- 1169,1173 ---- wxFileDirPickerEvent = { BaseClass = "wxCommandEvent", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && ((wxLUA_USE_wxDirPickerCtrl || wxLUA_USE_wxFilePickerCtrl ) && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, *************** *** 1215,1219 **** wxFilePickerCtrl = { BaseClass = "wxFileDirPickerCtrlBase", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxDirPickerCtrl && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, --- 1215,1219 ---- wxFilePickerCtrl = { BaseClass = "wxFileDirPickerCtrlBase", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxDirPickerCtrl && (wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL ))", DefType = "class", IsNumber = false, *************** *** 1353,1357 **** wxFontPickerCtrl = { BaseClass = "wxPickerBase", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxFontPickerCtrl && wxUSE_FONTPICKERCTRL)", DefType = "class", IsNumber = false, --- 1353,1357 ---- wxFontPickerCtrl = { BaseClass = "wxPickerBase", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxFontPickerCtrl && wxUSE_FONTPICKERCTRL)", DefType = "class", IsNumber = false, *************** *** 1360,1364 **** wxFontPickerEvent = { BaseClass = "wxCommandEvent", ! Condition = "(wxchkver_2_8 && wxLUA_USE_wxPicker) && (wxLUA_USE_wxFontPickerCtrl && wxUSE_FONTPICKERCTRL)", DefType = "class", IsNumber = false, --- 1360,1364 ---- wxFontPickerEvent = { BaseClass = "wxCommandEvent", ! Condition = "(wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker) && (wxLUA_USE_wxFontPickerCtrl && wxUSE_FONTPICKERCTRL)", DefType = "class", IsNumber = false, *************** *** 2692,2696 **** wxPickerBase = { BaseClass = "wxControl", ! Condition = "wxchkver_2_8 && wxLUA_USE_wxPicker", DefType = "class", IsNumber = false, --- 2692,2696 ---- wxPickerBase = { BaseClass = "wxControl", ! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxPicker", DefType = "class", IsNumber = false, |