Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10993/wxLua/modules/wxbind/src Modified Files: wxadv_bind.cpp wxaui_bind.cpp wxbase_base.cpp wxbase_bind.cpp wxbase_data.cpp wxbase_datetime.cpp wxbase_file.cpp wxcore_bind.cpp wxcore_clipdrag.cpp wxcore_controls.cpp wxcore_core.cpp wxcore_defsutils.cpp wxcore_event.cpp wxcore_gdi.cpp wxcore_help.cpp wxcore_mdi.cpp wxcore_menutool.cpp wxcore_print.cpp wxcore_sizer.cpp wxcore_windows.cpp wxhtml_bind.cpp wxmedia_bind.cpp wxnet_bind.cpp wxstc_bind.cpp wxxml_bind.cpp Log Message: Fixed double -> unsigned integer using all 32 bits conversion for wxSTC_MASK_FOLDERS problem, thanks to Andre Arpin. Index: wxcore_core.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxcore_core.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxcore_core.cpp 29 Jan 2008 04:22:52 -0000 1.12 --- wxcore_core.cpp 24 Mar 2009 04:15:24 -0000 1.13 *************** *** 231,235 **** { // wxSystemColour index ! wxSystemColour index = (wxSystemColour)wxlua_getintegertype(L, 1); // call GetColour // allocate a new object using the copy constructor --- 231,235 ---- { // wxSystemColour index ! wxSystemColour index = (wxSystemColour)wxlua_getenumtype(L, 1); // call GetColour // allocate a new object using the copy constructor *************** *** 253,257 **** { // wxSystemFont index ! wxSystemFont index = (wxSystemFont)wxlua_getintegertype(L, 1); // call GetFont // allocate a new object using the copy constructor --- 253,257 ---- { // wxSystemFont index ! wxSystemFont index = (wxSystemFont)wxlua_getenumtype(L, 1); // call GetFont // allocate a new object using the copy constructor *************** *** 278,282 **** wxWindow * win = (argCount >= 2 ? (wxWindow *)wxluaT_getuserdatatype(L, 2, wxluatype_wxWindow) : NULL); // wxSystemMetric index ! wxSystemMetric index = (wxSystemMetric)wxlua_getintegertype(L, 1); // call GetMetric int returns = (wxSystemSettings::GetMetric(index, win)); --- 278,282 ---- wxWindow * win = (argCount >= 2 ? (wxWindow *)wxluaT_getuserdatatype(L, 2, wxluatype_wxWindow) : NULL); // wxSystemMetric index ! wxSystemMetric index = (wxSystemMetric)wxlua_getenumtype(L, 1); // call GetMetric int returns = (wxSystemSettings::GetMetric(index, win)); *************** *** 307,311 **** { // wxSystemFeature index ! wxSystemFeature index = (wxSystemFeature)wxlua_getintegertype(L, 1); // call HasFeature bool returns = (wxSystemSettings::HasFeature(index)); --- 307,311 ---- { // wxSystemFeature index ! wxSystemFeature index = (wxSystemFeature)wxlua_getenumtype(L, 1); // call HasFeature bool returns = (wxSystemSettings::HasFeature(index)); *************** *** 323,327 **** { // wxSystemScreenType screen ! wxSystemScreenType screen = (wxSystemScreenType)wxlua_getintegertype(L, 1); // call SetScreenType wxSystemSettings::SetScreenType(screen); --- 323,327 ---- { // wxSystemScreenType screen ! wxSystemScreenType screen = (wxSystemScreenType)wxlua_getenumtype(L, 1); // call SetScreenType wxSystemSettings::SetScreenType(screen); Index: wxcore_clipdrag.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxcore_clipdrag.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** wxcore_clipdrag.cpp 21 Oct 2008 04:23:18 -0000 1.14 --- wxcore_clipdrag.cpp 24 Mar 2009 04:15:19 -0000 1.15 *************** *** 453,457 **** { // wxDataFormatId format ! wxDataFormatId format = (wxDataFormatId)wxlua_getintegertype(L, 2); // get this wxDataFormat * self = (wxDataFormat *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataFormat); --- 453,457 ---- { // wxDataFormatId format ! wxDataFormatId format = (wxDataFormatId)wxlua_getenumtype(L, 2); // get this wxDataFormat * self = (wxDataFormat *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataFormat); *************** *** 510,514 **** int argCount = lua_gettop(L); // wxDataFormatId format = wxDF_INVALID ! wxDataFormatId format = (argCount >= 1 ? (wxDataFormatId)wxlua_getintegertype(L, 1) : wxDF_INVALID); // call constructor wxDataFormat* returns = new wxDataFormat(format); --- 510,514 ---- int argCount = lua_gettop(L); // wxDataFormatId format = wxDF_INVALID ! wxDataFormatId format = (argCount >= 1 ? (wxDataFormatId)wxlua_getenumtype(L, 1) : wxDF_INVALID); // call constructor wxDataFormat* returns = new wxDataFormat(format); *************** *** 574,578 **** int argCount = lua_gettop(L); // wxDataObject::Direction dir = wxDataObject::Get ! wxDataObject::Direction dir = (argCount >= 2 ? (wxDataObject::Direction)(int)wxlua_getintegertype(L, 2) : wxDataObject::Get); // get this wxDataObject *self = (wxDataObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataObject); --- 574,578 ---- int argCount = lua_gettop(L); // wxDataObject::Direction dir = wxDataObject::Get ! wxDataObject::Direction dir = (argCount >= 2 ? (wxDataObject::Direction)(int)wxlua_getenumtype(L, 2) : wxDataObject::Get); // get this wxDataObject *self = (wxDataObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataObject); *************** *** 666,670 **** int argCount = lua_gettop(L); // wxDataObject::Direction dir = wxDataObject::Get ! wxDataObject::Direction dir = (argCount >= 2 ? (wxDataObject::Direction)wxlua_getintegertype(L, 2) : wxDataObject::Get); // get this wxDataObject * self = (wxDataObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataObject); --- 666,670 ---- int argCount = lua_gettop(L); // wxDataObject::Direction dir = wxDataObject::Get ! wxDataObject::Direction dir = (argCount >= 2 ? (wxDataObject::Direction)wxlua_getenumtype(L, 2) : wxDataObject::Get); // get this wxDataObject * self = (wxDataObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataObject); *************** *** 686,690 **** int argCount = lua_gettop(L); // wxDataObject::Direction dir = wxDataObject::Get ! wxDataObject::Direction dir = (argCount >= 2 ? (wxDataObject::Direction)wxlua_getintegertype(L, 2) : wxDataObject::Get); // get this wxDataObject * self = (wxDataObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataObject); --- 686,690 ---- int argCount = lua_gettop(L); // wxDataObject::Direction dir = wxDataObject::Get ! wxDataObject::Direction dir = (argCount >= 2 ? (wxDataObject::Direction)wxlua_getenumtype(L, 2) : wxDataObject::Get); // get this wxDataObject * self = (wxDataObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDataObject); *************** *** 1434,1438 **** { // wxDragResult effect ! wxDragResult effect = (wxDragResult)wxlua_getintegertype(L, 2); // get this wxDropSource * self = (wxDropSource *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDropSource); --- 1434,1438 ---- { // wxDragResult effect ! wxDragResult effect = (wxDragResult)wxlua_getenumtype(L, 2); // get this wxDropSource * self = (wxDropSource *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDropSource); *************** *** 1456,1460 **** const wxCursor * cursor = (const wxCursor *)wxluaT_getuserdatatype(L, 3, wxluatype_wxCursor); // wxDragResult res ! wxDragResult res = (wxDragResult)wxlua_getintegertype(L, 2); // get this wxDropSource * self = (wxDropSource *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDropSource); --- 1456,1460 ---- const wxCursor * cursor = (const wxCursor *)wxluaT_getuserdatatype(L, 3, wxluatype_wxCursor); // wxDragResult res ! wxDragResult res = (wxDragResult)wxlua_getenumtype(L, 2); // get this wxDropSource * self = (wxDropSource *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDropSource); Index: wxcore_event.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxcore_event.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** wxcore_event.cpp 29 Jan 2008 04:22:52 -0000 1.15 --- wxcore_event.cpp 24 Mar 2009 04:15:25 -0000 1.16 *************** *** 2305,2309 **** { // wxIdleMode mode ! wxIdleMode mode = (wxIdleMode)wxlua_getintegertype(L, 1); // call SetMode wxIdleEvent::SetMode(mode); --- 2305,2309 ---- { // wxIdleMode mode ! wxIdleMode mode = (wxIdleMode)wxlua_getenumtype(L, 1); // call SetMode wxIdleEvent::SetMode(mode); *************** *** 4582,4586 **** { // wxUpdateUIMode mode ! wxUpdateUIMode mode = (wxUpdateUIMode)wxlua_getintegertype(L, 1); // call SetMode wxUpdateUIEvent::SetMode(mode); --- 4582,4586 ---- { // wxUpdateUIMode mode ! wxUpdateUIMode mode = (wxUpdateUIMode)wxlua_getenumtype(L, 1); // call SetMode wxUpdateUIEvent::SetMode(mode); *************** *** 4810,4814 **** { // wxHelpEvent::Origin origin ! wxHelpEvent::Origin origin = (wxHelpEvent::Origin)wxlua_getintegertype(L, 2); // get this wxHelpEvent * self = (wxHelpEvent *)wxluaT_getuserdatatype(L, 1, wxluatype_wxHelpEvent); --- 4810,4814 ---- { // wxHelpEvent::Origin origin ! wxHelpEvent::Origin origin = (wxHelpEvent::Origin)wxlua_getenumtype(L, 2); // get this wxHelpEvent * self = (wxHelpEvent *)wxluaT_getuserdatatype(L, 1, wxluatype_wxHelpEvent); *************** *** 4870,4874 **** int argCount = lua_gettop(L); // wxHelpEvent::Origin origin = wxHelpEvent::Origin_Unknown ! wxHelpEvent::Origin origin = (argCount >= 4 ? (wxHelpEvent::Origin)wxlua_getintegertype(L, 4) : wxHelpEvent::Origin_Unknown); // const wxPoint pt = wxDefaultPosition const wxPoint * pt = (argCount >= 3 ? (const wxPoint *)wxluaT_getuserdatatype(L, 3, wxluatype_wxPoint) : &wxDefaultPosition); --- 4870,4874 ---- int argCount = lua_gettop(L); // wxHelpEvent::Origin origin = wxHelpEvent::Origin_Unknown ! wxHelpEvent::Origin origin = (argCount >= 4 ? (wxHelpEvent::Origin)wxlua_getenumtype(L, 4) : wxHelpEvent::Origin_Unknown); // const wxPoint pt = wxDefaultPosition const wxPoint * pt = (argCount >= 3 ? (const wxPoint *)wxluaT_getuserdatatype(L, 3, wxluatype_wxPoint) : &wxDefaultPosition); Index: wxcore_gdi.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxcore_gdi.cpp,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** wxcore_gdi.cpp 30 Oct 2008 04:14:25 -0000 1.20 --- wxcore_gdi.cpp 24 Mar 2009 04:15:27 -0000 1.21 *************** *** 2114,2118 **** { // wxRegionOp op ! wxRegionOp op = (wxRegionOp)wxlua_getintegertype(L, 3); // const wxRegion region const wxRegion * region = (const wxRegion *)wxluaT_getuserdatatype(L, 2, wxluatype_wxRegion); --- 2114,2118 ---- { // wxRegionOp op ! wxRegionOp op = (wxRegionOp)wxlua_getenumtype(L, 3); // const wxRegion region const wxRegion * region = (const wxRegion *)wxluaT_getuserdatatype(L, 2, wxluatype_wxRegion); *************** *** 2137,2141 **** { // wxRegionOp op ! wxRegionOp op = (wxRegionOp)wxlua_getintegertype(L, 3); // const wxRect rect const wxRect * rect = (const wxRect *)wxluaT_getuserdatatype(L, 2, wxluatype_wxRect); --- 2137,2141 ---- { // wxRegionOp op ! wxRegionOp op = (wxRegionOp)wxlua_getenumtype(L, 3); // const wxRect rect const wxRect * rect = (const wxRect *)wxluaT_getuserdatatype(L, 2, wxluatype_wxRect); *************** *** 2160,2164 **** { // wxRegionOp op ! wxRegionOp op = (wxRegionOp)wxlua_getintegertype(L, 6); // wxCoord h wxCoord h = (wxCoord)wxlua_getnumbertype(L, 5); --- 2160,2164 ---- { // wxRegionOp op ! wxRegionOp op = (wxRegionOp)wxlua_getenumtype(L, 6); // wxCoord h wxCoord h = (wxCoord)wxlua_getnumbertype(L, 5); *************** *** 3364,3368 **** int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 5 ? (wxFontEncoding)wxlua_getintegertype(L, 5) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 4 ? wxlua_getwxStringtype(L, 4) : wxString(wxEmptyString)); --- 3364,3368 ---- int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 5 ? (wxFontEncoding)wxlua_getenumtype(L, 5) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 4 ? wxlua_getwxStringtype(L, 4) : wxString(wxEmptyString)); *************** *** 3370,3374 **** int flags = (argCount >= 3 ? (int)wxlua_getnumbertype(L, 3) : wxFONTFLAG_DEFAULT); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getintegertype(L, 2); // const wxSize pixelSize const wxSize * pixelSize = (const wxSize *)wxluaT_getuserdatatype(L, 1, wxluatype_wxSize); --- 3370,3374 ---- int flags = (argCount >= 3 ? (int)wxlua_getnumbertype(L, 3) : wxFONTFLAG_DEFAULT); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getenumtype(L, 2); // const wxSize pixelSize const wxSize * pixelSize = (const wxSize *)wxluaT_getuserdatatype(L, 1, wxluatype_wxSize); *************** *** 3391,3395 **** int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 7 ? (wxFontEncoding)wxlua_getintegertype(L, 7) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 6 ? wxlua_getwxStringtype(L, 6) : wxString(wxEmptyString)); --- 3391,3395 ---- int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 7 ? (wxFontEncoding)wxlua_getenumtype(L, 7) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 6 ? wxlua_getwxStringtype(L, 6) : wxString(wxEmptyString)); *************** *** 3397,3405 **** const bool underline = (argCount >= 5 ? wxlua_getbooleantype(L, 5) : false); // wxFontWeight weight ! wxFontWeight weight = (wxFontWeight)wxlua_getintegertype(L, 4); // int style int style = (int)wxlua_getnumbertype(L, 3); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getintegertype(L, 2); // const wxSize pixelSize const wxSize * pixelSize = (const wxSize *)wxluaT_getuserdatatype(L, 1, wxluatype_wxSize); --- 3397,3405 ---- const bool underline = (argCount >= 5 ? wxlua_getbooleantype(L, 5) : false); // wxFontWeight weight ! wxFontWeight weight = (wxFontWeight)wxlua_getenumtype(L, 4); // int style int style = (int)wxlua_getnumbertype(L, 3); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getenumtype(L, 2); // const wxSize pixelSize const wxSize * pixelSize = (const wxSize *)wxluaT_getuserdatatype(L, 1, wxluatype_wxSize); *************** *** 3425,3429 **** int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 5 ? (wxFontEncoding)wxlua_getintegertype(L, 5) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 4 ? wxlua_getwxStringtype(L, 4) : wxString(wxEmptyString)); --- 3425,3429 ---- int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 5 ? (wxFontEncoding)wxlua_getenumtype(L, 5) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 4 ? wxlua_getwxStringtype(L, 4) : wxString(wxEmptyString)); *************** *** 3431,3435 **** int flags = (argCount >= 3 ? (int)wxlua_getnumbertype(L, 3) : wxFONTFLAG_DEFAULT); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getintegertype(L, 2); // int pointSize int pointSize = (int)wxlua_getnumbertype(L, 1); --- 3431,3435 ---- int flags = (argCount >= 3 ? (int)wxlua_getnumbertype(L, 3) : wxFONTFLAG_DEFAULT); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getenumtype(L, 2); // int pointSize int pointSize = (int)wxlua_getnumbertype(L, 1); *************** *** 3452,3456 **** int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 7 ? (wxFontEncoding)wxlua_getintegertype(L, 7) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 6 ? wxlua_getwxStringtype(L, 6) : wxString(wxEmptyString)); --- 3452,3456 ---- int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 7 ? (wxFontEncoding)wxlua_getenumtype(L, 7) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 6 ? wxlua_getwxStringtype(L, 6) : wxString(wxEmptyString)); *************** *** 3458,3466 **** const bool underline = (argCount >= 5 ? wxlua_getbooleantype(L, 5) : false); // wxFontWeight weight ! wxFontWeight weight = (wxFontWeight)wxlua_getintegertype(L, 4); // int style int style = (int)wxlua_getnumbertype(L, 3); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getintegertype(L, 2); // int pointSize int pointSize = (int)wxlua_getnumbertype(L, 1); --- 3458,3466 ---- const bool underline = (argCount >= 5 ? wxlua_getbooleantype(L, 5) : false); // wxFontWeight weight ! wxFontWeight weight = (wxFontWeight)wxlua_getenumtype(L, 4); // int style int style = (int)wxlua_getnumbertype(L, 3); // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getenumtype(L, 2); // int pointSize int pointSize = (int)wxlua_getnumbertype(L, 1); *************** *** 3501,3505 **** { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getintegertype(L, 1); // call SetDefaultEncoding wxFont::SetDefaultEncoding(encoding); --- 3501,3505 ---- { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getenumtype(L, 1); // call SetDefaultEncoding wxFont::SetDefaultEncoding(encoding); *************** *** 3761,3765 **** int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 7 ? (wxFontEncoding)wxlua_getintegertype(L, 7) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 6 ? wxlua_getwxStringtype(L, 6) : wxString(wxEmptyString)); --- 3761,3765 ---- int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 7 ? (wxFontEncoding)wxlua_getenumtype(L, 7) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 6 ? wxlua_getwxStringtype(L, 6) : wxString(wxEmptyString)); *************** *** 4080,4084 **** { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getintegertype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); --- 4080,4084 ---- { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getenumtype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); *************** *** 4157,4161 **** { // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getintegertype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); --- 4157,4161 ---- { // wxFontFamily family ! wxFontFamily family = (wxFontFamily)wxlua_getenumtype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); *************** *** 4209,4213 **** { // wxFontStyle style ! wxFontStyle style = (wxFontStyle)wxlua_getintegertype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); --- 4209,4213 ---- { // wxFontStyle style ! wxFontStyle style = (wxFontStyle)wxlua_getenumtype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); *************** *** 4241,4245 **** { // wxFontWeight weight ! wxFontWeight weight = (wxFontWeight)wxlua_getintegertype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); --- 4241,4245 ---- { // wxFontWeight weight ! wxFontWeight weight = (wxFontWeight)wxlua_getenumtype(L, 2); // get this wxNativeFontInfo * self = (wxNativeFontInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxNativeFontInfo); *************** *** 4449,4453 **** bool fixedWidthOnly = (argCount >= 3 ? wxlua_getbooleantype(L, 3) : false); // wxFontEncoding encoding = wxFONTENCODING_SYSTEM ! wxFontEncoding encoding = (argCount >= 2 ? (wxFontEncoding)wxlua_getintegertype(L, 2) : wxFONTENCODING_SYSTEM); // get this wxFontEnumerator * self = (wxFontEnumerator *)wxluaT_getuserdatatype(L, 1, wxluatype_wxFontEnumerator); --- 4449,4453 ---- bool fixedWidthOnly = (argCount >= 3 ? wxlua_getbooleantype(L, 3) : false); // wxFontEncoding encoding = wxFONTENCODING_SYSTEM ! wxFontEncoding encoding = (argCount >= 2 ? (wxFontEncoding)wxlua_getenumtype(L, 2) : wxFONTENCODING_SYSTEM); // get this wxFontEnumerator * self = (wxFontEnumerator *)wxluaT_getuserdatatype(L, 1, wxluatype_wxFontEnumerator); *************** *** 4536,4540 **** bool fixedWidthOnly = (argCount >= 2 ? wxlua_getbooleantype(L, 2) : false); // wxFontEncoding encoding = wxFONTENCODING_SYSTEM ! wxFontEncoding encoding = (argCount >= 1 ? (wxFontEncoding)wxlua_getintegertype(L, 1) : wxFONTENCODING_SYSTEM); // call GetFacenames // allocate a new object using the copy constructor --- 4536,4540 ---- bool fixedWidthOnly = (argCount >= 2 ? wxlua_getbooleantype(L, 2) : false); // wxFontEncoding encoding = wxFONTENCODING_SYSTEM ! wxFontEncoding encoding = (argCount >= 1 ? (wxFontEncoding)wxlua_getenumtype(L, 1) : wxFONTENCODING_SYSTEM); // call GetFacenames // allocate a new object using the copy constructor *************** *** 4650,4654 **** int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 8 ? (wxFontEncoding)wxlua_getintegertype(L, 8) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 7 ? wxlua_getwxStringtype(L, 7) : wxString(wxEmptyString)); --- 4650,4654 ---- int argCount = lua_gettop(L); // wxFontEncoding encoding = wxFONTENCODING_DEFAULT ! wxFontEncoding encoding = (argCount >= 8 ? (wxFontEncoding)wxlua_getenumtype(L, 8) : wxFONTENCODING_DEFAULT); // const wxString faceName = "" const wxString faceName = (argCount >= 7 ? wxlua_getwxStringtype(L, 7) : wxString(wxEmptyString)); *************** *** 4755,4759 **** wxFontEncoding altEncoding; // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getintegertype(L, 2); // get this wxFontMapper *self = (wxFontMapper *)wxluaT_getuserdatatype(L, 1, wxluatype_wxFontMapper); --- 4755,4759 ---- wxFontEncoding altEncoding; // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getenumtype(L, 2); // get this wxFontMapper *self = (wxFontMapper *)wxluaT_getuserdatatype(L, 1, wxluatype_wxFontMapper); *************** *** 4786,4790 **** #if (wxUSE_INTL) && (wxLUA_USE_wxFontMapper) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxFontMapper_GetEncoding[] = { &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxFontMapper_GetEncoding(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxFontMapper_GetEncoding[1] = {{ wxLua_wxFontMapper_GetEncoding, WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, 1, 1, s_wxluatypeArray_wxLua_wxFontMapper_GetEncoding }}; --- 4786,4790 ---- #if (wxUSE_INTL) && (wxLUA_USE_wxFontMapper) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxFontMapper_GetEncoding[] = { &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxFontMapper_GetEncoding(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxFontMapper_GetEncoding[1] = {{ wxLua_wxFontMapper_GetEncoding, WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, 1, 1, s_wxluatypeArray_wxLua_wxFontMapper_GetEncoding }}; *************** *** 4793,4797 **** { // size_t n ! size_t n = (size_t)wxlua_getnumbertype(L, 1); // call GetEncoding wxFontEncoding returns = (wxFontMapper::GetEncoding(n)); --- 4793,4797 ---- { // size_t n ! size_t n = (size_t)wxlua_getuintegertype(L, 1); // call GetEncoding wxFontEncoding returns = (wxFontMapper::GetEncoding(n)); *************** *** 4809,4813 **** { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getintegertype(L, 1); // call GetEncodingDescription wxString returns = (wxFontMapper::GetEncodingDescription(encoding)); --- 4809,4813 ---- { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getenumtype(L, 1); // call GetEncodingDescription wxString returns = (wxFontMapper::GetEncodingDescription(encoding)); *************** *** 4841,4845 **** { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getintegertype(L, 1); // call GetEncodingName wxString returns = (wxFontMapper::GetEncodingName(encoding)); --- 4841,4845 ---- { // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getenumtype(L, 1); // call GetEncodingName wxString returns = (wxFontMapper::GetEncodingName(encoding)); *************** *** 4878,4882 **** const wxString facename = (argCount >= 3 ? wxlua_getwxStringtype(L, 3) : wxString(wxEmptyString)); // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getintegertype(L, 2); // get this wxFontMapper * self = (wxFontMapper *)wxluaT_getuserdatatype(L, 1, wxluatype_wxFontMapper); --- 4878,4882 ---- const wxString facename = (argCount >= 3 ? wxlua_getwxStringtype(L, 3) : wxString(wxEmptyString)); // wxFontEncoding encoding ! wxFontEncoding encoding = (wxFontEncoding)wxlua_getenumtype(L, 2); // get this wxFontMapper * self = (wxFontMapper *)wxluaT_getuserdatatype(L, 1, wxluatype_wxFontMapper); *************** *** 6540,6544 **** { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getintegertype(L, 1); // call GetBrush const wxBrush* returns = (const wxBrush*)wxStockGDI::GetBrush(item); --- 6540,6544 ---- { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getenumtype(L, 1); // call GetBrush const wxBrush* returns = (const wxBrush*)wxStockGDI::GetBrush(item); *************** *** 6556,6560 **** { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getintegertype(L, 1); // call GetColour const wxColour* returns = (const wxColour*)wxStockGDI::GetColour(item); --- 6556,6560 ---- { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getenumtype(L, 1); // call GetColour const wxColour* returns = (const wxColour*)wxStockGDI::GetColour(item); *************** *** 6575,6579 **** { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getintegertype(L, 1); // call GetCursor const wxCursor* returns = (const wxCursor*)wxStockGDI::GetCursor(item); --- 6575,6579 ---- { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getenumtype(L, 1); // call GetCursor const wxCursor* returns = (const wxCursor*)wxStockGDI::GetCursor(item); *************** *** 6594,6598 **** { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getintegertype(L, 2); // get this wxStockGDI * self = (wxStockGDI *)wxluaT_getuserdatatype(L, 1, wxluatype_wxStockGDI); --- 6594,6598 ---- { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getenumtype(L, 2); // get this wxStockGDI * self = (wxStockGDI *)wxluaT_getuserdatatype(L, 1, wxluatype_wxStockGDI); *************** *** 6615,6619 **** { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getintegertype(L, 1); // call GetPen const wxPen* returns = (const wxPen*)wxStockGDI::GetPen(item); --- 6615,6619 ---- { // wxStockGDI::Item item ! wxStockGDI::Item item = (wxStockGDI::Item)wxlua_getenumtype(L, 1); // call GetPen const wxPen* returns = (const wxPen*)wxStockGDI::GetPen(item); *************** *** 6984,6988 **** { // wxBitmapType flags ! wxBitmapType flags = (wxBitmapType)wxlua_getintegertype(L, 3); // const wxString name const wxString name = wxlua_getwxStringtype(L, 2); --- 6984,6988 ---- { // wxBitmapType flags ! wxBitmapType flags = (wxBitmapType)wxlua_getenumtype(L, 3); // const wxString name const wxString name = wxlua_getwxStringtype(L, 2); *************** *** 7096,7100 **** int desiredWidth = (argCount >= 3 ? (int)wxlua_getnumbertype(L, 3) : -1); // wxBitmapType type ! wxBitmapType type = (wxBitmapType)wxlua_getintegertype(L, 2); // const wxString name const wxString name = wxlua_getwxStringtype(L, 1); --- 7096,7100 ---- int desiredWidth = (argCount >= 3 ? (int)wxlua_getnumbertype(L, 3) : -1); // wxBitmapType type ! wxBitmapType type = (wxBitmapType)wxlua_getenumtype(L, 2); // const wxString name const wxString name = wxlua_getwxStringtype(L, 1); *************** *** 7583,7587 **** { // wxBitmapType type ! wxBitmapType type = (wxBitmapType)wxlua_getintegertype(L, 3); // const wxString name const wxString name = wxlua_getwxStringtype(L, 2); --- 7583,7587 ---- { // wxBitmapType type ! wxBitmapType type = (wxBitmapType)wxlua_getenumtype(L, 3); // const wxString name const wxString name = wxlua_getwxStringtype(L, 2); *************** *** 7649,7653 **** wxPalette * palette = (argCount >= 4 ? (wxPalette *)wxluaT_getuserdatatype(L, 4, wxluatype_wxPalette) : NULL); // wxBitmapType type ! wxBitmapType type = (wxBitmapType)wxlua_getintegertype(L, 3); // const wxString name const wxString name = wxlua_getwxStringtype(L, 2); --- 7649,7653 ---- wxPalette * palette = (argCount >= 4 ? (wxPalette *)wxluaT_getuserdatatype(L, 4, wxluatype_wxPalette) : NULL); // wxBitmapType type ! wxBitmapType type = (wxBitmapType)wxlua_getenumtype(L, 3); // const wxString name const wxString name = wxlua_getwxStringtype(L, 2); *************** *** 7954,7958 **** int argCount = lua_gettop(L); // wxBitmapType type = wxBITMAP_TYPE_ANY ! wxBitmapType type = (argCount >= 2 ? (wxBitmapType)wxlua_getintegertype(L, 2) : wxBITMAP_TYPE_ANY); // const wxString name const wxString name = wxlua_getwxStringtype(L, 1); --- 7954,7958 ---- int argCount = lua_gettop(L); // wxBitmapType type = wxBITMAP_TYPE_ANY ! wxBitmapType type = (argCount >= 2 ? (wxBitmapType)wxlua_getenumtype(L, 2) : wxBITMAP_TYPE_ANY); // const wxString name const wxString name = wxlua_getwxStringtype(L, 1); *************** *** 10141,10145 **** int argCount = lua_gettop(L); // wxDirection nDirection = wxEAST ! wxDirection nDirection = (argCount >= 5 ? (wxDirection)wxlua_getintegertype(L, 5) : wxEAST); // const wxColour destColour const wxColour * destColour = (const wxColour *)wxluaT_getuserdatatype(L, 4, wxluatype_wxColour); --- 10141,10145 ---- int argCount = lua_gettop(L); // wxDirection nDirection = wxEAST ! wxDirection nDirection = (argCount >= 5 ? (wxDirection)wxlua_getenumtype(L, 5) : wxEAST); // const wxColour destColour const wxColour * destColour = (const wxColour *)wxluaT_getuserdatatype(L, 4, wxluatype_wxColour); *************** *** 10485,10489 **** { // wxLayoutDirection dir ! wxLayoutDirection dir = (wxLayoutDirection)wxlua_getintegertype(L, 2); // get this wxDC * self = (wxDC *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDC); --- 10485,10489 ---- { // wxLayoutDirection dir ! wxLayoutDirection dir = (wxLayoutDirection)wxlua_getenumtype(L, 2); // get this wxDC * self = (wxDC *)wxluaT_getuserdatatype(L, 1, wxluatype_wxDC); *************** *** 12401,12405 **** int wxluatype_wxArrayVideoModes = WXLUA_TUNKNOWN; ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Add[] = { &wxluatype_wxArrayVideoModes, &wxluatype_wxVideoMode, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Add(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Add[1] = {{ wxLua_wxArrayVideoModes_Add, WXLUAMETHOD_METHOD, 2, 3, s_wxluatypeArray_wxLua_wxArrayVideoModes_Add }}; --- 12401,12405 ---- int wxluatype_wxArrayVideoModes = WXLUA_TUNKNOWN; ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Add[] = { &wxluatype_wxArrayVideoModes, &wxluatype_wxVideoMode, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Add(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Add[1] = {{ wxLua_wxArrayVideoModes_Add, WXLUAMETHOD_METHOD, 2, 3, s_wxluatypeArray_wxLua_wxArrayVideoModes_Add }}; *************** *** 12410,12414 **** int argCount = lua_gettop(L); // size_t copies = 1 ! size_t copies = (argCount >= 3 ? (size_t)wxlua_getnumbertype(L, 3) : 1); // const wxVideoMode vm const wxVideoMode * vm = (const wxVideoMode *)wxluaT_getuserdatatype(L, 2, wxluatype_wxVideoMode); --- 12410,12414 ---- int argCount = lua_gettop(L); // size_t copies = 1 ! size_t copies = (argCount >= 3 ? (size_t)wxlua_getuintegertype(L, 3) : 1); // const wxVideoMode vm const wxVideoMode * vm = (const wxVideoMode *)wxluaT_getuserdatatype(L, 2, wxluatype_wxVideoMode); *************** *** 12421,12425 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Alloc[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Alloc(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Alloc[1] = {{ wxLua_wxArrayVideoModes_Alloc, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxArrayVideoModes_Alloc }}; --- 12421,12425 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Alloc[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Alloc(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Alloc[1] = {{ wxLua_wxArrayVideoModes_Alloc, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxArrayVideoModes_Alloc }}; *************** *** 12428,12432 **** { // size_t nCount ! size_t nCount = (size_t)wxlua_getnumbertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); --- 12428,12432 ---- { // size_t nCount ! size_t nCount = (size_t)wxlua_getuintegertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); *************** *** 12481,12485 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Insert[] = { &wxluatype_wxArrayVideoModes, &wxluatype_wxVideoMode, &wxluatype_TNUMBER, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Insert(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Insert[1] = {{ wxLua_wxArrayVideoModes_Insert, WXLUAMETHOD_METHOD, 3, 4, s_wxluatypeArray_wxLua_wxArrayVideoModes_Insert }}; --- 12481,12485 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Insert[] = { &wxluatype_wxArrayVideoModes, &wxluatype_wxVideoMode, &wxluatype_TNUMBER, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Insert(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Insert[1] = {{ wxLua_wxArrayVideoModes_Insert, WXLUAMETHOD_METHOD, 3, 4, s_wxluatypeArray_wxLua_wxArrayVideoModes_Insert }}; *************** *** 12490,12494 **** int argCount = lua_gettop(L); // size_t copies = 1 ! size_t copies = (argCount >= 4 ? (size_t)wxlua_getnumbertype(L, 4) : 1); // int nIndex int nIndex = (int)wxlua_getnumbertype(L, 3); --- 12490,12494 ---- int argCount = lua_gettop(L); // size_t copies = 1 ! size_t copies = (argCount >= 4 ? (size_t)wxlua_getuintegertype(L, 4) : 1); // int nIndex int nIndex = (int)wxlua_getnumbertype(L, 3); *************** *** 12519,12523 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Item[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Item(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Item[1] = {{ wxLua_wxArrayVideoModes_Item, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxArrayVideoModes_Item }}; --- 12519,12523 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_Item[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_Item(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_Item[1] = {{ wxLua_wxArrayVideoModes_Item, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxArrayVideoModes_Item }}; *************** *** 12526,12530 **** { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getnumbertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); --- 12526,12530 ---- { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getuintegertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); *************** *** 12559,12563 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_RemoveAt[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TNUMBER, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_RemoveAt(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_RemoveAt[1] = {{ wxLua_wxArrayVideoModes_RemoveAt, WXLUAMETHOD_METHOD, 2, 3, s_wxluatypeArray_wxLua_wxArrayVideoModes_RemoveAt }}; --- 12559,12563 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_RemoveAt[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TINTEGER, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_RemoveAt(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_RemoveAt[1] = {{ wxLua_wxArrayVideoModes_RemoveAt, WXLUAMETHOD_METHOD, 2, 3, s_wxluatypeArray_wxLua_wxArrayVideoModes_RemoveAt }}; *************** *** 12568,12574 **** int argCount = lua_gettop(L); // size_t count = 1 ! size_t count = (argCount >= 3 ? (size_t)wxlua_getnumbertype(L, 3) : 1); // size_t nIndex ! size_t nIndex = (size_t)wxlua_getnumbertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); --- 12568,12574 ---- int argCount = lua_gettop(L); // size_t count = 1 ! size_t count = (argCount >= 3 ? (size_t)wxlua_getuintegertype(L, 3) : 1); // size_t nIndex ! size_t nIndex = (size_t)wxlua_getuintegertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); *************** *** 12596,12600 **** static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_delete[1] = {{ wxlua_userdata_delete, WXLUAMETHOD_METHOD|WXLUAMETHOD_DELETE, 1, 1, s_wxluatypeArray_wxLua_wxArrayVideoModes_delete }}; ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_op_index[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_op_index(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_op_index[1] = {{ wxLua_wxArrayVideoModes_op_index, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxArrayVideoModes_op_index }}; --- 12596,12600 ---- static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_delete[1] = {{ wxlua_userdata_delete, WXLUAMETHOD_METHOD|WXLUAMETHOD_DELETE, 1, 1, s_wxluatypeArray_wxLua_wxArrayVideoModes_delete }}; ! static wxLuaArgType s_wxluatypeArray_wxLua_wxArrayVideoModes_op_index[] = { &wxluatype_wxArrayVideoModes, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxArrayVideoModes_op_index(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxArrayVideoModes_op_index[1] = {{ wxLua_wxArrayVideoModes_op_index, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxArrayVideoModes_op_index }}; *************** *** 12603,12607 **** { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getnumbertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); --- 12603,12607 ---- { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getuintegertype(L, 2); // get this wxArrayVideoModes * self = (wxArrayVideoModes *)wxluaT_getuserdatatype(L, 1, wxluatype_wxArrayVideoModes); *************** *** 12907,12911 **** static wxLuaBindCFunc s_wxluafunc_wxLua_wxDisplay_delete[1] = {{ wxlua_userdata_delete, WXLUAMETHOD_METHOD|WXLUAMETHOD_DELETE, 1, 1, s_wxluatypeArray_wxLua_wxDisplay_delete }}; ! static wxLuaArgType s_wxluatypeArray_wxLua_wxDisplay_constructor[] = { &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxDisplay_constructor(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxDisplay_constructor[1] = {{ wxLua_wxDisplay_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 1, s_wxluatypeArray_wxLua_wxDisplay_constructor }}; --- 12907,12911 ---- static wxLuaBindCFunc s_wxluafunc_wxLua_wxDisplay_delete[1] = {{ wxlua_userdata_delete, WXLUAMETHOD_METHOD|WXLUAMETHOD_DELETE, 1, 1, s_wxluatypeArray_wxLua_wxDisplay_delete }}; ! static wxLuaArgType s_wxluatypeArray_wxLua_wxDisplay_constructor[] = { &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxDisplay_constructor(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxDisplay_constructor[1] = {{ wxLua_wxDisplay_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 1, s_wxluatypeArray_wxLua_wxDisplay_constructor }}; *************** *** 12916,12920 **** int argCount = lua_gettop(L); // size_t index = 0 ! size_t index = (argCount >= 1 ? (size_t)wxlua_getnumbertype(L, 1) : 0); // call constructor wxDisplay* returns = new wxDisplay(index); --- 12916,12920 ---- int argCount = lua_gettop(L); // size_t index = 0 ! size_t index = (argCount >= 1 ? (size_t)wxlua_getuintegertype(L, 1) : 0); // call constructor wxDisplay* returns = new wxDisplay(index); *************** *** 13992,13996 **** wxHeaderButtonParams * params = (argCount >= 7 ? (wxHeaderButtonParams *)wxluaT_getuserdatatype(L, 7, wxluatype_wxHeaderButtonParams) : NULL); // wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE ! wxHeaderSortIconType sortArrow = (argCount >= 6 ? (wxHeaderSortIconType)wxlua_getintegertype(L, 6) : wxHDR_SORT_ICON_NONE); // int flags = 0 int flags = (argCount >= 5 ? (int)wxlua_getnumbertype(L, 5) : 0); --- 13992,13996 ---- wxHeaderButtonParams * params = (argCount >= 7 ? (wxHeaderButtonParams *)wxluaT_getuserdatatype(L, 7, wxluatype_wxHeaderButtonParams) : NULL); // wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE ! wxHeaderSortIconType sortArrow = (argCount >= 6 ? (wxHeaderSortIconType)wxlua_getenumtype(L, 6) : wxHDR_SORT_ICON_NONE); // int flags = 0 int flags = (argCount >= 5 ? (int)wxlua_getnumbertype(L, 5) : 0); *************** *** 14022,14026 **** wxHeaderButtonParams * params = (argCount >= 7 ? (wxHeaderButtonParams *)wxluaT_getuserdatatype(L, 7, wxluatype_wxHeaderButtonParams) : NULL); // wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE ! wxHeaderSortIconType sortArrow = (argCount >= 6 ? (wxHeaderSortIconType)wxlua_getintegertype(L, 6) : wxHDR_SORT_ICON_NONE); // int flags = 0 int flags = (argCount >= 5 ? (int)wxlua_getnumbertype(L, 5) : 0); --- 14022,14026 ---- wxHeaderButtonParams * params = (argCount >= 7 ? (wxHeaderButtonParams *)wxluaT_getuserdatatype(L, 7, wxluatype_wxHeaderButtonParams) : NULL); // wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE ! wxHeaderSortIconType sortArrow = (argCount >= 6 ? (wxHeaderSortIconType)wxlua_getenumtype(L, 6) : wxHDR_SORT_ICON_NONE); // int flags = 0 int flags = (argCount >= 5 ? (int)wxlua_getnumbertype(L, 5) : 0); *************** *** 14124,14128 **** int flags = (argCount >= 7 ? (int)wxlua_getnumbertype(L, 7) : 0); // wxOrientation orient ! wxOrientation orient = (wxOrientation)wxlua_getintegertype(L, 6); // wxCoord position wxCoord position = (wxCoord)wxlua_getnumbertype(L, 5); --- 14124,14128 ---- int flags = (argCount >= 7 ? (int)wxlua_getnumbertype(L, 7) : 0); // wxOrientation orient ! wxOrientation orient = (wxOrientation)wxlua_getenumtype(L, 6); // wxCoord position wxCoord position = (wxCoord)wxlua_getnumbertype(L, 5); Index: wxaui_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxaui_bind.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** wxaui_bind.cpp 29 Oct 2008 04:44:33 -0000 1.13 --- wxaui_bind.cpp 24 Mar 2009 04:15:12 -0000 1.14 *************** *** 531,535 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_Item[] = { &wxluatype_wxAuiNotebookPageArray, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiNotebookPageArray_Item(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiNotebookPageArray_Item[1] = {{ wxLua_wxAuiNotebookPageArray_Item, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_Item }}; --- 531,535 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_Item[] = { &wxluatype_wxAuiNotebookPageArray, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiNotebookPageArray_Item(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiNotebookPageArray_Item[1] = {{ wxLua_wxAuiNotebookPageArray_Item, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_Item }}; *************** *** 538,542 **** { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getnumbertype(L, 2); // get this wxAuiNotebookPageArray * self = (wxAuiNotebookPageArray *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiNotebookPageArray); --- 538,542 ---- { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getuintegertype(L, 2); // get this wxAuiNotebookPageArray * self = (wxAuiNotebookPageArray *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiNotebookPageArray); *************** *** 552,556 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_RemoveAt[] = { &wxluatype_wxAuiNotebookPageArray, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiNotebookPageArray_RemoveAt(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiNotebookPageArray_RemoveAt[1] = {{ wxLua_wxAuiNotebookPageArray_RemoveAt, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_RemoveAt }}; --- 552,556 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_RemoveAt[] = { &wxluatype_wxAuiNotebookPageArray, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiNotebookPageArray_RemoveAt(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiNotebookPageArray_RemoveAt[1] = {{ wxLua_wxAuiNotebookPageArray_RemoveAt, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiNotebookPageArray_RemoveAt }}; *************** *** 559,563 **** { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getnumbertype(L, 2); // get this wxAuiNotebookPageArray * self = (wxAuiNotebookPageArray *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiNotebookPageArray); --- 559,563 ---- { // size_t nIndex ! size_t nIndex = (size_t)wxlua_getuintegertype(L, 2); // get this wxAuiNotebookPageArray * self = (wxAuiNotebookPageArray *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiNotebookPageArray); *************** *** 1183,1187 **** #if (wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI) && (wxLUA_USE_wxPointSizeRect) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabArt_SetSizingInfo[] = { &wxluatype_wxAuiTabArt, &wxluatype_wxSize, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabArt_SetSizingInfo(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabArt_SetSizingInfo[1] = {{ wxLua_wxAuiTabArt_SetSizingInfo, WXLUAMETHOD_METHOD, 3, 3, s_wxluatypeArray_wxLua_wxAuiTabArt_SetSizingInfo }}; --- 1183,1187 ---- #if (wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI) && (wxLUA_USE_wxPointSizeRect) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabArt_SetSizingInfo[] = { &wxluatype_wxAuiTabArt, &wxluatype_wxSize, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabArt_SetSizingInfo(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabArt_SetSizingInfo[1] = {{ wxLua_wxAuiTabArt_SetSizingInfo, WXLUAMETHOD_METHOD, 3, 3, s_wxluatypeArray_wxLua_wxAuiTabArt_SetSizingInfo }}; *************** *** 1190,1194 **** { // size_t tab_count ! size_t tab_count = (size_t)wxlua_getnumbertype(L, 3); // const wxSize tab_ctrl_size const wxSize * tab_ctrl_size = (const wxSize *)wxluaT_getuserdatatype(L, 2, wxluatype_wxSize); --- 1190,1194 ---- { // size_t tab_count ! size_t tab_count = (size_t)wxlua_getuintegertype(L, 3); // const wxSize tab_ctrl_size const wxSize * tab_ctrl_size = (const wxSize *)wxluaT_getuserdatatype(L, 2, wxluatype_wxSize); *************** *** 1515,1519 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage1[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_GetPage1(lua_State *L); // static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_GetPage1[1] = {{ wxLua_wxAuiTabCtrl_GetPage1, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage1 }}; --- 1515,1519 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage1[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_GetPage1(lua_State *L); // static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_GetPage1[1] = {{ wxLua_wxAuiTabCtrl_GetPage1, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage1 }}; *************** *** 1522,1526 **** { // size_t idx ! size_t idx = (size_t)wxlua_getnumbertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); --- 1522,1526 ---- { // size_t idx ! size_t idx = (size_t)wxlua_getuintegertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); *************** *** 1533,1537 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_GetPage(lua_State *L); // static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_GetPage[1] = {{ wxLua_wxAuiTabCtrl_GetPage, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage }}; --- 1533,1537 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_GetPage(lua_State *L); // static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_GetPage[1] = {{ wxLua_wxAuiTabCtrl_GetPage, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetPage }}; *************** *** 1540,1544 **** { // size_t idx ! size_t idx = (size_t)wxlua_getnumbertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); --- 1540,1544 ---- { // size_t idx ! size_t idx = (size_t)wxlua_getuintegertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); *************** *** 1599,1603 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetWindowFromIdx[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_GetWindowFromIdx(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_GetWindowFromIdx[1] = {{ wxLua_wxAuiTabCtrl_GetWindowFromIdx, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetWindowFromIdx }}; --- 1599,1603 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetWindowFromIdx[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_GetWindowFromIdx(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_GetWindowFromIdx[1] = {{ wxLua_wxAuiTabCtrl_GetWindowFromIdx, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_GetWindowFromIdx }}; *************** *** 1606,1610 **** { // size_t idx ! size_t idx = (size_t)wxlua_getnumbertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); --- 1606,1610 ---- { // size_t idx ! size_t idx = (size_t)wxlua_getuintegertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); *************** *** 1617,1621 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_InsertPage[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_wxWindow, &wxluatype_wxAuiNotebookPage, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_InsertPage(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_InsertPage[1] = {{ wxLua_wxAuiTabCtrl_InsertPage, WXLUAMETHOD_METHOD, 4, 4, s_wxluatypeArray_wxLua_wxAuiTabCtrl_InsertPage }}; --- 1617,1621 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_InsertPage[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_wxWindow, &wxluatype_wxAuiNotebookPage, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_InsertPage(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_InsertPage[1] = {{ wxLua_wxAuiTabCtrl_InsertPage, WXLUAMETHOD_METHOD, 4, 4, s_wxluatypeArray_wxLua_wxAuiTabCtrl_InsertPage }}; *************** *** 1624,1628 **** { // size_t idx ! size_t idx = (size_t)wxlua_getnumbertype(L, 4); // const wxAuiNotebookPage info const wxAuiNotebookPage * info = (const wxAuiNotebookPage *)wxluaT_getuserdatatype(L, 3, wxluatype_wxAuiNotebookPage); --- 1624,1628 ---- { // size_t idx ! size_t idx = (size_t)wxlua_getuintegertype(L, 4); // const wxAuiNotebookPage info const wxAuiNotebookPage * info = (const wxAuiNotebookPage *)wxluaT_getuserdatatype(L, 3, wxluatype_wxAuiNotebookPage); *************** *** 1707,1711 **** #endif // (wxCHECK_VERSION(2,8,6)) && (wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_MovePage[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_wxWindow, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_MovePage(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_MovePage[1] = {{ wxLua_wxAuiTabCtrl_MovePage, WXLUAMETHOD_METHOD, 3, 3, s_wxluatypeArray_wxLua_wxAuiTabCtrl_MovePage }}; --- 1707,1711 ---- #endif // (wxCHECK_VERSION(2,8,6)) && (wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_MovePage[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_wxWindow, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_MovePage(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_MovePage[1] = {{ wxLua_wxAuiTabCtrl_MovePage, WXLUAMETHOD_METHOD, 3, 3, s_wxluatypeArray_wxLua_wxAuiTabCtrl_MovePage }}; *************** *** 1714,1718 **** { // size_t new_idx ! size_t new_idx = (size_t)wxlua_getnumbertype(L, 3); // wxWindow page wxWindow * page = (wxWindow *)wxluaT_getuserdatatype(L, 2, wxluatype_wxWindow); --- 1714,1718 ---- { // size_t new_idx ! size_t new_idx = (size_t)wxlua_getuintegertype(L, 3); // wxWindow page wxWindow * page = (wxWindow *)wxluaT_getuserdatatype(L, 2, wxluatype_wxWindow); *************** *** 1761,1765 **** } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetActivePage1[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_SetActivePage1(lua_State *L); // static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_SetActivePage1[1] = {{ wxLua_wxAuiTabCtrl_SetActivePage1, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetActivePage1 }}; --- 1761,1765 ---- } ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetActivePage1[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_SetActivePage1(lua_State *L); // static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_SetActivePage1[1] = {{ wxLua_wxAuiTabCtrl_SetActivePage1, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetActivePage1 }}; *************** *** 1768,1772 **** { // size_t page ! size_t page = (size_t)wxlua_getnumbertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); --- 1768,1772 ---- { // size_t page ! size_t page = (size_t)wxlua_getuintegertype(L, 2); // get this wxAuiTabCtrl * self = (wxAuiTabCtrl *)wxluaT_getuserdatatype(L, 1, wxluatype_wxAuiTabCtrl); *************** *** 1921,1925 **** #endif // (wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI) && (wxLUA_USE_wxFont) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetTabOffset[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TNUMBER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_SetTabOffset(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_SetTabOffset[1] = {{ wxLua_wxAuiTabCtrl_SetTabOffset, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetTabOffset }}; --- 1921,1925 ---- #endif // (wxLUA_USE_wxAUI && wxCHECK_VERSION(2,8,0) && wxUSE_AUI) && (wxLUA_USE_wxFont) ! static wxLuaArgType s_wxluatypeArray_wxLua_wxAuiTabCtrl_SetTabOffset[] = { &wxluatype_wxAuiTabCtrl, &wxluatype_TINTEGER, NULL }; static int LUACALL wxLua_wxAuiTabCtrl_SetTabOffset(lua_State *L); static wxLuaBindCFunc s_wxluafunc_wxLua_wxAuiTabCtrl_SetTabOffset[1] = {{ wxLua_wxAuiTabCtrl_SetTabOffset, WXLUAMETHOD_METHOD, 2, 2, s_wxluatypeArray_wxLua_wxAuiTabCtrl_S... [truncated message content] |