You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(191) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(238) |
Dec
(68) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(104) |
Feb
(518) |
Mar
(302) |
Apr
(211) |
May
(311) |
Jun
(55) |
Jul
(6) |
Aug
(35) |
Sep
(76) |
Oct
(50) |
Nov
(37) |
Dec
(340) |
2007 |
Jan
(23) |
Feb
(107) |
Mar
(98) |
Apr
(60) |
May
(136) |
Jun
(371) |
Jul
(175) |
Aug
(74) |
Sep
(3) |
Oct
(2) |
Nov
(53) |
Dec
(129) |
2008 |
Jan
(337) |
Feb
(23) |
Mar
(18) |
Apr
(4) |
May
(3) |
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
(33) |
Nov
|
Dec
(26) |
2009 |
Jan
(4) |
Feb
(1) |
Mar
(15) |
Apr
|
May
(35) |
Jun
(11) |
Jul
|
Aug
|
Sep
(19) |
Oct
(26) |
Nov
(11) |
Dec
(11) |
2010 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
|
Nov
(8) |
Dec
(7) |
2011 |
Jan
|
Feb
|
Mar
(4) |
Apr
(8) |
May
(5) |
Jun
(8) |
Jul
(1) |
Aug
|
Sep
|
Oct
(5) |
Nov
(13) |
Dec
|
From: John L. <jr...@us...> - 2006-02-02 17:05:50
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28688/wxLua/modules/wxlua/src Modified Files: wxlbind.cpp Log Message: add the overrides to the wxstc module Index: wxlbind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlbind.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** wxlbind.cpp 2 Feb 2006 15:49:25 -0000 1.14 --- wxlbind.cpp 2 Feb 2006 17:05:42 -0000 1.15 *************** *** 248,258 **** // create a global for the namespace if it doesn't already exist lua_getglobal(L, wx2lua(nameSpace)); if (!lua_istable(L, -1)) { lua_pushstring(L, wx2lua(nameSpace)); lua_pushvalue(L, luaTable); } - lua_rawset(L, LUA_GLOBALSINDEX); lua_pop(L, 1); } --- 248,261 ---- // create a global for the namespace if it doesn't already exist lua_getglobal(L, wx2lua(nameSpace)); + if (!lua_istable(L, -1)) { + lua_pop(L, 1); // pop the nil value + lua_pushstring(L, wx2lua(nameSpace)); lua_pushvalue(L, luaTable); + lua_rawset(L, LUA_GLOBALSINDEX); } lua_pop(L, 1); } *************** *** 279,284 **** if (!lua_istable(L, -1)) { ! // pop the nil value ! lua_pop(L, 1); // create references table in registry --- 282,286 ---- if (!lua_istable(L, -1)) { ! lua_pop(L, 1); // pop the nil value // create references table in registry *************** *** 326,330 **** OnRegister(wxlState, registerTypes, tableOffset); ! m_typesRegistered = true; return tableOffset; --- 328,332 ---- OnRegister(wxlState, registerTypes, tableOffset); ! m_typesRegistered = true; return tableOffset; |
From: John L. <jr...@us...> - 2006-02-02 17:05:50
|
Update of /cvsroot/wxlua/wxLua/bindings/wxstc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28688/wxLua/bindings/wxstc Modified Files: Makefile wxstc_rules.lua Added Files: override.hpp Log Message: add the overrides to the wxstc module Index: wxstc_rules.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxstc/wxstc_rules.lua,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wxstc_rules.lua 2 Feb 2006 16:07:45 -0000 1.2 --- wxstc_rules.lua 2 Feb 2006 17:05:41 -0000 1.3 *************** *** 60,64 **** ------------------------------------------------------------------------------- -- Set the file that contains bindings that need to be overridden ! --override_file = "override.hpp" ------------------------------------------------------------------------------- --- 60,64 ---- ------------------------------------------------------------------------------- -- Set the file that contains bindings that need to be overridden ! override_file = "override.hpp" ------------------------------------------------------------------------------- Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxstc/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2 Feb 2006 15:49:24 -0000 1.1 --- Makefile 2 Feb 2006 17:05:41 -0000 1.2 *************** *** 13,17 **** include $(WXLUA_DIR)/bindings/wxwidgets/wrappers.lst THEWRAPPERS=$(addprefix $(WXLUA_DIR)/bindings/wxwidgets/, $(WRAPPERS)) ! DEPFILES=wxluasetup.h.in $(WXLUA_DIR)/bindings/genwxbind.lua $(WXLUA_DIR)/bindings/wxwidgets/override.hpp # $(THEWRAPPERS) all: genwxbind --- 13,17 ---- include $(WXLUA_DIR)/bindings/wxwidgets/wrappers.lst THEWRAPPERS=$(addprefix $(WXLUA_DIR)/bindings/wxwidgets/, $(WRAPPERS)) ! DEPFILES=wxluasetup.h.in $(WXLUA_DIR)/bindings/genwxbind.lua $(WXLUA_DIR)/bindings/wxstc/override.hpp # $(THEWRAPPERS) all: genwxbind --- NEW FILE: override.hpp --- %override wxStyledTextCtrl_GetCurLine // wxString GetCurLine(int* linePos=NULL) static int LUACALL wxStyledTextCtrl_GetCurLine(lua_State *L) { wxLuaState wxlState(L); wxString returns; int linePos; // get this wxStyledTextCtrl *self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call GetCurLine returns = self->GetCurLine(&linePos); // push the result string lua_pushstring(L, wx2lua(returns)); lua_pushnumber(L, linePos); // return the number of parameters return 2; } %end %override wxStyledTextCtrl_GetSelection // void GetSelection(int* startPos, int* endPos) static int LUACALL wxStyledTextCtrl_GetSelection(lua_State *L) { wxLuaState wxlState(L); int endPos; int startPos; // get this wxStyledTextCtrl *self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call GetSelection self->GetSelection(&startPos, &endPos); // push results lua_pushnumber(L, startPos); lua_pushnumber(L, endPos); // return the number of parameters return 2; } %end %override wxStyledTextCtrl_SetStyleBytes // void SetStyleBytes(int length, const wxString &styleBytes) static int LUACALL wxStyledTextCtrl_SetStyleBytes(lua_State *L) { wxLuaState wxlState(L); // const wxString &styleBytes wxCharBuffer styleBytes(lua_tostring(L, 3)); // int length int length = (int)lua_tonumber(L, 2); // get this wxStyledTextCtrl *self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call SetStyleBytes self->SetStyleBytes(length, styleBytes.data()); // push result lua_pushstring(L, styleBytes); // return the number of parameters return 1; } %end %override wxStyledTextEvent_GetDragResult // wxDragResult GetDragResult() static int LUACALL wxStyledTextEvent_GetDragResult(lua_State *L) { wxLuaState wxlState(L); wxDragResult returns; // get this wxStyledTextEvent *self = (wxStyledTextEvent *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextEvent); // call GetDragResult returns = self->GetDragResult(); // push the result datatype lua_pushnumber(L, (long) returns); // return the number of parameters return 1; } %end %override wxStyledTextEvent_SetDragResult // void SetDragResult(wxDragResult val) static int LUACALL wxStyledTextEvent_SetDragResult(lua_State *L) { wxLuaState wxlState(L); // wxDragResult val wxDragResult val = (wxDragResult)(int)lua_tonumber(L, 2); // get this wxStyledTextEvent *self = (wxStyledTextEvent *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextEvent); // call SetDragResult self->SetDragResult(val); // return the number of parameters return 0; } %end |
From: John L. <jr...@us...> - 2006-02-02 17:05:50
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28688/wxLua/modules/wxbindstc/src Modified Files: stc.cpp Log Message: add the overrides to the wxstc module Index: stc.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/stc.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** stc.cpp 2 Feb 2006 16:11:33 -0000 1.1 --- stc.cpp 2 Feb 2006 17:05:42 -0000 1.2 *************** *** 368,388 **** } ! // wxString GetCurLine(int* linePos = NULL) static int LUACALL wxStyledTextCtrl_GetCurLine(lua_State *L) { wxLuaState wxlState(L); wxString returns; ! // get number of arguments ! int argCount = lua_gettop(L); ! // int linePos = NULL ! int * linePos = (argCount >= 2 ? (int *)wxlState.ttouserdata(2) : NULL); // get this ! wxStyledTextCtrl * self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call GetCurLine ! returns = self->GetCurLine(linePos); // push the result string ! lua_pushstring(L, wx2lua(returns) ); ! ! return 1; } --- 368,387 ---- } ! // %override wxStyledTextCtrl_GetCurLine ! // wxString GetCurLine(int* linePos=NULL) static int LUACALL wxStyledTextCtrl_GetCurLine(lua_State *L) { wxLuaState wxlState(L); wxString returns; ! int linePos; // get this ! wxStyledTextCtrl *self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call GetCurLine ! returns = self->GetCurLine(&linePos); // push the result string ! lua_pushstring(L, wx2lua(returns)); ! lua_pushnumber(L, linePos); ! // return the number of parameters ! return 2; } *************** *** 983,1000 **** } ! // void SetStyleBytes(int length, char* styleBytes) static int LUACALL wxStyledTextCtrl_SetStyleBytes(lua_State *L) { wxLuaState wxlState(L); ! // char styleBytes ! char * styleBytes = (char *)wxlState.ttouserdata(3); // int length ! int length = (int)wxlState.getnumbertype(2); // get this ! wxStyledTextCtrl * self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call SetStyleBytes ! self->SetStyleBytes(length, styleBytes); ! ! return 0; } --- 982,1002 ---- } ! // %override wxStyledTextCtrl_SetStyleBytes ! // void SetStyleBytes(int length, const wxString &styleBytes) static int LUACALL wxStyledTextCtrl_SetStyleBytes(lua_State *L) { wxLuaState wxlState(L); ! // const wxString &styleBytes ! wxCharBuffer styleBytes(lua_tostring(L, 3)); // int length ! int length = (int)lua_tonumber(L, 2); // get this ! wxStyledTextCtrl *self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call SetStyleBytes ! self->SetStyleBytes(length, styleBytes.data()); ! // push result ! lua_pushstring(L, styleBytes); ! // return the number of parameters ! return 1; } *************** *** 4061,4078 **** } ! // void GetSelection(int *startPos, int *endPos) static int LUACALL wxStyledTextCtrl_GetSelection(lua_State *L) { wxLuaState wxlState(L); ! // int endPos ! int * endPos = (int *)wxlState.ttouserdata(3); ! // int startPos ! int * startPos = (int *)wxlState.ttouserdata(2); // get this ! wxStyledTextCtrl * self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call GetSelection ! self->GetSelection(startPos, endPos); ! ! return 0; } --- 4063,4082 ---- } ! // %override wxStyledTextCtrl_GetSelection ! // void GetSelection(int* startPos, int* endPos) static int LUACALL wxStyledTextCtrl_GetSelection(lua_State *L) { wxLuaState wxlState(L); ! int endPos; ! int startPos; // get this ! wxStyledTextCtrl *self = (wxStyledTextCtrl *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextCtrl); // call GetSelection ! self->GetSelection(&startPos, &endPos); ! // push results ! lua_pushnumber(L, startPos); ! lua_pushnumber(L, endPos); ! // return the number of parameters ! return 2; } *************** *** 5795,5813 **** #if (wxLUA_USE_wxStyledTextCtrl) && (wxLUA_USE_wxDragDrop) ! // void SetDragResult(wxDragResult val) static int LUACALL wxStyledTextEvent_SetDragResult(lua_State *L) { wxLuaState wxlState(L); // wxDragResult val ! wxDragResult val = (wxDragResult)wxlState.getenumerationtype(2); // get this ! wxStyledTextEvent * self = (wxStyledTextEvent *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextEvent); // call SetDragResult self->SetDragResult(val); ! return 0; } ! // wxDragResult GetDragResult() static int LUACALL wxStyledTextEvent_GetDragResult(lua_State *L) { --- 5799,5819 ---- #if (wxLUA_USE_wxStyledTextCtrl) && (wxLUA_USE_wxDragDrop) ! // %override wxStyledTextEvent_SetDragResult ! // void SetDragResult(wxDragResult val) static int LUACALL wxStyledTextEvent_SetDragResult(lua_State *L) { wxLuaState wxlState(L); // wxDragResult val ! wxDragResult val = (wxDragResult)(int)lua_tonumber(L, 2); // get this ! wxStyledTextEvent *self = (wxStyledTextEvent *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextEvent); // call SetDragResult self->SetDragResult(val); ! // return the number of parameters return 0; } ! // %override wxStyledTextEvent_GetDragResult ! // wxDragResult GetDragResult() static int LUACALL wxStyledTextEvent_GetDragResult(lua_State *L) { *************** *** 5815,5824 **** wxDragResult returns; // get this ! wxStyledTextEvent * self = (wxStyledTextEvent *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextEvent); // call GetDragResult returns = self->GetDragResult(); ! // push the result number ! lua_pushnumber(L, returns); ! return 1; } --- 5821,5830 ---- wxDragResult returns; // get this ! wxStyledTextEvent *self = (wxStyledTextEvent *)wxlState.getuserdatatype(1, s_wxluatag_wxStyledTextEvent); // call GetDragResult returns = self->GetDragResult(); ! // push the result datatype ! lua_pushnumber(L, (long) returns); ! // return the number of parameters return 1; } |
From: John L. <jr...@us...> - 2006-02-02 17:05:49
|
Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28688/wxLua/apps/wxluaedit/src Modified Files: Makefile Log Message: add the overrides to the wxstc module Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile 2 Feb 2006 15:49:24 -0000 1.4 --- Makefile 2 Feb 2006 17:05:41 -0000 1.5 *************** *** 83,86 **** --- 83,89 ---- @(cd $(WXLUA_DIR)/modules/wxbind/src && make) + wxLuaSTCBindings: + @(cd $(WXLUA_DIR)/modules/wxbindstc/src && make) + wxLuaLib: @(cd $(WXLUA_DIR)/modules/wxlua/src && make) |
From: John L. <jr...@us...> - 2006-02-02 16:12:56
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8578/wxbind/src Added Files: datetime.cpp Log Message: add datetime binding file --- NEW FILE: datetime.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...3201 lines suppressed...] // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxCalendarEvent_methods[] = { #if (wxLUA_USE_wxDateTime) && (wxLUA_USE_wxCalendarCtrl) { LuaMethod, "GetDate", wxCalendarEvent_GetDate, 0, 0 }, { LuaGetProp, "Date", wxCalendarEvent_GetDate, 0, 0 }, { LuaMethod, "GetWeekDay", wxCalendarEvent_GetWeekDay, 0, 0 }, { LuaGetProp, "WeekDay", wxCalendarEvent_GetWeekDay, 0, 0 }, #endif { LuaConstructor, "wxCalendarEvent", wxCalendarEvent_constructor, 2, 2 }, { LuaDelete, "wxCalendarEvent", wxCalendarEvent_destructor, 0, 0 }, { LuaMethod, "Delete", wxCalendarEvent_Delete, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxCalendarEvent_methods = s_wxCalendarEvent_methods; int wxCalendarEvent_methodCount = sizeof(s_wxCalendarEvent_methods)/sizeof(s_wxCalendarEvent_methods[0]); #endif |
From: John L. <jr...@us...> - 2006-02-02 16:11:41
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8172/wxbindstc/src Added Files: stc.cpp wxstc_builtin.cpp wxstc_class.cpp wxstc_define.cpp wxstc_event.cpp wxstc_object.cpp Log Message: added bindings for wxSTC module --- NEW FILE: wxstc_define.cpp --- // --------------------------------------------------------- // wxLuaGetDefineList_wxstc() is called by registerGeneratedClasses() // to register defines, enums and static strings // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbindstc/include/wxbind.h" WXLUADEFINE* wxLuaGetDefineList_wxstc(size_t &count) { static WXLUADEFINE defineList[] = { // ---------------------------------------------------------------------------- // %define // ---------------------------------------------------------------------------- #if wxLUA_USE_wxStyledTextCtrl { "wxSTC_ERR_LUA", false, wxSTC_ERR_LUA, 0 }, { "wxSTC_MARK_LCORNER", false, wxSTC_MARK_LCORNER, 0 }, { "wxSTC_H_SGML_1ST_PARAM_COMMENT", false, wxSTC_H_SGML_1ST_PARAM_COMMENT, 0 }, { "wxSTC_DIFF_ADDED", false, wxSTC_DIFF_ADDED, 0 }, { "wxSTC_BAT_HIDE", false, wxSTC_BAT_HIDE, 0 }, { "wxSTC_B_COMMENT", false, wxSTC_B_COMMENT, 0 }, { "wxSTC_BAT_DEFAULT", false, wxSTC_BAT_DEFAULT, 0 }, { "wxSTC_CMD_PAGEDOWN", false, wxSTC_CMD_PAGEDOWN, 0 }, { "wxSTC_H_SGML_DEFAULT", false, wxSTC_H_SGML_DEFAULT, 0 }, { "wxSTC_LUA_STRINGEOL", false, wxSTC_LUA_STRINGEOL, 0 }, { "wxSTC_LEX_CONTAINER", false, wxSTC_LEX_CONTAINER, 0 }, { "wxSTC_WRAP_NONE", false, wxSTC_WRAP_NONE, 0 }, { "wxSTC_L_DEFAULT", false, wxSTC_L_DEFAULT, 0 }, { "wxSTC_CONF_DIRECTIVE", false, wxSTC_CONF_DIRECTIVE, 0 }, { "wxSTC_HJA_STRINGEOL", false, wxSTC_HJA_STRINGEOL, 0 }, { "wxSTC_CHARSET_DEFAULT", false, wxSTC_CHARSET_DEFAULT, 0 }, { "wxSTC_HP_IDENTIFIER", false, wxSTC_HP_IDENTIFIER, 0 }, { "wxSTC_B_KEYWORD", false, wxSTC_B_KEYWORD, 0 }, { "wxSTC_FOLDLEVELBASE", false, wxSTC_FOLDLEVELBASE, 0 }, { "wxSTC_DIFF_DEFAULT", false, wxSTC_DIFF_DEFAULT, 0 }, { "wxSTC_H_ASP", false, wxSTC_H_ASP, 0 }, { "wxSTC_MATLAB_DEFAULT", false, wxSTC_MATLAB_DEFAULT, 0 }, { "wxSTC_C_STRING", false, wxSTC_C_STRING, 0 }, { "wxSTC_MOD_CHANGEFOLD", false, wxSTC_MOD_CHANGEFOLD, 0 }, { "wxSTC_L_COMMAND", false, wxSTC_L_COMMAND, 0 }, { "wxSTC_PL_CHARACTER", false, wxSTC_PL_CHARACTER, 0 }, { "wxSTC_HP_NUMBER", false, wxSTC_HP_NUMBER, 0 }, { "wxSTC_ADA_STRINGEOL", false, wxSTC_ADA_STRINGEOL, 0 }, { "wxSTC_C_STRINGEOL", false, wxSTC_C_STRINGEOL, 0 }, { "wxSTC_C_NUMBER", false, wxSTC_C_NUMBER, 0 }, { "wxSTC_CMD_TAB", false, wxSTC_CMD_TAB, 0 }, { "wxSTC_HPA_IDENTIFIER", false, wxSTC_HPA_IDENTIFIER, 0 }, { "wxSTC_CMD_CANCEL", false, wxSTC_CMD_CANCEL, 0 }, { "wxSTC_C_CHARACTER", false, wxSTC_C_CHARACTER, 0 }, { "wxSTC_CARET_JUMPS", false, wxSTC_CARET_JUMPS, 0 }, { "wxSTC_PERFORMED_REDO", false, wxSTC_PERFORMED_REDO, 0 }, { "wxSTC_PL_STRING", false, wxSTC_PL_STRING, 0 }, { "wxSTC_KEY_PRIOR", false, wxSTC_KEY_PRIOR, 0 }, { "wxSTC_ERR_PERL", false, wxSTC_ERR_PERL, 0 }, { "wxSTC_ERR_PYTHON", false, wxSTC_ERR_PYTHON, 0 }, { "wxSTC_NNCRONTAB_SECTION", false, wxSTC_NNCRONTAB_SECTION, 0 }, { "wxSTC_HJA_NUMBER", false, wxSTC_HJA_NUMBER, 0 }, { "wxSTC_MARK_ROUNDRECT", false, wxSTC_MARK_ROUNDRECT, 0 }, { "wxSTC_AVE_OPERATOR", false, wxSTC_AVE_OPERATOR, 0 }, { "wxSTC_CHARSET_HEBREW", false, wxSTC_CHARSET_HEBREW, 0 }, { "wxSTC_SCRIPTOL_DEFAULT", false, wxSTC_SCRIPTOL_DEFAULT, 0 }, { "wxSTC_HPA_COMMENTLINE", false, wxSTC_HPA_COMMENTLINE, 0 }, { "wxSTC_CMD_DELETEBACK", false, wxSTC_CMD_DELETEBACK, 0 }, { "wxSTC_WRAP_WORD", false, wxSTC_WRAP_WORD, 0 }, { "wxSTC_PL_OPERATOR", false, wxSTC_PL_OPERATOR, 0 }, { "wxSTC_CMD_LINESCROLLUP", false, wxSTC_CMD_LINESCROLLUP, 0 }, { "wxSTC_HP_WORD", false, wxSTC_HP_WORD, 0 }, { "wxSTC_LEX_AUTOMATIC", false, wxSTC_LEX_AUTOMATIC, 0 }, { "wxSTC_H_SGML_SPECIAL", false, wxSTC_H_SGML_SPECIAL, 0 }, { "wxSTC_LEX_PASCAL", false, wxSTC_LEX_PASCAL, 0 }, { "wxSTC_BAAN_DEFAULT", false, wxSTC_BAAN_DEFAULT, 0 }, { "wxSTC_EOL_CR", false, wxSTC_EOL_CR, 0 }, { "wxSTC_PL_STRING_QX", false, wxSTC_PL_STRING_QX, 0 }, { "wxSTC_INDICS_MASK", false, wxSTC_INDICS_MASK, 0 }, { "wxSTC_H_ASPAT", false, wxSTC_H_ASPAT, 0 }, { "wxSTC_MARKNUM_FOLDEREND", false, wxSTC_MARKNUM_FOLDEREND, 0 }, { "wxSTC_KEY_RIGHT", false, wxSTC_KEY_RIGHT, 0 }, { "wxSTC_HP_CLASSNAME", false, wxSTC_HP_CLASSNAME, 0 }, { "wxSTC_H_VALUE", false, wxSTC_H_VALUE, 0 }, { "wxSTC_LEX_SCRIPTOL", false, wxSTC_LEX_SCRIPTOL, 0 }, { "wxSTC_CHARSET_EASTEUROPE", false, wxSTC_CHARSET_EASTEUROPE, 0 }, { "wxSTC_CMD_LINEENDEXTEND", false, wxSTC_CMD_LINEENDEXTEND, 0 }, { "wxSTC_CMD_LINESCROLLDOWN", false, wxSTC_CMD_LINESCROLLDOWN, 0 }, { "wxSTC_CHARSET_SYMBOL", false, wxSTC_CHARSET_SYMBOL, 0 }, { "wxSTC_BAAN_IDENTIFIER", false, wxSTC_BAAN_IDENTIFIER, 0 }, { "wxSTC_CMD_HOMEEXTEND", false, wxSTC_CMD_HOMEEXTEND, 0 }, { "wxSTC_BAAN_WORD2", false, wxSTC_BAAN_WORD2, 0 }, { "wxSTC_KEY_ADD", false, wxSTC_KEY_ADD, 0 }, { "wxSTC_EDGE_LINE", false, wxSTC_EDGE_LINE, 0 }, { "wxSTC_CMD_FORMFEED", false, wxSTC_CMD_FORMFEED, 0 }, { "wxSTC_P_CHARACTER", false, wxSTC_P_CHARACTER, 0 }, { "wxSTC_PL_ARRAY", false, wxSTC_PL_ARRAY, 0 }, { "wxSTC_MATLAB_OPERATOR", false, wxSTC_MATLAB_OPERATOR, 0 }, { "wxSTC_MOD_INSERTTEXT", false, wxSTC_MOD_INSERTTEXT, 0 }, { "wxSTC_MARKNUM_FOLDERSUB", false, wxSTC_MARKNUM_FOLDERSUB, 0 }, { "wxSTC_H_COMMENT", false, wxSTC_H_COMMENT, 0 }, { "wxSTC_HJ_DEFAULT", false, wxSTC_HJ_DEFAULT, 0 }, { "wxSTC_P_COMMENTBLOCK", false, wxSTC_P_COMMENTBLOCK, 0 }, { "wxSTC_H_OTHER", false, wxSTC_H_OTHER, 0 }, { "wxSTC_BAT_COMMENT", false, wxSTC_BAT_COMMENT, 0 }, { "wxSTC_ERR_GCC", false, wxSTC_ERR_GCC, 0 }, { "wxSTC_CMD_CHARLEFTEXTEND", false, wxSTC_CMD_CHARLEFTEXTEND, 0 }, { "wxSTC_MARK_CIRCLEPLUSCONNECTED", false, wxSTC_MARK_CIRCLEPLUSCONNECTED, 0 }, { "wxSTC_CHARSET_THAI", false, wxSTC_CHARSET_THAI, 0 }, { "wxSTC_PL_DATASECTION", false, wxSTC_PL_DATASECTION, 0 }, { "wxSTC_NNCRONTAB_COMMENT", false, wxSTC_NNCRONTAB_COMMENT, 0 }, { "wxSTC_C_COMMENTDOCKEYWORDERROR", false, wxSTC_C_COMMENTDOCKEYWORDERROR, 0 }, { "wxSTC_PL_STRING_QR", false, wxSTC_PL_STRING_QR, 0 }, { "wxSTC_FOLDLEVELHEADERFLAG", false, wxSTC_FOLDLEVELHEADERFLAG, 0 }, { "wxSTC_BAT_IDENTIFIER", false, wxSTC_BAT_IDENTIFIER, 0 }, { "wxSTC_EDGE_NONE", false, wxSTC_EDGE_NONE, 0 }, { "wxSTC_LISP_STRINGEOL", false, wxSTC_LISP_STRINGEOL, 0 }, { "wxSTC_BAT_LABEL", false, wxSTC_BAT_LABEL, 0 }, { "wxSTC_ERR_NET", false, wxSTC_ERR_NET, 0 }, { "wxSTC_C_REGEX", false, wxSTC_C_REGEX, 0 }, { "wxSTC_MARK_SMALLRECT", false, wxSTC_MARK_SMALLRECT, 0 }, { "wxSTC_LASTSTEPINUNDOREDO", false, wxSTC_LASTSTEPINUNDOREDO, 0 }, { "wxSTC_MAKE_OPERATOR", false, wxSTC_MAKE_OPERATOR, 0 }, { "wxSTC_LEX_PHP", false, wxSTC_LEX_PHP, 0 }, { "wxSTC_CHARSET_RUSSIAN", false, wxSTC_CHARSET_RUSSIAN, 0 }, { "wxSTC_EOL_LF", false, wxSTC_EOL_LF, 0 }, { "wxSTC_LUA_CHARACTER", false, wxSTC_LUA_CHARACTER, 0 }, { "wxSTC_CMD_DOCUMENTSTARTEXTEND", false, wxSTC_CMD_DOCUMENTSTARTEXTEND, 0 }, { "wxSTC_H_CDATA", false, wxSTC_H_CDATA, 0 }, { "wxSTC_SCMOD_SHIFT", false, wxSTC_SCMOD_SHIFT, 0 }, { "wxSTC_LUA_DEFAULT", false, wxSTC_LUA_DEFAULT, 0 }, { "wxSTC_SCMOD_CTRL", false, wxSTC_SCMOD_CTRL, 0 }, { "wxSTC_C_WORD", false, wxSTC_C_WORD, 0 }, { "wxSTC_HPA_DEFAULT", false, wxSTC_HPA_DEFAULT, 0 }, { "wxSTC_CHARSET_GREEK", false, wxSTC_CHARSET_GREEK, 0 }, { "wxSTC_PL_ERROR", false, wxSTC_PL_ERROR, 0 }, { "wxSTC_EOL_CRLF", false, wxSTC_EOL_CRLF, 0 }, { "wxSTC_MOD_CHANGESTYLE", false, wxSTC_MOD_CHANGESTYLE, 0 }, { "wxSTC_MARK_CIRCLEMINUSCONNECTED", false, wxSTC_MARK_CIRCLEMINUSCONNECTED, 0 }, { "wxSTC_LUA_OPERATOR", false, wxSTC_LUA_OPERATOR, 0 }, { "wxSTC_PL_STRING_QW", false, wxSTC_PL_STRING_QW, 0 }, { "wxSTC_KEY_UP", false, wxSTC_KEY_UP, 0 }, { "wxSTC_KEY_INSERT", false, wxSTC_KEY_INSERT, 0 }, { "wxSTC_CONF_PARAMETER", false, wxSTC_CONF_PARAMETER, 0 }, { "wxSTC_MARK_BOXMINUS", false, wxSTC_MARK_BOXMINUS, 0 }, { "wxSTC_CMD_BACKTAB", false, wxSTC_CMD_BACKTAB, 0 }, { "wxSTC_MOD_CHANGEMARKER", false, wxSTC_MOD_CHANGEMARKER, 0 }, { "wxSTC_CMD_CHARLEFT", false, wxSTC_CMD_CHARLEFT, 0 }, { "wxSTC_AVE_WORD", false, wxSTC_AVE_WORD, 0 }, { "wxSTC_CACHE_CARET", false, wxSTC_CACHE_CARET, 0 }, { "wxSTC_LEX_RUBY", false, wxSTC_LEX_RUBY, 0 }, { "wxSTC_HJA_DOUBLESTRING", false, wxSTC_HJA_DOUBLESTRING, 0 }, { "wxSTC_CMD_PAGEUPEXTEND", false, wxSTC_CMD_PAGEUPEXTEND, 0 }, { "wxSTC_CARET_STRICT", false, wxSTC_CARET_STRICT, 0 }, { "wxSTC_MARK_CIRCLEPLUS", false, wxSTC_MARK_CIRCLEPLUS, 0 }, { "wxSTC_CASE_LOWER", false, wxSTC_CASE_LOWER, 0 }, { "wxSTC_P_STRING", false, wxSTC_P_STRING, 0 }, { "wxSTC_MARK_TCORNERCURVE", false, wxSTC_MARK_TCORNERCURVE, 0 }, { "wxSTC_HJ_KEYWORD", false, wxSTC_HJ_KEYWORD, 0 }, { "wxSTC_INVALID_POSITION", false, wxSTC_INVALID_POSITION, 0 }, { "wxSTC_MARKNUM_FOLDEROPEN", false, wxSTC_MARKNUM_FOLDEROPEN, 0 }, { "wxSTC_MARK_SHORTARROW", false, wxSTC_MARK_SHORTARROW, 0 }, { "wxSTC_HJA_REGEX", false, wxSTC_HJA_REGEX, 0 }, { "wxSTC_C_PREPROCESSOR", false, wxSTC_C_PREPROCESSOR, 0 }, { "wxSTC_LEX_CONF", false, wxSTC_LEX_CONF, 0 }, { "wxSTC_HP_DEFAULT", false, wxSTC_HP_DEFAULT, 0 }, { "wxSTC_CHARSET_MAC", false, wxSTC_CHARSET_MAC, 0 }, { "wxSTC_PRINT_INVERTLIGHT", false, wxSTC_PRINT_INVERTLIGHT, 0 }, { "wxSTC_CONF_IDENTIFIER", false, wxSTC_CONF_IDENTIFIER, 0 }, { "wxSTC_CMD_WORDLEFT", false, wxSTC_CMD_WORDLEFT, 0 }, { "wxSTC_MARK_BOXPLUS", false, wxSTC_MARK_BOXPLUS, 0 }, { "wxSTC_CMD_PASTE", false, wxSTC_CMD_PASTE, 0 }, { "wxSTC_EIFFEL_DEFAULT", false, wxSTC_EIFFEL_DEFAULT, 0 }, { "wxSTC_LEX_DIFF", false, wxSTC_LEX_DIFF, 0 }, { "wxSTC_MARKER_MAX", false, wxSTC_MARKER_MAX, 0 }, { "wxSTC_CMD_DOCUMENTSTART", false, wxSTC_CMD_DOCUMENTSTART, 0 }, { "wxSTC_H_DOUBLESTRING", false, wxSTC_H_DOUBLESTRING, 0 }, { "wxSTC_H_TAG", false, wxSTC_H_TAG, 0 }, { "wxSTC_STYLE_CONTROLCHAR", false, wxSTC_STYLE_CONTROLCHAR, 0 }, { "wxSTC_CHARSET_SHIFTJIS", false, wxSTC_CHARSET_SHIFTJIS, 0 }, { "wxSTC_LEX_BATCH", false, wxSTC_LEX_BATCH, 0 }, { "wxSTC_MARKNUM_FOLDEROPENMID", false, wxSTC_MARKNUM_FOLDEROPENMID, 0 }, { "wxSTC_CMD_LINEUPEXTEND", false, wxSTC_CMD_LINEUPEXTEND, 0 }, { "wxSTC_CMD_DELWORDRIGHT", false, wxSTC_CMD_DELWORDRIGHT, 0 }, { "wxSTC_HPA_NUMBER", false, wxSTC_HPA_NUMBER, 0 }, { "wxSTC_MARK_ARROW", false, wxSTC_MARK_ARROW, 0 }, { "wxSTC_EIFFEL_STRINGEOL", false, wxSTC_EIFFEL_STRINGEOL, 0 }, { "wxSTC_WS_VISIBLEALWAYS", false, wxSTC_WS_VISIBLEALWAYS, 0 }, { "wxSTC_KEY_ESCAPE", false, wxSTC_KEY_ESCAPE, 0 }, { "wxSTC_VISIBLE_SLOP", false, wxSTC_VISIBLE_SLOP, 0 }, { "wxSTC_EIFFEL_STRING", false, wxSTC_EIFFEL_STRING, 0 }, { "wxSTC_SCMOD_ALT", false, wxSTC_SCMOD_ALT, 0 }, { "wxSTC_LUA_COMMENTDOC", false, wxSTC_LUA_COMMENTDOC, 0 }, { "wxSTC_CMD_LINEEND", false, wxSTC_CMD_LINEEND, 0 }, { "wxSTC_H_XMLSTART", false, wxSTC_H_XMLSTART, 0 }, { "wxSTC_P_NUMBER", false, wxSTC_P_NUMBER, 0 }, { "wxSTC_HB_STRING", false, wxSTC_HB_STRING, 0 }, { "wxSTC_LEX_MATLAB", false, wxSTC_LEX_MATLAB, 0 }, { "wxSTC_PL_REGEX", false, wxSTC_PL_REGEX, 0 }, { "wxSTC_HJ_STRINGEOL", false, wxSTC_HJ_STRINGEOL, 0 }, { "wxSTC_ERR_CTAG", false, wxSTC_ERR_CTAG, 0 }, { "wxSTC_C_UUID", false, wxSTC_C_UUID, 0 }, { "wxSTC_LUA_WORD3", false, wxSTC_LUA_WORD3, 0 }, { "wxSTC_HB_WORD", false, wxSTC_HB_WORD, 0 }, { "wxSTC_CMD_CHARRIGHT", false, wxSTC_CMD_CHARRIGHT, 0 }, { "wxSTC_CURSORWAIT", false, wxSTC_CURSORWAIT, 0 }, { "wxSTC_HB_COMMENTLINE", false, wxSTC_HB_COMMENTLINE, 0 }, { "wxSTC_FOLDLEVELNUMBERMASK", false, wxSTC_FOLDLEVELNUMBERMASK, 0 }, { "wxSTC_HJ_SYMBOLS", false, wxSTC_HJ_SYMBOLS, 0 }, { "wxSTC_MARK_TCORNER", false, wxSTC_MARK_TCORNER, 0 }, { "wxSTC_PL_DEFAULT", false, wxSTC_PL_DEFAULT, 0 }, { "wxSTC_C_OPERATOR", false, wxSTC_C_OPERATOR, 0 }, { "wxSTC_LEX_AVE", false, wxSTC_LEX_AVE, 0 }, { "wxSTC_MARK_BOXMINUSCONNECTED", false, wxSTC_MARK_BOXMINUSCONNECTED, 0 }, { "wxSTC_FIND_MATCHCASE", false, wxSTC_FIND_MATCHCASE, 0 }, { "wxSTC_LEX_HTML", false, wxSTC_LEX_HTML, 0 }, { "wxSTC_PROPS_DEFAULT", false, wxSTC_PROPS_DEFAULT, 0 }, { "wxSTC_H_XMLEND", false, wxSTC_H_XMLEND, 0 }, { "wxSTC_MARKNUM_FOLDERMIDTAIL", false, wxSTC_MARKNUM_FOLDERMIDTAIL, 0 }, { "wxSTC_INDIC1_MASK", false, wxSTC_INDIC1_MASK, 0 }, { "wxSTC_BAT_WORD", false, wxSTC_BAT_WORD, 0 }, { "wxSTC_ADA_NUMBER", false, wxSTC_ADA_NUMBER, 0 }, { "wxSTC_HPA_STRING", false, wxSTC_HPA_STRING, 0 }, { "wxSTC_H_SGML_ENTITY", false, wxSTC_H_SGML_ENTITY, 0 }, { "wxSTC_LEX_ASP", false, wxSTC_LEX_ASP, 0 }, { "wxSTC_H_SGML_COMMENT", false, wxSTC_H_SGML_COMMENT, 0 }, { "wxSTC_ERR_MS", false, wxSTC_ERR_MS, 0 }, { "wxSTC_CMD_LINETRANSPOSE", false, wxSTC_CMD_LINETRANSPOSE, 0 }, { "wxSTC_MAKE_PREPROCESSOR", false, wxSTC_MAKE_PREPROCESSOR, 0 }, { "wxSTC_CHARSET_ARABIC", false, wxSTC_CHARSET_ARABIC, 0 }, { "wxSTC_INDIC_MAX", false, wxSTC_INDIC_MAX, 0 }, { "wxSTC_LEX_XML", false, wxSTC_LEX_XML, 0 }, { "wxSTC_MARK_BOXPLUSCONNECTED", false, wxSTC_MARK_BOXPLUSCONNECTED, 0 }, { "wxSTC_AVE_ENUM", false, wxSTC_AVE_ENUM, 0 }, { "wxSTC_MARKNUM_FOLDERTAIL", false, wxSTC_MARKNUM_FOLDERTAIL, 0 }, { "wxSTC_PROPS_SECTION", false, wxSTC_PROPS_SECTION, 0 }, { "wxSTC_LUA_WORD", false, wxSTC_LUA_WORD, 0 }, { "wxSTC_PL_LONGQUOTE", false, wxSTC_PL_LONGQUOTE, 0 }, { "wxSTC_MARK_CHARACTER", false, wxSTC_MARK_CHARACTER, 0 }, { "wxSTC_H_ATTRIBUTEUNKNOWN", false, wxSTC_H_ATTRIBUTEUNKNOWN, 0 }, { "wxSTC_B_PREPROCESSOR", false, wxSTC_B_PREPROCESSOR, 0 }, { "wxSTC_HP_TRIPLE", false, wxSTC_HP_TRIPLE, 0 }, { "wxSTC_CMD_CHARRIGHTEXTEND", false, wxSTC_CMD_CHARRIGHTEXTEND, 0 }, { "wxSTC_CMD_ZOOMOUT", false, wxSTC_CMD_ZOOMOUT, 0 }, { "wxSTC_KEY_LEFT", false, wxSTC_KEY_LEFT, 0 }, { "wxSTC_MASK_FOLDERS", false, wxSTC_MASK_FOLDERS, 0 }, { "wxSTC_H_SINGLESTRING", false, wxSTC_H_SINGLESTRING, 0 }, { "wxSTC_HBA_COMMENTLINE", false, wxSTC_HBA_COMMENTLINE, 0 }, { "wxSTC_HB_STRINGEOL", false, wxSTC_HB_STRINGEOL, 0 }, { "wxSTC_PL_PUNCTUATION", false, wxSTC_PL_PUNCTUATION, 0 }, { "wxSTC_PL_HASH", false, wxSTC_PL_HASH, 0 }, { "wxSTC_HB_DEFAULT", false, wxSTC_HB_DEFAULT, 0 }, { "wxSTC_CASE_MIXED", false, wxSTC_CASE_MIXED, 0 }, { "wxSTC_HJA_START", false, wxSTC_HJA_START, 0 }, { "wxSTC_MOD_BEFOREINSERT", false, wxSTC_MOD_BEFOREINSERT, 0 }, { "wxSTC_P_WORD", false, wxSTC_P_WORD, 0 }, { "wxSTC_HPA_DEFNAME", false, wxSTC_HPA_DEFNAME, 0 }, { "wxSTC_HPA_CHARACTER", false, wxSTC_HPA_CHARACTER, 0 }, { "wxSTC_LEX_BULLANT", false, wxSTC_LEX_BULLANT, 0 }, { "wxSTC_MARK_CIRCLEMINUS", false, wxSTC_MARK_CIRCLEMINUS, 0 }, { "wxSTC_C_WORD2", false, wxSTC_C_WORD2, 0 }, { "wxSTC_CMD_VCHOME", false, wxSTC_CMD_VCHOME, 0 }, { "wxSTC_MARKNUM_FOLDER", false, wxSTC_MARKNUM_FOLDER, 0 }, { "wxSTC_P_IDENTIFIER", false, wxSTC_P_IDENTIFIER, 0 }, { "wxSTC_DIFF_COMMENT", false, wxSTC_DIFF_COMMENT, 0 }, { "wxSTC_WS_INVISIBLE", false, wxSTC_WS_INVISIBLE, 0 }, { "wxSTC_MARK_VLINE", false, wxSTC_MARK_VLINE, 0 }, { "wxSTC_HP_DEFNAME", false, wxSTC_HP_DEFNAME, 0 }, { "wxSTC_EIFFEL_CHARACTER", false, wxSTC_EIFFEL_CHARACTER, 0 }, { "wxSTC_HPHP_COMMENT", false, wxSTC_HPHP_COMMENT, 0 }, { "wxSTC_P_STRINGEOL", false, wxSTC_P_STRINGEOL, 0 }, { "wxSTC_HJA_COMMENTLINE", false, wxSTC_HJA_COMMENTLINE, 0 }, { "wxSTC_LEX_ERRORLIST", false, wxSTC_LEX_ERRORLIST, 0 }, { "wxSTC_HPHP_VARIABLE", false, wxSTC_HPHP_VARIABLE, 0 }, { "wxSTC_C_COMMENTLINE", false, wxSTC_C_COMMENTLINE, 0 }, { "wxSTC_B_STRING", false, wxSTC_B_STRING, 0 }, { "wxSTC_HB_IDENTIFIER", false, wxSTC_HB_IDENTIFIER, 0 }, { "wxSTC_CMD_WORDLEFTEXTEND", false, wxSTC_CMD_WORDLEFTEXTEND, 0 }, { "wxSTC_ERR_DIFF_CHANGED", false, wxSTC_ERR_DIFF_CHANGED, 0 }, { "wxSTC_KEY_DIVIDE", false, wxSTC_KEY_DIVIDE, 0 }, { "wxSTC_HJA_DEFAULT", false, wxSTC_HJA_DEFAULT, 0 }, { "wxSTC_MATLAB_NUMBER", false, wxSTC_MATLAB_NUMBER, 0 }, { "wxSTC_CMD_WORDRIGHTEXTEND", false, wxSTC_CMD_WORDRIGHTEXTEND, 0 }, { "wxSTC_P_COMMENTLINE", false, wxSTC_P_COMMENTLINE, 0 }, { "wxSTC_CHARSET_HANGUL", false, wxSTC_CHARSET_HANGUL, 0 }, { "wxSTC_LUA_WORD6", false, wxSTC_LUA_WORD6, 0 }, { "wxSTC_H_TAGUNKNOWN", false, wxSTC_H_TAGUNKNOWN, 0 }, { "wxSTC_CMD_DELWORDLEFT", false, wxSTC_CMD_DELWORDLEFT, 0 }, { "wxSTC_H_DEFAULT", false, wxSTC_H_DEFAULT, 0 }, { "wxSTC_H_NUMBER", false, wxSTC_H_NUMBER, 0 }, { "wxSTC_B_DEFAULT", false, wxSTC_B_DEFAULT, 0 }, { "wxSTC_PL_STRING_Q", false, wxSTC_PL_STRING_Q, 0 }, { "wxSTC_HP_STRING", false, wxSTC_HP_STRING, 0 }, { "wxSTC_CARET_EVEN", false, wxSTC_CARET_EVEN, 0 }, { "wxSTC_LEX_CPP", false, wxSTC_LEX_CPP, 0 }, { "wxSTC_LEX_VBSCRIPT", false, wxSTC_LEX_VBSCRIPT, 0 }, { "wxSTC_KEY_RETURN", false, wxSTC_KEY_RETURN, 0 }, { "wxSTC_P_TRIPLEDOUBLE", false, wxSTC_P_TRIPLEDOUBLE, 0 }, { "wxSTC_CMD_LOWERCASE", false, wxSTC_CMD_LOWERCASE, 0 }, { "wxSTC_PL_REGSUBST", false, wxSTC_PL_REGSUBST, 0 }, { "wxSTC_PL_IDENTIFIER", false, wxSTC_PL_IDENTIFIER, 0 }, { "wxSTC_VISIBLE_STRICT", false, wxSTC_VISIBLE_STRICT, 0 }, { "wxSTC_HBA_DEFAULT", false, wxSTC_HBA_DEFAULT, 0 }, { "wxSTC_CMD_ZOOMIN", false, wxSTC_CMD_ZOOMIN, 0 }, { "wxSTC_ERR_DIFF_ADDITION", false, wxSTC_ERR_DIFF_ADDITION, 0 }, { "wxSTC_HPHP_HSTRING_VARIABLE", false, wxSTC_HPHP_HSTRING_VARIABLE, 0 }, { "wxSTC_MARK_ARROWS", false, wxSTC_MARK_ARROWS, 0 }, { "wxSTC_CHARSET_VIETNAMESE", false, wxSTC_CHARSET_VIETNAMESE, 0 }, { "wxSTC_DIFF_DELETED", false, wxSTC_DIFF_DELETED, 0 }, { "wxSTC_HP_COMMENTLINE", false, wxSTC_HP_COMMENTLINE, 0 }, { "wxSTC_MARK_DOTDOTDOT", false, wxSTC_MARK_DOTDOTDOT, 0 }, { "wxSTC_MATLAB_COMMAND", false, wxSTC_MATLAB_COMMAND, 0 }, { "wxSTC_CMD_UNDO", false, wxSTC_CMD_UNDO, 0 }, { "wxSTC_CMD_PAGEDOWNEXTEND", false, wxSTC_CMD_PAGEDOWNEXTEND, 0 }, { "wxSTC_LEX_TCL", false, wxSTC_LEX_TCL, 0 }, { "wxSTC_H_SGML_ERROR", false, wxSTC_H_SGML_ERROR, 0 }, { "wxSTC_LUA_LITERALSTRING", false, wxSTC_LUA_LITERALSTRING, 0 }, { "wxSTC_PL_HERE_DELIM", false, wxSTC_PL_HERE_DELIM, 0 }, { "wxSTC_MAKE_DEFAULT", false, wxSTC_MAKE_DEFAULT, 0 }, { "wxSTC_KEY_END", false, wxSTC_KEY_END, 0 }, { "wxSTC_CP_UTF8", false, wxSTC_CP_UTF8, 0 }, { "wxSTC_PL_COMMENTLINE", false, wxSTC_PL_COMMENTLINE, 0 }, { "wxSTC_MATLAB_IDENTIFIER", false, wxSTC_MATLAB_IDENTIFIER, 0 }, { "wxSTC_HJ_COMMENTLINE", false, wxSTC_HJ_COMMENTLINE, 0 }, { "wxSTC_MARK_ARROWDOWN", false, wxSTC_MARK_ARROWDOWN, 0 }, { "wxSTC_PRINT_COLOURONWHITEDEFAULTBG", false, wxSTC_PRINT_COLOURONWHITEDEFAULTBG, 0 }, { "wxSTC_LEX_LATEX", false, wxSTC_LEX_LATEX, 0 }, { "wxSTC_MARGIN_SYMBOL", false, wxSTC_MARGIN_SYMBOL, 0 }, { "wxSTC_HBA_START", false, wxSTC_HBA_START, 0 }, { "wxSTC_NNCRONTAB_IDENTIFIER", false, wxSTC_NNCRONTAB_IDENTIFIER, 0 }, { "wxSTC_AVE_NUMBER", false, wxSTC_AVE_NUMBER, 0 }, { "wxSTC_HPHP_HSTRING", false, wxSTC_HPHP_HSTRING, 0 }, { "wxSTC_STYLE_MAX", false, wxSTC_STYLE_MAX, 0 }, { "wxSTC_H_ENTITY", false, wxSTC_H_ENTITY, 0 }, { "wxSTC_INDIC_DIAGONAL", false, wxSTC_INDIC_DIAGONAL, 0 }, { "wxSTC_LISP_KEYWORD", false, wxSTC_LISP_KEYWORD, 0 }, { "wxSTC_P_TRIPLE", false, wxSTC_P_TRIPLE, 0 }, { "wxSTC_HJ_DOUBLESTRING", false, wxSTC_HJ_DOUBLESTRING, 0 }, { "wxSTC_MATLAB_STRING", false, wxSTC_MATLAB_STRING, 0 }, { "wxSTC_H_SGML_SIMPLESTRING", false, wxSTC_H_SGML_SIMPLESTRING, 0 }, { "wxSTC_MATLAB_COMMENT", false, wxSTC_MATLAB_COMMENT, 0 }, { "wxSTC_NNCRONTAB_ENVIRONMENT", false, wxSTC_NNCRONTAB_ENVIRONMENT, 0 }, { "wxSTC_HJA_WORD", false, wxSTC_HJA_WORD, 0 }, { "wxSTC_LEX_PERL", false, wxSTC_LEX_PERL, 0 }, { "wxSTC_NNCRONTAB_STRING", false, wxSTC_NNCRONTAB_STRING, 0 }, { "wxSTC_MATLAB_KEYWORD", false, wxSTC_MATLAB_KEYWORD, 0 }, { "wxSTC_NNCRONTAB_ASTERISK", false, wxSTC_NNCRONTAB_ASTERISK, 0 }, { "wxSTC_HPA_WORD", false, wxSTC_HPA_WORD, 0 }, { "wxSTC_PRINT_BLACKONWHITE", false, wxSTC_PRINT_BLACKONWHITE, 0 }, { "wxSTC_CMD_DOCUMENTEND", false, wxSTC_CMD_DOCUMENTEND, 0 }, { "wxSTC_NNCRONTAB_TASK", false, wxSTC_NNCRONTAB_TASK, 0 }, { "wxSTC_NNCRONTAB_DEFAULT", false, wxSTC_NNCRONTAB_DEFAULT, 0 }, { "wxSTC_AVE_IDENTIFIER", false, wxSTC_AVE_IDENTIFIER, 0 }, { "wxSTC_H_SGML_COMMAND", false, wxSTC_H_SGML_COMMAND, 0 }, { "wxSTC_EIFFEL_WORD", false, wxSTC_EIFFEL_WORD, 0 }, { "wxSTC_EIFFEL_NUMBER", false, wxSTC_EIFFEL_NUMBER, 0 }, { "wxSTC_CMD_LINEDOWN", false, wxSTC_CMD_LINEDOWN, 0 }, { "wxSTC_EIFFEL_COMMENTLINE", false, wxSTC_EIFFEL_COMMENTLINE, 0 }, { "wxSTC_LISP_OPERATOR", false, wxSTC_LISP_OPERATOR, 0 }, { "wxSTC_LISP_IDENTIFIER", false, wxSTC_LISP_IDENTIFIER, 0 }, { "wxSTC_LISP_STRING", false, wxSTC_LISP_STRING, 0 }, { "wxSTC_LISP_NUMBER", false, wxSTC_LISP_NUMBER, 0 }, { "wxSTC_LISP_COMMENT", false, wxSTC_LISP_COMMENT, 0 }, { "wxSTC_MOD_BEFOREDELETE", false, wxSTC_MOD_BEFOREDELETE, 0 }, { "wxSTC_CMD_PAGEUP", false, wxSTC_CMD_PAGEUP, 0 }, { "wxSTC_BAAN_STRINGEOL", false, wxSTC_BAAN_STRINGEOL, 0 }, { "wxSTC_BAAN_OPERATOR", false, wxSTC_BAAN_OPERATOR, 0 }, { "wxSTC_LUA_PREPROCESSOR", false, wxSTC_LUA_PREPROCESSOR, 0 }, { "wxSTC_CONF_OPERATOR", false, wxSTC_CONF_OPERATOR, 0 }, { "wxSTC_BAAN_STRING", false, wxSTC_BAAN_STRING, 0 }, { "wxSTC_BAAN_WORD", false, wxSTC_BAAN_WORD, 0 }, { "wxSTC_HPA_START", false, wxSTC_HPA_START, 0 }, { "wxSTC_P_OPERATOR", false, wxSTC_P_OPERATOR, 0 }, { "wxSTC_B_OPERATOR", false, wxSTC_B_OPERATOR, 0 }, { "wxSTC_BAAN_NUMBER", false, wxSTC_BAAN_NUMBER, 0 }, { "wxSTC_CONF_DEFAULT", false, wxSTC_CONF_DEFAULT, 0 }, { "wxSTC_BAAN_COMMENT", false, wxSTC_BAAN_COMMENT, 0 }, { "wxSTC_H_XCCOMMENT", false, wxSTC_H_XCCOMMENT, 0 }, { "wxSTC_C_VERBATIM", false, wxSTC_C_VERBATIM, 0 }, { "wxSTC_CMD_VCHOMEEXTEND", false, wxSTC_CMD_VCHOMEEXTEND, 0 }, { "wxSTC_MOD_DELETETEXT", false, wxSTC_MOD_DELETETEXT, 0 }, { "wxSTC_ADA_IDENTIFIER", false, wxSTC_ADA_IDENTIFIER, 0 }, { "wxSTC_LEX_NNCRONTAB", false, wxSTC_LEX_NNCRONTAB, 0 }, { "wxSTC_CMD_LINEENDDISPLAY", false, wxSTC_CMD_LINEENDDISPLAY, 0 }, { "wxSTC_ADA_CHARACTER", false, wxSTC_ADA_CHARACTER, 0 }, { "wxSTC_C_COMMENTDOCKEYWORD", false, wxSTC_C_COMMENTDOCKEYWORD, 0 }, { "wxSTC_LUA_COMMENTLINE", false, wxSTC_LUA_COMMENTLINE, 0 }, { "wxSTC_ADA_STRING", false, wxSTC_ADA_STRING, 0 }, { "wxSTC_ADA_DEFAULT", false, wxSTC_ADA_DEFAULT, 0 }, { "wxSTC_CHARSET_ANSI", false, wxSTC_CHARSET_ANSI, 0 }, { "wxSTC_KEY_NEXT", false, wxSTC_KEY_NEXT, 0 }, { "wxSTC_CMD_LINEDOWNEXTEND", false, wxSTC_CMD_LINEDOWNEXTEND, 0 }, { "wxSTC_H_QUESTION", false, wxSTC_H_QUESTION, 0 }, { "wxSTC_ADA_WORD", false, wxSTC_ADA_WORD, 0 }, { "wxSTC_LEX_LUA", false, wxSTC_LEX_LUA, 0 }, { "wxSTC_CMD_DELETEBACKNOTLINE", false, wxSTC_CMD_DELETEBACKNOTLINE, 0 }, { "wxSTC_HBA_NUMBER", false, wxSTC_HBA_NUMBER, 0 }, { "wxSTC_EIFFEL_IDENTIFIER", false, wxSTC_EIFFEL_IDENTIFIER, 0 }, { "wxSTC_HPHP_NUMBER", false, wxSTC_HPHP_NUMBER, 0 }, { "wxSTC_AVE_STRING", false, wxSTC_AVE_STRING, 0 }, { "wxSTC_FIND_WORDSTART", false, wxSTC_FIND_WORDSTART, 0 }, { "wxSTC_CMD_HOMEDISPLAYEXTEND", false, wxSTC_CMD_HOMEDISPLAYEXTEND, 0 }, { "wxSTC_CHARSET_JOHAB", false, wxSTC_CHARSET_JOHAB, 0 }, { "wxSTC_CARET_SLOP", false, wxSTC_CARET_SLOP, 0 }, { "wxSTC_PL_SCALAR", false, wxSTC_PL_SCALAR, 0 }, { "wxSTC_HBA_WORD", false, wxSTC_HBA_WORD, 0 }, { "wxSTC_AVE_COMMENT", false, wxSTC_AVE_COMMENT, 0 }, { "wxSTC_AVE_DEFAULT", false, wxSTC_AVE_DEFAULT, 0 }, { "wxSTC_PL_PREPROCESSOR", false, wxSTC_PL_PREPROCESSOR, 0 }, { "wxSTC_CMD_DOCUMENTENDEXTEND", false, wxSTC_CMD_DOCUMENTENDEXTEND, 0 }, { "wxSTC_CONF_IP", false, wxSTC_CONF_IP, 0 }, { "wxSTC_CONF_COMMENT", false, wxSTC_CONF_COMMENT, 0 }, { "wxSTC_NNCRONTAB_NUMBER", false, wxSTC_NNCRONTAB_NUMBER, 0 }, { "wxSTC_HP_TRIPLEDOUBLE", false, wxSTC_HP_TRIPLEDOUBLE, 0 }, { "wxSTC_CONF_STRING", false, wxSTC_CONF_STRING, 0 }, { "wxSTC_HBA_IDENTIFIER", false, wxSTC_HBA_IDENTIFIER, 0 }, { "wxSTC_MARK_PLUS", false, wxSTC_MARK_PLUS, 0 }, { "wxSTC_MAKE_IDEOL", false, wxSTC_MAKE_IDEOL, 0 }, { "wxSTC_PL_HERE_QQ", false, wxSTC_PL_HERE_QQ, 0 }, { "wxSTC_BAAN_COMMENTDOC", false, wxSTC_BAAN_COMMENTDOC, 0 }, { "wxSTC_STYLE_DEFAULT", false, wxSTC_STYLE_DEFAULT, 0 }, { "wxSTC_ERR_DIFF_DELETION", false, wxSTC_ERR_DIFF_DELETION, 0 }, { "wxSTC_MARGIN_NUMBER", false, wxSTC_MARGIN_NUMBER, 0 }, { "wxSTC_CONF_EXTENSION", false, wxSTC_CONF_EXTENSION, 0 }, { "wxSTC_HJA_COMMENTDOC", false, wxSTC_HJA_COMMENTDOC, 0 }, { "wxSTC_CMD_CUT", false, wxSTC_CMD_CUT, 0 }, { "wxSTC_DIFF_POSITION", false, wxSTC_DIFF_POSITION, 0 }, { "wxSTC_EIFFEL_OPERATOR", false, wxSTC_EIFFEL_OPERATOR, 0 }, { "wxSTC_DIFF_HEADER", false, wxSTC_DIFF_HEADER, 0 }, { "wxSTC_CACHE_DOCUMENT", false, wxSTC_CACHE_DOCUMENT, 0 }, { "wxSTC_DIFF_COMMAND", false, wxSTC_DIFF_COMMAND, 0 }, { "wxSTC_C_COMMENT", false, wxSTC_C_COMMENT, 0 }, { "wxSTC_PERFORMED_USER", false, wxSTC_PERFORMED_USER, 0 }, { "wxSTC_INDIC2_MASK", false, wxSTC_INDIC2_MASK, 0 }, { "wxSTC_CONF_NUMBER", false, wxSTC_CONF_NUMBER, 0 }, { "wxSTC_CMD_LINEENDDISPLAYEXTEND", false, wxSTC_CMD_LINEENDDISPLAYEXTEND, 0 }, { "wxSTC_LEX_VB", false, wxSTC_LEX_VB, 0 }, { "wxSTC_LEX_PYTHON", false, wxSTC_LEX_PYTHON, 0 }, { "wxSTC_HPA_OPERATOR", false, wxSTC_HPA_OPERATOR, 0 }, { "wxSTC_MAKE_IDENTIFIER", false, wxSTC_MAKE_IDENTIFIER, 0 }, { "wxSTC_WS_VISIBLEAFTERINDENT", false, wxSTC_WS_VISIBLEAFTERINDENT, 0 }, { "wxSTC_HP_OPERATOR", false, wxSTC_HP_OPERATOR, 0 }, { "wxSTC_MAKE_COMMENT", false, wxSTC_MAKE_COMMENT, 0 }, { "wxSTC_CMD_LINEDELETE", false, wxSTC_CMD_LINEDELETE, 0 }, { "wxSTC_MARK_CIRCLE", false, wxSTC_MARK_CIRCLE, 0 }, { "wxSTC_BAT_OPERATOR", false, wxSTC_BAT_OPERATOR, 0 }, { "wxSTC_BAT_COMMAND", false, wxSTC_BAT_COMMAND, 0 }, { "wxSTC_PL_POD", false, wxSTC_PL_POD, 0 }, { "wxSTC_ERR_DIFF_MESSAGE", false, wxSTC_ERR_DIFF_MESSAGE, 0 }, { "wxSTC_HJ_REGEX", false, wxSTC_HJ_REGEX, 0 }, { "wxSTC_LEX_LISP", false, wxSTC_LEX_LISP, 0 }, { "wxSTC_B_NUMBER", false, wxSTC_B_NUMBER, 0 }, { "wxSTC_P_DEFAULT", false, wxSTC_P_DEFAULT, 0 }, { "wxSTC_CMD_UPPERCASE", false, wxSTC_CMD_UPPERCASE, 0 }, { "wxSTC_HPHP_OPERATOR", false, wxSTC_HPHP_OPERATOR, 0 }, { "wxSTC_HJA_SINGLESTRING", false, wxSTC_HJA_SINGLESTRING, 0 }, { "wxSTC_LUA_NUMBER", false, wxSTC_LUA_NUMBER, 0 }, { "wxSTC_L_COMMENT", false, wxSTC_L_COMMENT, 0 }, { "wxSTC_FOLDLEVELWHITEFLAG", false, wxSTC_FOLDLEVELWHITEFLAG, 0 }, { "wxSTC_CHARSET_CHINESEBIG5", false, wxSTC_CHARSET_CHINESEBIG5, 0 }, { "wxSTC_ERR_BORLAND", false, wxSTC_ERR_BORLAND, 0 }, { "wxSTC_ERR_CMD", false, wxSTC_ERR_CMD, 0 }, { "wxSTC_ERR_DEFAULT", false, wxSTC_ERR_DEFAULT, 0 }, { "wxSTC_HP_START", false, wxSTC_HP_START, 0 }, { "wxSTC_C_COMMENTLINEDOC", false, wxSTC_C_COMMENTLINEDOC, 0 }, { "wxSTC_LUA_WORD5", false, wxSTC_LUA_WORD5, 0 }, { "wxSTC_C_DEFAULT", false, wxSTC_C_DEFAULT, 0 }, { "wxSTC_AVE_STRINGEOL", false, wxSTC_AVE_STRINGEOL, 0 }, { "wxSTC_LUA_WORD4", false, wxSTC_LUA_WORD4, 0 }, { "wxSTC_H_SGML_1ST_PARAM", false, wxSTC_H_SGML_1ST_PARAM, 0 }, { "wxSTC_CMD_HOMEDISPLAY", false, wxSTC_CMD_HOMEDISPLAY, 0 }, { "wxSTC_LUA_WORD2", false, wxSTC_LUA_WORD2, 0 }, { "wxSTC_LUA_IDENTIFIER", false, wxSTC_LUA_IDENTIFIER, 0 }, { "wxSTC_STYLE_LASTPREDEFINED", false, wxSTC_STYLE_LASTPREDEFINED, 0 }, { "wxSTC_HP_CHARACTER", false, wxSTC_HP_CHARACTER, 0 }, { "wxSTC_LEX_MAKEFILE", false, wxSTC_LEX_MAKEFILE, 0 }, { "wxSTC_BAAN_PREPROCESSOR", false, wxSTC_BAAN_PREPROCESSOR, 0 }, { "wxSTC_PRINT_NORMAL", false, wxSTC_PRINT_NORMAL, 0 }, { "wxSTC_H_TAGEND", false, wxSTC_H_TAGEND, 0 }, { "wxSTC_HPHP_DEFAULT", false, wxSTC_HPHP_DEFAULT, 0 }, { "wxSTC_LUA_STRING", false, wxSTC_LUA_STRING, 0 }, { "wxSTC_INDIC0_MASK", false, wxSTC_INDIC0_MASK, 0 }, { "wxSTC_MARK_BACKGROUND", false, wxSTC_MARK_BACKGROUND, 0 }, { "wxSTC_OPTIONAL_START", false, wxSTC_OPTIONAL_START, 0 }, { "wxSTC_MARK_LCORNERCURVE", false, wxSTC_MARK_LCORNERCURVE, 0 }, { "wxSTC_C_COMMENTDOC", false, wxSTC_C_COMMENTDOC, 0 }, { "wxSTC_CACHE_PAGE", false, wxSTC_CACHE_PAGE, 0 }, { "wxSTC_LEX_NULL", false, wxSTC_LEX_NULL, 0 }, { "wxSTC_CMD_WORDRIGHT", false, wxSTC_CMD_WORDRIGHT, 0 }, { "wxSTC_CASE_UPPER", false, wxSTC_CASE_UPPER, 0 }, { "wxSTC_H_SGML_DOUBLESTRING", false, wxSTC_H_SGML_DOUBLESTRING, 0 }, { "wxSTC_KEY_SUBTRACT", false, wxSTC_KEY_SUBTRACT, 0 }, { "wxSTC_H_SCRIPT", false, wxSTC_H_SCRIPT, 0 }, { "wxSTC_HB_NUMBER", false, wxSTC_HB_NUMBER, 0 }, { "wxSTC_HPHP_SIMPLESTRING", false, wxSTC_HPHP_SIMPLESTRING, 0 }, { "wxSTC_LUA_COMMENT", false, wxSTC_LUA_COMMENT, 0 }, { "wxSTC_HPA_CLASSNAME", false, wxSTC_HPA_CLASSNAME, 0 }, { "wxSTC_HPA_TRIPLEDOUBLE", false, wxSTC_HPA_TRIPLEDOUBLE, 0 }, { "wxSTC_CMD_NEWLINE", false, wxSTC_CMD_NEWLINE, 0 }, { "wxSTC_L_MATH", false, wxSTC_L_MATH, 0 }, { "wxSTC_CHARSET_GB2312", false, wxSTC_CHARSET_GB2312, 0 }, { "wxSTC_CMD_COPY", false, wxSTC_CMD_COPY, 0 }, { "wxSTC_L_TAG", false, wxSTC_L_TAG, 0 }, { "wxSTC_CMD_SELECTALL", false, wxSTC_CMD_SELECTALL, 0 }, { "wxSTC_MODEVENTMASKALL", false, wxSTC_MODEVENTMASKALL, 0 }, { "wxSTC_C_IDENTIFIER", false, wxSTC_C_IDENTIFIER, 0 }, { "wxSTC_NNCRONTAB_KEYWORD", false, wxSTC_NNCRONTAB_KEYWORD, 0 }, { "wxSTC_FIND_REGEXP", false, wxSTC_FIND_REGEXP, 0 }, { "wxSTC_CURSORNORMAL", false, wxSTC_CURSORNORMAL, 0 }, { "wxSTC_TIME_FOREVER", false, wxSTC_TIME_FOREVER, 0 }, { "wxSTC_PERFORMED_UNDO", false, wxSTC_PERFORMED_UNDO, 0 }, { "wxSTC_CHARSET_BALTIC", false, wxSTC_CHARSET_BALTIC, 0 }, { "wxSTC_LEX_BAAN", false, wxSTC_LEX_BAAN, 0 }, { "wxSTC_KEY_TAB", false, wxSTC_KEY_TAB, 0 }, { "wxSTC_LEX_EIFFEL", false, wxSTC_LEX_EIFFEL, 0 }, { "wxSTC_KEY_DOWN", false, wxSTC_KEY_DOWN, 0 }, { "wxSTC_CMD_EDITTOGGLEOVERTYPE", false, wxSTC_CMD_EDITTOGGLEOVERTYPE, 0 }, { "wxSTC_PROPS_COMMENT", false, wxSTC_PROPS_COMMENT, 0 }, { "wxSTC_B_DATE", false, wxSTC_B_DATE, 0 }, { "wxSTC_B_IDENTIFIER", false, wxSTC_B_IDENTIFIER, 0 }, { "wxSTC_LEXER_START", false, wxSTC_LEXER_START, 0 }, { "wxSTC_PL_BACKTICKS", false, wxSTC_PL_BACKTICKS, 0 }, { "wxSTC_PL_STRING_QQ", false, wxSTC_PL_STRING_QQ, 0 }, { "wxSTC_EDGE_BACKGROUND", false, wxSTC_EDGE_BACKGROUND, 0 }, { "wxSTC_PL_HERE_QX", false, wxSTC_PL_HERE_QX, 0 }, { "wxSTC_HJ_SINGLESTRING", false, wxSTC_HJ_SINGLESTRING, 0 }, { "wxSTC_PL_HERE_Q", false, wxSTC_PL_HERE_Q, 0 }, { "wxSTC_STYLE_LINENUMBER", false, wxSTC_STYLE_LINENUMBER, 0 }, { "wxSTC_PL_SYMBOLTABLE", false, wxSTC_PL_SYMBOLTABLE, 0 }, { "wxSTC_PL_WORD", false, wxSTC_PL_WORD, 0 }, { "wxSTC_CHARSET_TURKISH", false, wxSTC_CHARSET_TURKISH, 0 }, { "wxSTC_PL_NUMBER", false, wxSTC_PL_NUMBER, 0 }, { "wxSTC_HPHP_COMMENTLINE", false, wxSTC_HPHP_COMMENTLINE, 0 }, { "wxSTC_HPHP_WORD", false, wxSTC_HPHP_WORD, 0 }, { "wxSTC_LEX_XCODE", false, wxSTC_LEX_XCODE, 0 }, { "wxSTC_MAKE_TARGET", false, wxSTC_MAKE_TARGET, 0 }, { "wxSTC_NNCRONTAB_MODIFIER", false, wxSTC_NNCRONTAB_MODIFIER, 0 }, { "wxSTC_MARK_MINUS", false, wxSTC_MARK_MINUS, 0 }, { "wxSTC_HJ_WORD", false, wxSTC_HJ_WORD, 0 }, { "wxSTC_INDIC_STRIKE", false, wxSTC_INDIC_STRIKE, 0 }, { "wxSTC_HB_START", false, wxSTC_HB_START, 0 }, { "wxSTC_LEX_EIFFELKW", false, wxSTC_LEX_EIFFELKW, 0 }, { "wxSTC_LEX_PROPERTIES", false, wxSTC_LEX_PROPERTIES, 0 }, { "wxSTC_INDIC_SQUIGGLE", false, wxSTC_INDIC_SQUIGGLE, 0 }, { "wxSTC_CMD_HOME", false, wxSTC_CMD_HOME, 0 }, { "wxSTC_INDIC_TT", false, wxSTC_INDIC_TT, 0 }, { "wxSTC_LISP_DEFAULT", false, wxSTC_LISP_DEFAULT, 0 }, { "wxSTC_HBA_STRINGEOL", false, wxSTC_HBA_STRINGEOL, 0 }, { "wxSTC_LEX_SQL", false, wxSTC_LEX_SQL, 0 }, { "wxSTC_HJA_COMMENT", false, wxSTC_HJA_COMMENT, 0 }, { "wxSTC_HJA_SYMBOLS", false, wxSTC_HJA_SYMBOLS, 0 }, { "wxSTC_HJA_KEYWORD", false, wxSTC_HJA_KEYWORD, 0 }, { "wxSTC_STYLE_INDENTGUIDE", false, wxSTC_STYLE_INDENTGUIDE, 0 }, { "wxSTC_HJ_NUMBER", false, wxSTC_HJ_NUMBER, 0 }, { "wxSTC_HJ_COMMENTDOC", false, wxSTC_HJ_COMMENTDOC, 0 }, { "wxSTC_HJ_COMMENT", false, wxSTC_HJ_COMMENT, 0 }, { "wxSTC_HBA_STRING", false, wxSTC_HBA_STRING, 0 }, { "wxSTC_HJ_START", false, wxSTC_HJ_START, 0 }, { "wxSTC_P_CLASSNAME", false, wxSTC_P_CLASSNAME, 0 }, { "wxSTC_H_SGML_BLOCK_DEFAULT", false, wxSTC_H_SGML_BLOCK_DEFAULT, 0 }, { "wxSTC_PROPS_ASSIGNMENT", false, wxSTC_PROPS_ASSIGNMENT, 0 }, { "wxSTC_STYLE_BRACEBAD", false, wxSTC_STYLE_BRACEBAD, 0 }, { "wxSTC_KEY_DELETE", false, wxSTC_KEY_DELETE, 0 }, { "wxSTC_KEY_HOME", false, wxSTC_KEY_HOME, 0 }, { "wxSTC_FIND_WHOLEWORD", false, wxSTC_FIND_WHOLEWORD, 0 }, { "wxSTC_CMD_LINECUT", false, wxSTC_CMD_LINECUT, 0 }, { "wxSTC_START", false, wxSTC_START, 0 }, { "wxSTC_CMD_REDO", false, wxSTC_CMD_REDO, 0 }, { "wxSTC_CACHE_NONE", false, wxSTC_CACHE_NONE, 0 }, { "wxSTC_PROPS_DEFVAL", false, wxSTC_PROPS_DEFVAL, 0 }, { "wxSTC_MARK_EMPTY", false, wxSTC_MARK_EMPTY, 0 }, { "wxSTC_P_DEFNAME", false, wxSTC_P_DEFNAME, 0 }, { "wxSTC_KEY_BACK", false, wxSTC_KEY_BACK, 0 }, { "wxSTC_HPA_TRIPLE", false, wxSTC_HPA_TRIPLE, 0 }, { "wxSTC_LEX_ADA", false, wxSTC_LEX_ADA, 0 }, { "wxSTC_CMD_LINEUP", false, wxSTC_CMD_LINEUP, 0 }, { "wxSTC_H_ATTRIBUTE", false, wxSTC_H_ATTRIBUTE, 0 }, { "wxSTC_CHARSET_OEM", false, wxSTC_CHARSET_OEM, 0 }, { "wxSTC_STYLE_BRACELIGHT", false, wxSTC_STYLE_BRACELIGHT, 0 }, { "wxSTC_PRINT_COLOURONWHITE", false, wxSTC_PRINT_COLOURONWHITE, 0 }, { "wxSTC_INDIC_PLAIN", false, wxSTC_INDIC_PLAIN, 0 }, #endif #if (wxCHECK_VERSION(2,5,0)) && (wxLUA_USE_wxStyledTextCtrl) { "wxSTC_SCRIPTOL_KEYWORD", false, wxSTC_SCRIPTOL_KEYWORD, 0 }, { "wxSTC_SCRIPTOL_DEFAULT", false, wxSTC_SCRIPTOL_DEFAULT, 0 }, { "wxSTC_SCRIPTOL_STRINGEOL", false, wxSTC_SCRIPTOL_STRINGEOL, 0 }, { "wxSTC_SCRIPTOL_STRING", false, wxSTC_SCRIPTOL_STRING, 0 }, { "wxSTC_SCRIPTOL_IDENTIFIER", false, wxSTC_SCRIPTOL_IDENTIFIER, 0 }, { "wxSTC_SCRIPTOL_CLASSNAME", false, wxSTC_SCRIPTOL_CLASSNAME, 0 }, { "wxSTC_SCRIPTOL_CHARACTER", false, wxSTC_SCRIPTOL_CHARACTER, 0 }, { "wxSTC_SCRIPTOL_NUMBER", false, wxSTC_SCRIPTOL_NUMBER, 0 }, { "wxSTC_SCRIPTOL_WHITE", false, wxSTC_SCRIPTOL_WHITE, 0 }, { "wxSTC_SCRIPTOL_PREPROCESSOR", false, wxSTC_SCRIPTOL_PREPROCESSOR, 0 }, { "wxSTC_SCRIPTOL_COMMENTBLOCK", false, wxSTC_SCRIPTOL_COMMENTBLOCK, 0 }, { "wxSTC_SCRIPTOL_CSTYLE", false, wxSTC_SCRIPTOL_CSTYLE, 0 }, { "wxSTC_SCRIPTOL_PERSISTENT", false, wxSTC_SCRIPTOL_PERSISTENT, 0 }, { "wxSTC_SCRIPTOL_OPERATOR", false, wxSTC_SCRIPTOL_OPERATOR, 0 }, { "wxSTC_SCRIPTOL_COMMENTLINE", false, wxSTC_SCRIPTOL_COMMENTLINE, 0 }, { "wxSTC_SCRIPTOL_TRIPLE", false, wxSTC_SCRIPTOL_TRIPLE, 0 }, #endif #if (!wxCHECK_VERSION(2,5,0)) && (wxLUA_USE_wxStyledTextCtrl) { "wxSTC_SCRIPTOL_REGEX", false, wxSTC_SCRIPTOL_REGEX, 0 }, { "wxSTC_SCRIPTOL_COMMENTLINEDOC", false, wxSTC_SCRIPTOL_COMMENTLINEDOC, 0 }, { "wxSTC_SCRIPTOL_STRINGEOL", false, wxSTC_SCRIPTOL_STRINGEOL, 0 }, { "wxSTC_SCRIPTOL_UUID", false, wxSTC_SCRIPTOL_UUID, 0 }, { "wxSTC_SCRIPTOL_STRING", false, wxSTC_SCRIPTOL_STRING, 0 }, { "wxSTC_SCRIPTOL_IDENTIFIER", false, wxSTC_SCRIPTOL_IDENTIFIER, 0 }, { "wxSTC_SCRIPTOL_WORD", false, wxSTC_SCRIPTOL_WORD, 0 }, { "wxSTC_SCRIPTOL_CHARACTER", false, wxSTC_SCRIPTOL_CHARACTER, 0 }, { "wxSTC_SCRIPTOL_NUMBER", false, wxSTC_SCRIPTOL_NUMBER, 0 }, { "wxSTC_SCRIPTOL_COMMENTBASIC", false, wxSTC_SCRIPTOL_COMMENTBASIC, 0 }, { "wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", false, wxSTC_SCRIPTOL_COMMENTDOCKEYWORD, 0 }, { "wxSTC_SCRIPTOL_COMMENTDOC", false, wxSTC_SCRIPTOL_COMMENTDOC, 0 }, { "wxSTC_SCRIPTOL_PREPROCESSOR", false, wxSTC_SCRIPTOL_PREPROCESSOR, 0 }, { "wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", false, wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR, 0 }, { "wxSTC_SCRIPTOL_WORD2", false, wxSTC_SCRIPTOL_WORD2, 0 }, { "wxSTC_SCRIPTOL_VERBATIM", false, wxSTC_SCRIPTOL_VERBATIM, 0 }, { "wxSTC_SCRIPTOL_OPERATOR", false, wxSTC_SCRIPTOL_OPERATOR, 0 }, { "wxSTC_SCRIPTOL_COMMENTLINE", false, wxSTC_SCRIPTOL_COMMENTLINE, 0 }, { "wxSTC_SCRIPTOL_COMMENT", false, wxSTC_SCRIPTOL_COMMENT, 0 }, #endif // ---------------------------------------------------------------------------- // %define %string // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // %enum // ---------------------------------------------------------------------------- { 0, 0, 0, 0 }, }; count = (sizeof(defineList)/sizeof(defineList[0])) - 1; return defineList; } --- NEW FILE: stc.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...5892 lines suppressed...] { LuaGetProp, "Control", wxStyledTextEvent_GetControl, 0, 0 }, { LuaMethod, "GetAlt", wxStyledTextEvent_GetAlt, 0, 0 }, { LuaGetProp, "Alt", wxStyledTextEvent_GetAlt, 0, 0 }, { LuaDelete, "wxStyledTextEvent", wxStyledTextEvent_destructor, 0, 0 }, { LuaMethod, "Delete", wxStyledTextEvent_Delete, 0, 0 }, #if (wxLUA_USE_wxStyledTextCtrl) && (wxLUA_USE_wxDragDrop) { LuaMethod, "SetDragResult", wxStyledTextEvent_SetDragResult, 1, 1 }, { LuaMethod, "GetDragResult", wxStyledTextEvent_GetDragResult, 0, 0 }, { LuaGetProp, "DragResult", wxStyledTextEvent_GetDragResult, 0, 0 }, { LuaSetProp, "DragResult", wxStyledTextEvent_SetDragResult, 1, 1 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxStyledTextEvent_methods = s_wxStyledTextEvent_methods; int wxStyledTextEvent_methodCount = sizeof(s_wxStyledTextEvent_methods)/sizeof(s_wxStyledTextEvent_methods[0]); #endif --- NEW FILE: wxstc_builtin.cpp --- // --------------------------------------------------------- // wxLuaGetBuiltinList_wxstc() is called by registerGeneratedClasses() // to register object and pointer bindings // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbindstc/include/wxbind.h" WXLUAMETHOD* wxLuaGetBuiltinList_wxstc(size_t &count) { static WXLUAMETHOD builtinList[] = { }; count = (sizeof(builtinList)/sizeof(builtinList[0])); return builtinList; } --- NEW FILE: wxstc_event.cpp --- // --------------------------------------------------------- // wxLuaGetEventList_wxstc() is called by registerGeneratedClasses() // to register events // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbindstc/include/wxbind.h" WXLUAEVENT* wxLuaGetEventList_wxstc(size_t &count) { static WXLUAEVENT eventList[] = { #if wxLUA_USE_wxStyledTextCtrl { &wxEVT_STC_DWELLEND, "wxEVT_STC_DWELLEND", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_PAINTED, "wxEVT_STC_PAINTED", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_CHARADDED, "wxEVT_STC_CHARADDED", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_UPDATEUI, "wxEVT_STC_UPDATEUI", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_MODIFIED, "wxEVT_STC_MODIFIED", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_DOUBLECLICK, "wxEVT_STC_DOUBLECLICK", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_ZOOM, "wxEVT_STC_ZOOM", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_DO_DROP, "wxEVT_STC_DO_DROP", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_STYLENEEDED, "wxEVT_STC_STYLENEEDED", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_MARGINCLICK, "wxEVT_STC_MARGINCLICK", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_SAVEPOINTREACHED, "wxEVT_STC_SAVEPOINTREACHED", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_DRAG_OVER, "wxEVT_STC_DRAG_OVER", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_MACRORECORD, "wxEVT_STC_MACRORECORD", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_START_DRAG, "wxEVT_STC_START_DRAG", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_DWELLSTART, "wxEVT_STC_DWELLSTART", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_URIDROPPED, "wxEVT_STC_URIDROPPED", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_NEEDSHOWN, "wxEVT_STC_NEEDSHOWN", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_ROMODIFYATTEMPT, "wxEVT_STC_ROMODIFYATTEMPT", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_USERLISTSELECTION, "wxEVT_STC_USERLISTSELECTION", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_CHANGE, "wxEVT_STC_CHANGE", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_KEY, "wxEVT_STC_KEY", &s_wxluatag_wxStyledTextEvent }, { &wxEVT_STC_SAVEPOINTLEFT, "wxEVT_STC_SAVEPOINTLEFT", &s_wxluatag_wxStyledTextEvent }, #endif #if (!wxCHECK_VERSION(2,5,0)) && (wxLUA_USE_wxStyledTextCtrl) { &wxEVT_STC_POSCHANGED, "wxEVT_STC_POSCHANGED", &s_wxluatag_wxStyledTextEvent }, #endif { 0, 0, 0 }, }; count = (sizeof(eventList)/sizeof(eventList[0])) - 1; return eventList; } --- NEW FILE: wxstc_object.cpp --- // --------------------------------------------------------- // wxLuaGetObjectList_wxstc() is called by registerGeneratedClasses() // to register object and pointer bindings // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbindstc/include/wxbind.h" WXLUAOBJECT* wxLuaGetObjectList_wxstc(size_t &count) { static WXLUAOBJECT objectList[] = { { 0, 0, 0, 0 }, }; count = (sizeof(objectList)/sizeof(objectList[0])) - 1; return objectList; } --- NEW FILE: wxstc_class.cpp --- // --------------------------------------------------------- // wxLuaGetClassList_wxstc() is called by registerGeneratedClasses() // to register classes // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbindstc/include/wxbind.h" // binding class extern WXLUACLASS *wxLuaGetClassList_wxstc(size_t &count); extern WXLUADEFINE *wxLuaGetDefineList_wxstc(size_t &count); extern WXLUAEVENT *wxLuaGetEventList_wxstc(size_t &count); extern WXLUAOBJECT *wxLuaGetObjectList_wxstc(size_t &count); extern WXLUAMETHOD *wxLuaGetBuiltinList_wxstc(size_t &count); IMPLEMENT_DYNAMIC_CLASS(wxstc_Binding, wxLuaBinding) wxstc_Binding::wxstc_Binding() : wxLuaBinding() { nameSpace = wxT("wx"); pfGetClassList = wxLuaGetClassList_wxstc; pfGetDefineList = wxLuaGetDefineList_wxstc; pfGetEventList = wxLuaGetEventList_wxstc; pfGetObjectList = wxLuaGetObjectList_wxstc; pfGetBuiltinList = wxLuaGetBuiltinList_wxstc; } void wxstc_Binding::OnRegister(const wxLuaState& wxlState, bool registerTypes, int luaTable) { } // bind wxstc functions to lua interpreter bool bind_wxstc(lua_State* L) { wxLuaState wxlState(L); wxCHECK_MSG(wxlState.Ok(), false, wxT("Invalid wxLuaState")); wxASSERT(!wxlState.GetLuaStateRefData()->m_typesRegistered); wxASSERT(!wxlState.GetLuaBinding(wxT("wxstc"))); // ignore binding request when we already have wxstc registered if (wxlState.GetLuaBinding(wxT("wxstc"))) return false; wxlState.GetLuaStateRefData()->m_bindings.Append(new wxstc_Binding()); return true; } WXLUACLASS* wxLuaGetClassList_wxstc(size_t &count) { static WXLUACLASS classList[] = { #if wxLUA_USE_wxStyledTextCtrl { "wxStyledTextEvent", wxStyledTextEvent_methods, wxStyledTextEvent_methodCount, -1, CLASSINFO(wxStyledTextEvent), &s_wxluatag_wxStyledTextEvent, "wxCommandEvent" }, { "wxStyledTextCtrl", wxStyledTextCtrl_methods, wxStyledTextCtrl_methodCount, -1, CLASSINFO(wxStyledTextCtrl), &s_wxluatag_wxStyledTextCtrl, "wxControl" }, #endif { 0, 0, 0, 0, 0, 0, 0 }, }; count = (sizeof(classList)/sizeof(classList[0])) - 1; return classList; } class wxstc_BindingInit : public wxModule { public: wxstc_BindingInit() {} bool OnInit() { wxLuaBinding::GetBindingList()->Append(&m_binding); return true; } void OnExit() {} wxstc_Binding m_binding; DECLARE_DYNAMIC_CLASS(wxstc_BindingInit); }; IMPLEMENT_DYNAMIC_CLASS(wxstc_BindingInit, wxModule); |
From: John L. <jr...@us...> - 2006-02-02 16:11:40
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8172/wxbindstc/include Added Files: wxbind.h Log Message: added bindings for wxSTC module --- NEW FILE: wxbind.h --- // --------------------------------------------------------- // wxstc.h // headers and tag for wxLua binding // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #ifndef __HOOK_WXLUA_wxstc_H__ #define __HOOK_WXLUA_wxstc_H__ #include "wxlua/include/internal.h" #include "wx/defs.h" #include "wxbind/include/wxbind.h" #ifndef wxUSE_WAVE #define wxUSE_WAVE 0 #endif #ifndef wxUSE_SOUND #define wxUSE_SOUND 0 #endif // binding class class wxstc_Binding : public wxLuaBinding { public: wxstc_Binding(); virtual wxLuaBinding* Clone() const { return new wxstc_Binding; } protected: virtual void OnRegister(const wxLuaState& wxlState, bool registerTypes, int luaTable); DECLARE_DYNAMIC_CLASS(wxstc_Binding) }; // binds wxstc to wxLua bool bind_wxstc(lua_State* L); #if wxLUA_USE_wxStyledTextCtrl #include "wx/stc/stc.h" #endif // Lua Tag Method Values for each Class #if wxLUA_USE_wxStyledTextCtrl extern int s_wxluatag_wxStyledTextEvent; extern int s_wxluatag_wxStyledTextCtrl; #endif // Method Table #if wxLUA_USE_wxStyledTextCtrl extern WXLUAMETHOD* wxStyledTextEvent_methods; extern int wxStyledTextEvent_methodCount; extern WXLUAMETHOD* wxStyledTextCtrl_methods; extern int wxStyledTextCtrl_methodCount; #endif #endif // __HOOK_WXLUA_wxstc_H__ |
From: John L. <jr...@us...> - 2006-02-02 16:08:24
|
Update of /cvsroot/wxlua/wxLua/apps/wxlua/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6440/wxLua/apps/wxlua/src Modified Files: Makefile Log Message: added wxWidgets bindings and finishing separating wxSTC module Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile 2 Feb 2006 15:49:24 -0000 1.11 --- Makefile 2 Feb 2006 16:07:44 -0000 1.12 *************** *** 74,78 **** wxstc_bindings: ! @(cd $(WXLUA_DIR)/bindings/wxwidgets && make) editor: --- 74,78 ---- wxstc_bindings: ! @(cd $(WXLUA_DIR)/bindings/wxstc && make) editor: *************** *** 83,87 **** wxSTCBindings: ! @(cd $(WXLUA_DIR)/modules/wxstc/src && make) wxLuaLib: --- 83,87 ---- wxSTCBindings: ! @(cd $(WXLUA_DIR)/modules/wxbindstc/src && make) wxLuaLib: |
From: John L. <jr...@us...> - 2006-02-02 16:08:24
|
Update of /cvsroot/wxlua/wxLua/bindings/wxstc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6440/wxLua/bindings/wxstc Modified Files: wxstc_rules.lua Log Message: added wxWidgets bindings and finishing separating wxSTC module Index: wxstc_rules.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxstc/wxstc_rules.lua,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** wxstc_rules.lua 2 Feb 2006 15:49:24 -0000 1.1 --- wxstc_rules.lua 2 Feb 2006 16:07:45 -0000 1.2 *************** *** 34,38 **** -- bindings in it. This will be used as #include "hook_header_file" in the C++ -- wrapper files, so it must include the proper #include path. ! hook_header_file = "wxstc/include/wxbind.h" ------------------------------------------------------------------------------- --- 34,38 ---- -- bindings in it. This will be used as #include "hook_header_file" in the C++ -- wrapper files, so it must include the proper #include path. ! hook_header_file = "wxbindstc/include/wxbind.h" ------------------------------------------------------------------------------- |
From: John L. <jr...@us...> - 2006-02-02 16:07:57
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6440/wxLua/modules/wxbindstc/src Modified Files: Makefile Added Files: wxluasetup.h Log Message: added wxWidgets bindings and finishing separating wxSTC module Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2 Feb 2006 16:00:47 -0000 1.1 --- Makefile 2 Feb 2006 16:07:48 -0000 1.2 *************** *** 57,66 **** SOURCES = \ ! ../../../modules/wxstc/src/stc.cpp \ ! ../../../modules/wxstc/src/wxstc_builtin.cpp \ ! ../../../modules/wxstc/src/wxstc_class.cpp \ ! ../../../modules/wxstc/src/wxstc_define.cpp \ ! ../../../modules/wxstc/src/wxstc_event.cpp \ ! ../../../modules/wxstc/src/wxstc_object.cpp OBJECTS=$(SOURCES:.cpp=.o) --- 57,66 ---- SOURCES = \ ! ../../../modules/wxbindstc/src/stc.cpp \ ! ../../../modules/wxbindstc/src/wxstc_builtin.cpp \ ! ../../../modules/wxbindstc/src/wxstc_class.cpp \ ! ../../../modules/wxbindstc/src/wxstc_define.cpp \ ! ../../../modules/wxbindstc/src/wxstc_event.cpp \ ! ../../../modules/wxbindstc/src/wxstc_object.cpp OBJECTS=$(SOURCES:.cpp=.o) --- NEW FILE: wxluasetup.h --- // Automatically generated by utils/get_luasetup edit as necessary. #ifndef __WXLUA_SETUP__ #define __WXLUA_SETUP__ #define wxLUA_USE_FL 0 #define wxLUA_USE_Geometry 1 #define wxLUA_USE_MDI 1 #define wxLUA_USE_wxAcceleratorTable 1 #define wxLUA_USE_wxApp 1 #define wxLUA_USE_wxArrayInt 1 #define wxLUA_USE_wxArrayString 1 #define wxLUA_USE_wxBitmap 1 #define wxLUA_USE_wxBitmapButton 1 #define wxLUA_USE_wxBrushList 1 #define wxLUA_USE_wxButton 1 #define wxLUA_USE_wxCalendarCtrl 1 #define wxLUA_USE_wxCaret 1 #define wxLUA_USE_wxCheckBox 1 #define wxLUA_USE_wxCheckListBox 1 #define wxLUA_USE_wxChoice 1 #define wxLUA_USE_wxClassInfo 1 #define wxLUA_USE_wxClipboard 1 #define wxLUA_USE_wxColourDialog 1 #define wxLUA_USE_wxColourPenBrush 1 #define wxLUA_USE_wxComboBox 1 #define wxLUA_USE_wxCommandProcessor 1 #define wxLUA_USE_wxConfig 1 #define wxLUA_USE_wxCursor 1 #define wxLUA_USE_wxDataObject 1 #define wxLUA_USE_wxDateSpan 1 #define wxLUA_USE_wxDateTime 1 #define wxLUA_USE_wxDC 1 #define wxLUA_USE_wxDialog 1 #define wxLUA_USE_wxDir 1 #define wxLUA_USE_wxDirDialog 1 #define wxLUA_USE_wxDragDrop 1 #define wxLUA_USE_wxFile 1 #define wxLUA_USE_wxFileDialog 1 #define wxLUA_USE_wxFileHistory 1 #define wxLUA_USE_wxFileName 1 #define wxLUA_USE_wxFindReplaceDialog 1 #define wxLUA_USE_wxFont 1 #define wxLUA_USE_wxFontDialog 1 #define wxLUA_USE_wxFontEnumerator 1 #define wxLUA_USE_wxFontList 1 #define wxLUA_USE_wxFontMapper 1 #define wxLUA_USE_wxFrame 1 #define wxLUA_USE_wxGauge 1 #define wxLUA_USE_wxGenericValidator 1 #define wxLUA_USE_wxGrid 1 #define wxLUA_USE_wxHashTable 1 #define wxLUA_USE_wxHelpController 1 #define wxLUA_USE_wxHTML 1 #define wxLUA_USE_wxHtmlHelpController 1 #define wxLUA_USE_wxIcon 1 #define wxLUA_USE_wxID_XXX 1 #define wxLUA_USE_wxImage 1 #define wxLUA_USE_wxImageList 1 #define wxLUA_USE_wxLayoutConstraints 1 #define wxLUA_USE_wxList 1 #define wxLUA_USE_wxListBox 1 #define wxLUA_USE_wxListCtrl 1 #define wxLUA_USE_wxLuaDebugServer 1 #define wxLUA_USE_wxLuaHtmlWindow 1 #define wxLUA_USE_wxLuaPrintout 1 #define wxLUA_USE_wxMask 1 #define wxLUA_USE_wxMenu 1 #define wxLUA_USE_wxMessageDialog 1 #define wxLUA_USE_wxMetafile 1 #define wxLUA_USE_wxMiniFrame 1 #define wxLUA_USE_wxNotebook 1 #define wxLUA_USE_wxObject 1 #define wxLUA_USE_wxPalette 1 #define wxLUA_USE_wxPenList 1 #define wxLUA_USE_wxPointSizeRect 1 #define wxLUA_USE_wxPrint 1 #define wxLUA_USE_wxProgressDialog 1 #define wxLUA_USE_wxRadioBox 1 #define wxLUA_USE_wxRadioButton 1 #define wxLUA_USE_wxRegEx 1 #define wxLUA_USE_wxRegion 1 #define wxLUA_USE_wxSashWindow 1 #define wxLUA_USE_wxScrollBar 1 #define wxLUA_USE_wxScrolledWindow 1 #define wxLUA_USE_wxSingleChoiceDialog 1 #define wxLUA_USE_wxSizer 1 #define wxLUA_USE_wxSlider 1 #define wxLUA_USE_wxSocket 1 #define wxLUA_USE_wxSpinButton 1 #define wxLUA_USE_wxSpinCtrl 1 #define wxLUA_USE_wxSplitterWindow 1 #define wxLUA_USE_wxStaticBitmap 1 #define wxLUA_USE_wxStaticBox 1 #define wxLUA_USE_wxStaticLine 1 #define wxLUA_USE_wxStaticText 1 #define wxLUA_USE_wxStatusBar 1 #define wxLUA_USE_wxStringList 1 #define wxLUA_USE_wxStyledTextCtrl 1 #define wxLUA_USE_wxSystemSettings 1 #define wxLUA_USE_wxTabCtrl 1 #define wxLUA_USE_wxTaskBarIcon 1 #define wxLUA_USE_wxTextCtrl 1 #define wxLUA_USE_wxTextEntryDialog 1 #define wxLUA_USE_wxTextValidator 1 #define wxLUA_USE_wxTimer 1 #define wxLUA_USE_wxTimeSpan 1 #define wxLUA_USE_wxToolbar 1 #define wxLUA_USE_wxTooltip 1 #define wxLUA_USE_wxTreeCtrl 1 #define wxLUA_USE_wxValidator 1 #define wxLUA_USE_wxWave 1 #define wxLUA_USE_wxWindowList 1 #define wxLUA_USE_wxWizard 1 #define wxLUA_USE_wxXMLResource 1 #endif // __WXLUA_SETUP__ |
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6440/wxLua/modules/wxbind/src Added Files: appframe.cpp clipdrag.cpp config.cpp controls.cpp data.cpp defsutil.cpp dialogs.cpp event.cpp file.cpp fl.cpp gdi.cpp geometry.cpp grid.cpp help.cpp html.cpp image.cpp mdi.cpp menutool.cpp plot.cpp print.cpp regex.cpp sizer.cpp socket.cpp thread.cpp wave.cpp windows.cpp wx_builtin.cpp wx_class.cpp wx_define.cpp wx_event.cpp wx_object.cpp wxlua.cpp xml.cpp Log Message: added wxWidgets bindings and finishing separating wxSTC module --- NEW FILE: xml.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...1577 lines suppressed...] { LuaMethod, "LoadPanelCreate", wxXmlResource_LoadPanelCreate, 3, 3 }, { LuaMethod, "Set", wxXmlResource_Set, 1, 1 }, { LuaMethod, "GetFlags", wxXmlResource_GetFlags, 0, 0 }, { LuaMethod, "SetFlags", wxXmlResource_SetFlags, 1, 1 }, { LuaGetProp, "Flags", wxXmlResource_GetFlags, 0, 0 }, { LuaDelete, "wxXmlResource", wxXmlResource_destructor, 0, 0 }, { LuaMethod, "Delete", wxXmlResource_Delete, 0, 0 }, #if (wxLUA_USE_wxFrame) && (wxLUA_USE_wxXMLResource) { LuaMethod, "LoadFrame", wxXmlResource_LoadFrame, 3, 3 }, { LuaMethod, "CreateFrame", wxXmlResource_CreateFrame, 2, 2 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxXmlResource_methods = s_wxXmlResource_methods; int wxXmlResource_methodCount = sizeof(s_wxXmlResource_methods)/sizeof(s_wxXmlResource_methods[0]); #endif --- NEW FILE: dialogs.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...2379 lines suppressed...] static int LUACALL wxProgressDialog_destructor(lua_State *) { return 0; } // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxProgressDialog_methods[] = { { LuaConstructor, "wxProgressDialog", wxProgressDialog_constructor, 5, 2 }, { LuaMethod, "Update", wxProgressDialog_Update, 2, 0 }, { LuaMethod, "Resume", wxProgressDialog_Resume, 0, 0 }, { LuaDelete, "wxProgressDialog", wxProgressDialog_destructor, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxProgressDialog_methods = s_wxProgressDialog_methods; int wxProgressDialog_methodCount = sizeof(s_wxProgressDialog_methods)/sizeof(s_wxProgressDialog_methods[0]); #endif --- NEW FILE: wxlua.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...961 lines suppressed...] return 0; } // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxLuaTreeItemData_methods[] = { { LuaConstructor, "wxLuaTreeItemData", wxLuaTreeItemData_constructor, 1, 0 }, { LuaMethod, "GetValue", wxLuaTreeItemData_GetValue, 0, 0 }, { LuaMethod, "SetValue", wxLuaTreeItemData_SetValue, 1, 1 }, { LuaGetProp, "Value", wxLuaTreeItemData_GetValue, 0, 0 }, { LuaSetProp, "Value", wxLuaTreeItemData_SetValue, 1, 1 }, { LuaDelete, "wxLuaTreeItemData", wxLuaTreeItemData_destructor, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxLuaTreeItemData_methods = s_wxLuaTreeItemData_methods; int wxLuaTreeItemData_methodCount = sizeof(s_wxLuaTreeItemData_methods)/sizeof(s_wxLuaTreeItemData_methods[0]); #endif --- NEW FILE: image.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...1418 lines suppressed...] } static int LUACALL wxICOHandler_destructor(lua_State *) { return 0; } // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxICOHandler_methods[] = { { LuaConstructor, "wxICOHandler", wxICOHandler_constructor, 0, 0 }, { LuaDelete, "wxICOHandler", wxICOHandler_destructor, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxICOHandler_methods = s_wxICOHandler_methods; int wxICOHandler_methodCount = sizeof(s_wxICOHandler_methods)/sizeof(s_wxICOHandler_methods[0]); #endif --- NEW FILE: mdi.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...3223 lines suppressed...] #if (wxLUA_USE_wxFileHistory) && (wxLUA_USE_wxConfig) { LuaMethod, "Load", wxFileHistory_Load, 1, 1 }, { LuaMethod, "Save", wxFileHistory_Save, 1, 1 }, #endif #if (wxLUA_USE_wxFileHistory) && (wxLUA_USE_wxMenu) { LuaMethod, "AddFilesToGivenMenu", wxFileHistory_AddFilesToGivenMenu, 1, 1 }, { LuaMethod, "RemoveMenu", wxFileHistory_RemoveMenu, 1, 1 }, { LuaMethod, "UseMenu", wxFileHistory_UseMenu, 1, 1 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxFileHistory_methods = s_wxFileHistory_methods; int wxFileHistory_methodCount = sizeof(s_wxFileHistory_methods)/sizeof(s_wxFileHistory_methods[0]); #endif --- NEW FILE: config.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbind/include/wxbind.h" #if wxLUA_USE_wxConfig // ------------------------------------------------------------------------------------------------- // Bind class wxConfigBase // ------------------------------------------------------------------------------------------------- // Lua MetaTable Tag for Class int s_wxluatag_wxConfigBase = -1; // %override wxConfigGet_constructor // %constructor wxConfigGet(bool CreateOnDemand = TRUE) static int LUACALL wxConfigGet_constructor(lua_State *L) { wxLuaState wxlState(L); wxConfigBase *returns; // get number of arguments int argCount = lua_gettop(L); // bool CreateOnDemand = TRUE bool CreateOnDemand = (argCount >= 1 ? wxlState.getbooleantype(1) : TRUE); // call constructor returns = wxConfigBase::Get(CreateOnDemand); // push the constructed class pointer wxlState.pushuserdatatype(s_wxluatag_wxConfig, returns); // return the number of parameters return 1; } // %override wxConfigCreate_constructor // %constructor wxConfigCreate() static int LUACALL wxConfigCreate_constructor(lua_State *L) { wxLuaState wxlState(L); wxConfigBase *returns; // call constructor returns = wxConfigBase::Create(); // push the constructed class pointer wxlState.pushuserdatatype(s_wxluatag_wxConfig, returns); // return the number of parameters return 1; } // static wxConfigBase * Set(wxConfigBase *pConfig = NULL) static int LUACALL wxConfigBase_Set(lua_State *L) { wxLuaState wxlState(L); wxConfigBase *returns; // get number of arguments int argCount = lua_gettop(L); // wxConfigBase pConfig = NULL wxConfigBase * pConfig = (argCount >= 2 ? (wxConfigBase *)wxlState.getuserdatatype(2, s_wxluatag_wxConfigBase) : NULL); // call Set returns = wxConfigBase::Set(pConfig); // push the result datatype wxlState.pushuserdatatype(s_wxluatag_wxConfigBase, returns); return 1; } // static void DontCreateOnDemand() static int LUACALL wxConfigBase_DontCreateOnDemand(lua_State *L) { wxLuaState wxlState(L); // call DontCreateOnDemand wxConfigBase::DontCreateOnDemand(); return 0; } // %override wxConfigBase_Destroy // void Destroy() static int LUACALL wxConfigBase_Destroy(lua_State *L) { wxLuaState wxlState(L); // get this wxConfigBase *self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Destroy delete self; // return the number of parameters return 0; } // bool DeleteAll() static int LUACALL wxConfigBase_DeleteAll(lua_State *L) { wxLuaState wxlState(L); bool returns; // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call DeleteAll returns = self->DeleteAll(); // push the result flag lua_pushboolean(L, returns); return 1; } // bool DeleteEntry(const wxString& key, bool bDeleteGroupIfEmpty = TRUE) static int LUACALL wxConfigBase_DeleteEntry(lua_State *L) { wxLuaState wxlState(L); bool returns; // get number of arguments int argCount = lua_gettop(L); // bool bDeleteGroupIfEmpty = TRUE bool bDeleteGroupIfEmpty = (argCount >= 3 ? wxlState.getbooleantype(3) : TRUE); // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call DeleteEntry returns = self->DeleteEntry(key, bDeleteGroupIfEmpty); // push the result flag lua_pushboolean(L, returns); return 1; } // bool DeleteGroup(const wxString& key) static int LUACALL wxConfigBase_DeleteGroup(lua_State *L) { wxLuaState wxlState(L); bool returns; // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call DeleteGroup returns = self->DeleteGroup(key); // push the result flag lua_pushboolean(L, returns); return 1; } // bool Exists(wxString& strName) const static int LUACALL wxConfigBase_Exists(lua_State *L) { wxLuaState wxlState(L); bool returns; // wxString strName wxString strName = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Exists returns = self->Exists(strName); // push the result flag lua_pushboolean(L, returns); return 1; } // bool Flush(bool bCurrentOnly = FALSE) static int LUACALL wxConfigBase_Flush(lua_State *L) { wxLuaState wxlState(L); bool returns; // get number of arguments int argCount = lua_gettop(L); // bool bCurrentOnly = FALSE bool bCurrentOnly = (argCount >= 2 ? wxlState.getbooleantype(2) : FALSE); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Flush returns = self->Flush(bCurrentOnly); // push the result flag lua_pushboolean(L, returns); return 1; } // wxString GetAppName() const static int LUACALL wxConfigBase_GetAppName(lua_State *L) { wxLuaState wxlState(L); wxString returns; // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetAppName returns = self->GetAppName(); // push the result string lua_pushstring(L, wx2lua(returns) ); return 1; } // wxConfigBase::EntryType GetEntryType(const wxString& name) const static int LUACALL wxConfigBase_GetEntryType(lua_State *L) { wxLuaState wxlState(L); wxConfigBase::EntryType returns; // const wxString name const wxString name = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetEntryType returns = self->GetEntryType(name); // push the result number lua_pushnumber(L, returns); return 1; } // %override wxConfigBase_GetFirstGroup // bool GetFirstGroup(wxString& str, long& index) const static int LUACALL wxConfigBase_GetFirstGroup(lua_State *L) { wxLuaState wxlState(L); bool returns; // long& index long index = (long)wxlState.getnumbertype(3); // wxString& str wxString str = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase *self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetFirstGroup returns = self->GetFirstGroup(str, index); // push the result flag lua_pushnumber(L, index); lua_pushboolean(L, returns); // return the number of parameters return 2; } // %override wxConfigBase_GetFirstEntry // bool GetFirstEntry(wxString& str, long& index) const static int LUACALL wxConfigBase_GetFirstEntry(lua_State *L) { wxLuaState wxlState(L); bool returns; // long& index long index = (long)wxlState.getnumbertype(3); // wxString& str wxString str = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase *self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetFirstEntry returns = self->GetFirstEntry(str, index); // push the result flag lua_pushnumber(L, index); lua_pushboolean(L, returns); // return the number of parameters return 2; } // %override wxConfigBase_GetNextGroup // bool GetNextGroup(wxString& str, long& index) const static int LUACALL wxConfigBase_GetNextGroup(lua_State *L) { wxLuaState wxlState(L); bool returns; // long& index long index = (long)wxlState.getnumbertype(3); // wxString& str wxString str = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase *self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetNextGroup returns = self->GetNextGroup(str, index); // push the result flag lua_pushnumber(L, index); lua_pushboolean(L, returns); // return the number of parameters return 2; } // %override wxConfigBase_GetNextEntry // bool GetNextEntry(wxString& str, long& index) const static int LUACALL wxConfigBase_GetNextEntry(lua_State *L) { wxLuaState wxlState(L); bool returns; // long& index long index = (long)wxlState.getnumbertype(3); // wxString& str wxString str = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase *self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetNextEntry returns = self->GetNextEntry(str, index); // push the result flag lua_pushnumber(L, index); lua_pushboolean(L, returns); // return the number of parameters return 2; } // unsigned int GetNumberOfEntries(bool bRecursive = FALSE) const static int LUACALL wxConfigBase_GetNumberOfEntries(lua_State *L) { wxLuaState wxlState(L); unsigned int returns; // get number of arguments int argCount = lua_gettop(L); // bool bRecursive = FALSE bool bRecursive = (argCount >= 2 ? wxlState.getbooleantype(2) : FALSE); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetNumberOfEntries returns = self->GetNumberOfEntries(bRecursive); // push the result number lua_pushnumber(L, returns); return 1; } // unsigned int GetNumberOfGroups(bool bRecursive = FALSE) const static int LUACALL wxConfigBase_GetNumberOfGroups(lua_State *L) { wxLuaState wxlState(L); unsigned int returns; // get number of arguments int argCount = lua_gettop(L); // bool bRecursive = FALSE bool bRecursive = (argCount >= 2 ? wxlState.getbooleantype(2) : FALSE); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetNumberOfGroups returns = self->GetNumberOfGroups(bRecursive); // push the result number lua_pushnumber(L, returns); return 1; } // const wxString& GetPath() const static int LUACALL wxConfigBase_GetPath(lua_State *L) { wxLuaState wxlState(L); wxString returns; // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetPath returns = self->GetPath(); // push the result string lua_pushstring(L, wx2lua(returns) ); return 1; } // wxString GetVendorName() const static int LUACALL wxConfigBase_GetVendorName(lua_State *L) { wxLuaState wxlState(L); wxString returns; // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call GetVendorName returns = self->GetVendorName(); // push the result string lua_pushstring(L, wx2lua(returns) ); return 1; } // bool HasEntry(wxString& strName) const static int LUACALL wxConfigBase_HasEntry(lua_State *L) { wxLuaState wxlState(L); bool returns; // wxString strName wxString strName = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call HasEntry returns = self->HasEntry(strName); // push the result flag lua_pushboolean(L, returns); return 1; } // bool HasGroup(const wxString& strName) const static int LUACALL wxConfigBase_HasGroup(lua_State *L) { wxLuaState wxlState(L); bool returns; // const wxString strName const wxString strName = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call HasGroup returns = self->HasGroup(strName); // push the result flag lua_pushboolean(L, returns); return 1; } // bool IsExpandingEnvVars() const static int LUACALL wxConfigBase_IsExpandingEnvVars(lua_State *L) { wxLuaState wxlState(L); bool returns; // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call IsExpandingEnvVars returns = self->IsExpandingEnvVars(); // push the result flag lua_pushboolean(L, returns); return 1; } // bool IsRecordingDefaults() const static int LUACALL wxConfigBase_IsRecordingDefaults(lua_State *L) { wxLuaState wxlState(L); bool returns; // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call IsRecordingDefaults returns = self->IsRecordingDefaults(); // push the result flag lua_pushboolean(L, returns); return 1; } // wxString Read(const wxString& key, const wxString& defaultVal = "") const static int LUACALL wxConfigBase_Read(lua_State *L) { wxLuaState wxlState(L); wxString returns; // get number of arguments int argCount = lua_gettop(L); // const wxString defaultVal = "" const wxString defaultVal = (argCount >= 3 ? lua2wx(wxlState.getstringtype(3)) : wxString(wxEmptyString)); // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Read returns = self->Read(key, defaultVal); // push the result string lua_pushstring(L, wx2lua(returns) ); return 1; } // %rename ReadInt long Read(const wxString& key, long defaultVal = 0) const static int LUACALL wxConfigBase_ReadInt(lua_State *L) { wxLuaState wxlState(L); long returns; // get number of arguments int argCount = lua_gettop(L); // long defaultVal = 0 long defaultVal = (argCount >= 3 ? (long)wxlState.getnumbertype(3) : 0); // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Read returns = self->Read(key, defaultVal); // push the result number lua_pushnumber(L, returns); return 1; } // %override wxConfigBase_ReadFloat // %rename ReadFloat double Read(const wxString& key, double defaultVal = 0) const static int LUACALL wxConfigBase_ReadFloat(lua_State *L) { wxLuaState wxlState(L); double returns; // get number of arguments int argCount = lua_gettop(L); // double defaultVal = 0 long defaultVal = (argCount >= 3 ? (long)wxlState.getnumbertype(3) : 0); // const wxString& key wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase *self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Read returns = self->Read(key, defaultVal); // push the result number lua_pushnumber(L, returns); // return the number of parameters return 1; } // bool RenameEntry(const wxString& oldName, const wxString& newName) static int LUACALL wxConfigBase_RenameEntry(lua_State *L) { wxLuaState wxlState(L); bool returns; // const wxString newName const wxString newName = lua2wx(wxlState.getstringtype(3)); // const wxString oldName const wxString oldName = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call RenameEntry returns = self->RenameEntry(oldName, newName); // push the result flag lua_pushboolean(L, returns); return 1; } // bool RenameGroup(const wxString& oldName, const wxString& newName) static int LUACALL wxConfigBase_RenameGroup(lua_State *L) { wxLuaState wxlState(L); bool returns; // const wxString newName const wxString newName = lua2wx(wxlState.getstringtype(3)); // const wxString oldName const wxString oldName = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call RenameGroup returns = self->RenameGroup(oldName, newName); // push the result flag lua_pushboolean(L, returns); return 1; } // void SetExpandEnvVars (bool bDoIt = TRUE) static int LUACALL wxConfigBase_SetExpandEnvVars(lua_State *L) { wxLuaState wxlState(L); // get number of arguments int argCount = lua_gettop(L); // bool bDoIt = TRUE bool bDoIt = (argCount >= 2 ? wxlState.getbooleantype(2) : TRUE); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call SetExpandEnvVars self->SetExpandEnvVars(bDoIt); return 0; } // void SetPath(const wxString& strPath) static int LUACALL wxConfigBase_SetPath(lua_State *L) { wxLuaState wxlState(L); // const wxString strPath const wxString strPath = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call SetPath self->SetPath(strPath); return 0; } // void SetRecordDefaults(bool bDoIt = TRUE) static int LUACALL wxConfigBase_SetRecordDefaults(lua_State *L) { wxLuaState wxlState(L); // get number of arguments int argCount = lua_gettop(L); // bool bDoIt = TRUE bool bDoIt = (argCount >= 2 ? wxlState.getbooleantype(2) : TRUE); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call SetRecordDefaults self->SetRecordDefaults(bDoIt); return 0; } // bool Write(const wxString& key, wxString &value) static int LUACALL wxConfigBase_Write(lua_State *L) { wxLuaState wxlState(L); bool returns; // wxString value wxString value = lua2wx(wxlState.getstringtype(3)); // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Write returns = self->Write(key, value); // push the result flag lua_pushboolean(L, returns); return 1; } // %rename WriteInt bool Write(const wxString &key, long value) static int LUACALL wxConfigBase_WriteInt(lua_State *L) { wxLuaState wxlState(L); bool returns; // long value long value = (long)wxlState.getnumbertype(3); // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Write returns = self->Write(key, value); // push the result flag lua_pushboolean(L, returns); return 1; } // %rename WriteFloat bool Write(const wxString &key, double value) static int LUACALL wxConfigBase_WriteFloat(lua_State *L) { wxLuaState wxlState(L); bool returns; // double value double value = (double)wxlState.getnumbertype(3); // const wxString key const wxString key = lua2wx(wxlState.getstringtype(2)); // get this wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // call Write returns = self->Write(key, value); // push the result flag lua_pushboolean(L, returns); return 1; } static int LUACALL wxConfigBase_destructor(lua_State *L) { wxLuaState wxlState(L); wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // remove from tracked memory list if (self != 0) wxlState.removeTrackedMemory(self); return 0; } static int LUACALL wxConfigBase_Delete(lua_State *L) { wxLuaState wxlState(L); wxConfigBase * self = (wxConfigBase *)wxlState.getuserdatatype(1, s_wxluatag_wxConfigBase); // remove from tracked memory list if (self != 0) if (wxlState.removeTrackedMemory(self)) { // if removed, reset the tag so that gc() is not called on this object. lua_pushnil(L); lua_setmetatable(L, -2); } return 0; } #if (defined(__WXMSW__)) && (wxLUA_USE_wxConfig) #endif // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxConfigBase_methods[] = { { LuaConstructor, "wxConfigGet", wxConfigGet_constructor, 1, 0 }, { LuaConstructor, "wxConfigCreate", wxConfigCreate_constructor, 0, 0 }, { LuaMethod, "Set", wxConfigBase_Set, 1, 0 }, { LuaMethod, "DontCreateOnDemand", wxConfigBase_DontCreateOnDemand, 0, 0 }, { LuaMethod, "Destroy", wxConfigBase_Destroy, 0, 0 }, { LuaMethod, "DeleteAll", wxConfigBase_DeleteAll, 0, 0 }, { LuaMethod, "DeleteEntry", wxConfigBase_DeleteEntry, 2, 1 }, { LuaMethod, "DeleteGroup", wxConfigBase_DeleteGroup, 1, 1 }, { LuaMethod, "Exists", wxConfigBase_Exists, 1, 1 }, { LuaMethod, "Flush", wxConfigBase_Flush, 1, 0 }, { LuaMethod, "GetAppName", wxConfigBase_GetAppName, 0, 0 }, { LuaMethod, "GetEntryType", wxConfigBase_GetEntryType, 1, 1 }, { LuaMethod, "GetFirstGroup", wxConfigBase_GetFirstGroup, 2, 2 }, { LuaMethod, "GetFirstEntry", wxConfigBase_GetFirstEntry, 2, 2 }, { LuaMethod, "GetNextGroup", wxConfigBase_GetNextGroup, 2, 2 }, { LuaMethod, "GetNextEntry", wxConfigBase_GetNextEntry, 2, 2 }, { LuaMethod, "GetNumberOfEntries", wxConfigBase_GetNumberOfEntries, 1, 0 }, { LuaMethod, "GetNumberOfGroups", wxConfigBase_GetNumberOfGroups, 1, 0 }, { LuaMethod, "GetPath", wxConfigBase_GetPath, 0, 0 }, { LuaMethod, "GetVendorName", wxConfigBase_GetVendorName, 0, 0 }, { LuaMethod, "HasEntry", wxConfigBase_HasEntry, 1, 1 }, { LuaMethod, "HasGroup", wxConfigBase_HasGroup, 1, 1 }, { LuaMethod, "IsExpandingEnvVars", wxConfigBase_IsExpandingEnvVars, 0, 0 }, { LuaMethod, "IsRecordingDefaults", wxConfigBase_IsRecordingDefaults, 0, 0 }, { LuaMethod, "Read", wxConfigBase_Read, 2, 1 }, { LuaMethod, "ReadInt", wxConfigBase_ReadInt, 2, 1 }, { LuaMethod, "ReadFloat", wxConfigBase_ReadFloat, 2, 1 }, { LuaMethod, "RenameEntry", wxConfigBase_RenameEntry, 2, 2 }, { LuaMethod, "RenameGroup", wxConfigBase_RenameGroup, 2, 2 }, { LuaMethod, "SetExpandEnvVars", wxConfigBase_SetExpandEnvVars, 1, 0 }, { LuaMethod, "SetPath", wxConfigBase_SetPath, 1, 1 }, { LuaGetProp, "Path", wxConfigBase_GetPath, 0, 0 }, { LuaSetProp, "Path", wxConfigBase_SetPath, 1, 1 }, { LuaMethod, "SetRecordDefaults", wxConfigBase_SetRecordDefaults, 1, 0 }, { LuaMethod, "Write", wxConfigBase_Write, 2, 2 }, { LuaMethod, "WriteInt", wxConfigBase_WriteInt, 2, 2 }, { LuaMethod, "WriteFloat", wxConfigBase_WriteFloat, 2, 2 }, { LuaDelete, "wxConfigBase", wxConfigBase_destructor, 0, 0 }, { LuaMethod, "Delete", wxConfigBase_Delete, 0, 0 }, #if (defined(__WXMSW__)) && (wxLUA_USE_wxConfig) { LuaGetProp, "AppName", wxConfigBase_GetAppName, 0, 0 }, { LuaGetProp, "VendorName", wxConfigBase_GetVendorName, 0, 0 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxConfigBase_methods = s_wxConfigBase_methods; int wxConfigBase_methodCount = sizeof(s_wxConfigBase_methods)/sizeof(s_wxConfigBase_methods[0]); #endif #if wxLUA_USE_wxConfig // ------------------------------------------------------------------------------------------------- // Bind class wxConfig // ------------------------------------------------------------------------------------------------- // Lua MetaTable Tag for Class int s_wxluatag_wxConfig = -1; // wxConfig(const wxString& appName = wxEmptyString, const wxString& vendorName = wxEmptyString, const wxString& localFilename = wxEmptyString, const wxString& globalFilename = wxEmptyString, long style = 0) static int LUACALL wxConfig_constructor(lua_State *L) { wxLuaState wxlState(L); wxConfig *returns; // get number of arguments int argCount = lua_gettop(L); // long style = 0 long style = (argCount >= 5 ? (long)wxlState.getnumbertype(5) : 0); // const wxString globalFilename = wxEmptyString const wxString globalFilename = (argCount >= 4 ? lua2wx(wxlState.getstringtype(4)) : wxString(wxEmptyString)); // const wxString localFilename = wxEmptyString const wxString localFilename = (argCount >= 3 ? lua2wx(wxlState.getstringtype(3)) : wxString(wxEmptyString)); // const wxString vendorName = wxEmptyString const wxString vendorName = (argCount >= 2 ? lua2wx(wxlState.getstringtype(2)) : wxString(wxEmptyString)); // const wxString appName = wxEmptyString const wxString appName = (argCount >= 1 ? lua2wx(wxlState.getstringtype(1)) : wxString(wxEmptyString)); // call constructor returns = new wxConfig(appName, vendorName, localFilename, globalFilename, style); // push the constructed class pointer wxlState.pushuserdatatype(s_wxluatag_wxConfig, returns); return 1; } static int LUACALL wxConfig_destructor(lua_State *) { return 0; } #if (defined(__WXGTK__) || defined(__WXMAC__)) && (wxLUA_USE_wxConfig) // %gtk|%mac void SetUmask(int mode) static int LUACALL wxConfig_SetUmask(lua_State *L) { wxLuaState wxlState(L); // int mode int mode = (int)wxlState.getnumbertype(2); // get this wxConfig * self = (wxConfig *)wxlState.getuserdatatype(1, s_wxluatag_wxConfig); // call SetUmask self->SetUmask(mode); return 0; } #endif // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxConfig_methods[] = { { LuaConstructor, "wxConfig", wxConfig_constructor, 5, 0 }, { LuaDelete, "wxConfig", wxConfig_destructor, 0, 0 }, #if (defined(__WXGTK__) || defined(__WXMAC__)) && (wxLUA_USE_wxConfig) { LuaMethod, "SetUmask", wxConfig_SetUmask, 1, 1 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxConfig_methods = s_wxConfig_methods; int wxConfig_methodCount = sizeof(s_wxConfig_methods)/sizeof(s_wxConfig_methods[0]); #endif --- NEW FILE: grid.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...6284 lines suppressed...] { LuaMethod, "GetCol", wxGridEditorCreatedEvent_GetCol, 0, 0 }, { LuaMethod, "GetControl", wxGridEditorCreatedEvent_GetControl, 0, 0 }, { LuaMethod, "SetRow", wxGridEditorCreatedEvent_SetRow, 1, 1 }, { LuaGetProp, "Row", wxGridEditorCreatedEvent_GetRow, 0, 0 }, { LuaSetProp, "Row", wxGridEditorCreatedEvent_SetRow, 1, 1 }, { LuaMethod, "SetCol", wxGridEditorCreatedEvent_SetCol, 1, 1 }, { LuaGetProp, "Col", wxGridEditorCreatedEvent_GetCol, 0, 0 }, { LuaSetProp, "Col", wxGridEditorCreatedEvent_SetCol, 1, 1 }, { LuaMethod, "SetControl", wxGridEditorCreatedEvent_SetControl, 1, 1 }, { LuaGetProp, "Control", wxGridEditorCreatedEvent_GetControl, 0, 0 }, { LuaSetProp, "Control", wxGridEditorCreatedEvent_SetControl, 1, 1 }, { LuaDelete, "wxGridEditorCreatedEvent", wxGridEditorCreatedEvent_destructor, 0, 0 }, { LuaMethod, "Delete", wxGridEditorCreatedEvent_Delete, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxGridEditorCreatedEvent_methods = s_wxGridEditorCreatedEvent_methods; int wxGridEditorCreatedEvent_methodCount = sizeof(s_wxGridEditorCreatedEvent_methods)/sizeof(s_wxGridEditorCreatedEvent_methods[0]); #endif --- NEW FILE: file.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...1869 lines suppressed...] { LuaConstructor, "wxDirOpen", wxDirOpen_constructor, 1, 1 }, { LuaMethod, "Exists", wxDir_Exists, 1, 1 }, { LuaMethod, "Open", wxDir_Open, 1, 1 }, { LuaMethod, "IsOpened", wxDir_IsOpened, 0, 0 }, { LuaMethod, "GetFirst", wxDir_GetFirst, 3, 1 }, { LuaMethod, "GetNext", wxDir_GetNext, 1, 1 }, { LuaDelete, "wxDir", wxDir_destructor, 0, 0 }, { LuaMethod, "Delete", wxDir_Delete, 0, 0 }, #if ((wxCHECK_VERSION(2,3,0)) && (wxLUA_USE_wxDir)) && (wxLUA_USE_wxArrayString) { LuaMethod, "GetAllFiles", wxDir_GetAllFiles, 4, 2 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxDir_methods = s_wxDir_methods; int wxDir_methodCount = sizeof(s_wxDir_methods)/sizeof(s_wxDir_methods[0]); #endif --- NEW FILE: wx_object.cpp --- // --------------------------------------------------------- // wxLuaGetObjectList_wx() is called by registerGeneratedClasses() // to register object and pointer bindings // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbind/include/wxbind.h" WXLUAOBJECT* wxLuaGetObjectList_wx(size_t &count) { static WXLUAOBJECT objectList[] = { #if wxLUA_USE_wxAcceleratorTable { &wxNullAcceleratorTable, 0, "wxNullAcceleratorTable", &s_wxluatag_wxAcceleratorTable }, #endif #if wxLUA_USE_wxColourPenBrush { &wxNullPen, 0, "wxNullPen", &s_wxluatag_wxPen }, { &wxNullColour, 0, "wxNullColour", &s_wxluatag_wxColour }, { &wxNullBrush, 0, "wxNullBrush", &s_wxluatag_wxBrush }, #endif #if wxLUA_USE_wxDataObject { &wxFormatInvalid, 0, "wxFormatInvalid", &s_wxluatag_wxDataFormat }, #endif #if (wxCHECK_VERSION(2,3,0)) && (wxLUA_USE_wxImage) { &wxNullImage, 0, "wxNullImage", &s_wxluatag_wxImage }, #endif #if wxLUA_USE_wxGrid { &wxGridNoCellRect, 0, "wxGridNoCellRect", &s_wxluatag_wxGridCellCoords }, #endif #if wxLUA_USE_wxCursor { &wxNullCursor, 0, "wxNullCursor", &s_wxluatag_wxCursor }, #endif #if wxLUA_USE_wxValidator { &wxDefaultValidator, 0, "wxDefaultValidator", &s_wxluatag_wxValidator }, #endif #if wxLUA_USE_wxIcon { &wxNullIcon, 0, "wxNullIcon", &s_wxluatag_wxIcon }, #endif #if wxLUA_USE_wxPointSizeRect { &wxDefaultPosition, 0, "wxDefaultPosition", &s_wxluatag_wxPoint }, { &wxDefaultSize, 0, "wxDefaultSize", &s_wxluatag_wxSize }, #endif #if wxLUA_USE_wxDateTime { &wxDefaultDateTime, 0, "wxDefaultDateTime", &s_wxluatag_wxDateTime }, #endif #if wxLUA_USE_wxBitmap { &wxNullBitmap, 0, "wxNullBitmap", &s_wxluatag_wxBitmap }, #endif #if wxLUA_USE_wxFont { &wxNullFont, 0, "wxNullFont", &s_wxluatag_wxFont }, #endif #if wxLUA_USE_wxPalette { &wxNullPalette, 0, "wxNullPalette", &s_wxluatag_wxPalette }, #endif #if wxLUA_USE_wxFontList { 0, (const void **) &wxTheFontList, "wxTheFontList", &s_wxluatag_wxFontList }, #endif #if wxLUA_USE_wxCursor { 0, (const void **) &wxSTANDARD_CURSOR, "wxSTANDARD_CURSOR", &s_wxluatag_wxCursor }, { 0, (const void **) &wxHOURGLASS_CURSOR, "wxHOURGLASS_CURSOR", &s_wxluatag_wxCursor }, { 0, (const void **) &wxCROSS_CURSOR, "wxCROSS_CURSOR", &s_wxluatag_wxCursor }, #endif #if wxLUA_USE_wxColourPenBrush { 0, (const void **) &wxGREY_PEN, "wxGREY_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxBLUE, "wxBLUE", &s_wxluatag_wxColour }, { 0, (const void **) &wxGREEN_PEN, "wxGREEN_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxTRANSPARENT_PEN, "wxTRANSPARENT_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxWHITE_PEN, "wxWHITE_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxBLACK_PEN, "wxBLACK_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxLIGHT_GREY_PEN, "wxLIGHT_GREY_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxCYAN_BRUSH, "wxCYAN_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxGREEN, "wxGREEN", &s_wxluatag_wxColour }, { 0, (const void **) &wxTRANSPARENT_BRUSH, "wxTRANSPARENT_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxLIGHT_GREY_BRUSH, "wxLIGHT_GREY_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxGREEN_BRUSH, "wxGREEN_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxBLACK_BRUSH, "wxBLACK_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxRED_PEN, "wxRED_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxBLACK_DASHED_PEN, "wxBLACK_DASHED_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxLIGHT_GREY, "wxLIGHT_GREY", &s_wxluatag_wxColour }, { 0, (const void **) &wxRED_BRUSH, "wxRED_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxMEDIUM_GREY_BRUSH, "wxMEDIUM_GREY_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxRED, "wxRED", &s_wxluatag_wxColour }, { 0, (const void **) &wxCYAN, "wxCYAN", &s_wxluatag_wxColour }, { 0, (const void **) &wxGREY_BRUSH, "wxGREY_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxMEDIUM_GREY_PEN, "wxMEDIUM_GREY_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxCYAN_PEN, "wxCYAN_PEN", &s_wxluatag_wxPen }, { 0, (const void **) &wxWHITE, "wxWHITE", &s_wxluatag_wxColour }, { 0, (const void **) &wxBLACK, "wxBLACK", &s_wxluatag_wxColour }, { 0, (const void **) &wxWHITE_BRUSH, "wxWHITE_BRUSH", &s_wxluatag_wxBrush }, { 0, (const void **) &wxBLUE_BRUSH, "wxBLUE_BRUSH", &s_wxluatag_wxBrush }, #endif #if wxLUA_USE_wxFont { 0, (const void **) &wxSMALL_FONT, "wxSMALL_FONT", &s_wxluatag_wxFont }, { 0, (const void **) &wxNORMAL_FONT, "wxNORMAL_FONT", &s_wxluatag_wxFont }, { 0, (const void **) &wxSWISS_FONT, "wxSWISS_FONT", &s_wxluatag_wxFont }, { 0, (const void **) &wxITALIC_FONT, "wxITALIC_FONT", &s_wxluatag_wxFont }, #endif #if (!wxCHECK_VERSION(2,5,0)) && (wxLUA_USE_wxClipboard) { 0, (const void **) &wxTheClipboard, "wxTheClipboard", &s_wxluatag_wxClipboard }, #endif { 0, 0, 0, 0 }, }; count = (sizeof(objectList)/sizeof(objectList[0])) - 1; return objectList; } --- NEW FILE: data.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...3537 lines suppressed...] { LuaDelete, "wxFTP", wxFTP_destructor, 0, 0 }, { LuaMethod, "Delete", wxFTP_Delete, 0, 0 }, #if wxLUA_USE_wxArrayString { LuaMethod, "GetDirList", wxFTP_GetDirList, 2, 1 }, { LuaMethod, "GetFilesList", wxFTP_GetFilesList, 2, 1 }, #endif #if wxUSE_STREAMS { LuaMethod, "GetOutputStream", wxFTP_GetOutputStream, 1, 1 }, { LuaMethod, "GetInputStream", wxFTP_GetInputStream, 1, 1 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxFTP_methods = s_wxFTP_methods; int wxFTP_methodCount = sizeof(s_wxFTP_methods)/sizeof(s_wxFTP_methods[0]); --- NEW FILE: regex.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbind/include/wxbind.h" #if wxLUA_USE_wxRegEx // ------------------------------------------------------------------------------------------------- // Bind class wxRegEx // ------------------------------------------------------------------------------------------------- // Lua MetaTable Tag for Class int s_wxluatag_wxRegEx = -1; // %constructor wxRegExDefault() static int LUACALL wxRegExDefault_constructor(lua_State *L) { wxLuaState wxlState(L); wxRegEx *returns; // call constructor returns = new wxRegEx(); // add to tracked memory list wxLua_addToTrackedMemoryList(wxlState, (wxRegEx *)returns); // push the constructed class pointer wxlState.pushuserdatatype(s_wxluatag_wxRegEx, returns); return 1; } // wxRegEx(const wxString& expr, int flags = wxRE_DEFAULT) static int LUACALL wxRegEx_constructor(lua_State *L) { wxLuaState wxlState(L); wxRegEx *returns; // get number of arguments int argCount = lua_gettop(L); // int flags = wxRE_DEFAULT int flags = (argCount >= 2 ? (int)wxlState.getnumbertype(2) : wxRE_DEFAULT); // const wxString expr const wxString expr = lua2wx(wxlState.getstringtype(1)); // call constructor returns = new wxRegEx(expr, flags); // add to tracked memory list wxLua_addToTrackedMemoryList(wxlState, (wxRegEx *)returns); // push the constructed class pointer wxlState.pushuserdatatype(s_wxluatag_wxRegEx, returns); return 1; } // bool Compile(const wxString& pattern, int flags = wxRE_DEFAULT) static int LUACALL wxRegEx_Compile(lua_State *L) { wxLuaState wxlState(L); bool returns; // get number of arguments int argCount = lua_gettop(L); // int flags = wxRE_DEFAULT int flags = (argCount >= 3 ? (int)wxlState.getnumbertype(3) : wxRE_DEFAULT); // const wxString pattern const wxString pattern = lua2wx(wxlState.getstringtype(2)); // get this wxRegEx * self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call Compile returns = self->Compile(pattern, flags); // push the result flag lua_pushboolean(L, returns); return 1; } // bool IsValid() const static int LUACALL wxRegEx_IsValid(lua_State *L) { wxLuaState wxlState(L); bool returns; // get this wxRegEx * self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call IsValid returns = self->IsValid(); // push the result flag lua_pushboolean(L, returns); return 1; } // wxString GetMatch(const wxString& text, size_t index = 0) const static int LUACALL wxRegEx_GetMatch(lua_State *L) { wxLuaState wxlState(L); wxString returns; // get number of arguments int argCount = lua_gettop(L); // size_t index = 0 size_t index = (argCount >= 3 ? (size_t)wxlState.getnumbertype(3) : 0); // const wxString text const wxString text = lua2wx(wxlState.getstringtype(2)); // get this wxRegEx * self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call GetMatch returns = self->GetMatch(text, index); // push the result string lua_pushstring(L, wx2lua(returns) ); return 1; } // bool Matches(const wxString &text, int flags = 0) const static int LUACALL wxRegEx_Matches(lua_State *L) { wxLuaState wxlState(L); bool returns; // get number of arguments int argCount = lua_gettop(L); // int flags = 0 int flags = (argCount >= 3 ? (int)wxlState.getnumbertype(3) : 0); // const wxString text const wxString text = lua2wx(wxlState.getstringtype(2)); // get this wxRegEx * self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call Matches returns = self->Matches(text, flags); // push the result flag lua_pushboolean(L, returns); return 1; } // %override wxRegEx_GetMatchIndexes // %rename GetMatchPointer bool GetMatch(size_t* start, size_t* len, size_t index = 0) const static int LUACALL wxRegEx_GetMatchIndexes(lua_State *L) { wxLuaState wxlState(L); bool returns; // get number of arguments int argCount = lua_gettop(L); // size_t index = 0 size_t index = (argCount >= 2 ? (size_t)wxlState.getnumbertype(2) : 0); // size_t* len size_t len = 0; // size_t* start size_t start = 0; // get this wxRegEx *self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call GetMatch returns = self->GetMatch(&start, &len, index); // push the result number lua_pushboolean(L, returns); // push the match start and length indexes lua_pushnumber(L, start); lua_pushnumber(L, len); // return the number of parameters return 3; } // %override wxRegEx_Replace // int Replace(wxString* text, const wxString& replacement, size_t maxMatches = 0) const static int LUACALL wxRegEx_Replace(lua_State *L) { wxLuaState wxlState(L); int returns; // get number of arguments int argCount = lua_gettop(L); // size_t maxMatches = 0 size_t maxMatches = (argCount >= 4 ? (size_t)wxlState.getnumbertype(4) : 0); // const wxString& replacement wxString replacement = lua2wx(wxlState.getstringtype(3)); // wxString* text wxString text = lua2wx(wxlState.getstringtype(2)); // get this wxRegEx *self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call Replace returns = self->Replace(&text, replacement, maxMatches); // push the result number lua_pushnumber(L, returns); // push the result text lua_pushstring(L, wx2lua(text)); // return the number of parameters return 2; } // %override wxRegEx_ReplaceAll // int ReplaceAll(wxString* text, const wxString& replacement) const static int LUACALL wxRegEx_ReplaceAll(lua_State *L) { wxLuaState wxlState(L); int returns; // const wxString& replacement wxString replacement = lua2wx(wxlState.getstringtype(3)); // wxString* text wxString text = lua2wx(wxlState.getstringtype(2)); // get this wxRegEx *self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call ReplaceAll returns = self->ReplaceAll(&text, replacement); // push the result number lua_pushnumber(L, returns); // push the result text lua_pushstring(L, wx2lua(text)); // return the number of parameters return 2; } // %override wxRegEx_ReplaceFirst // int ReplaceFirst(wxString* text, const wxString& replacement) const static int LUACALL wxRegEx_ReplaceFirst(lua_State *L) { wxLuaState wxlState(L); int returns; // const wxString& replacement wxString replacement = lua2wx(wxlState.getstringtype(3)); // wxString* text wxString text = lua2wx(wxlState.getstringtype(2)); // get this wxRegEx *self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // call ReplaceFirst returns = self->ReplaceFirst(&text, replacement); // push the result number lua_pushnumber(L, returns); // push the result text lua_pushstring(L, wx2lua(text)); // return the number of parameters return 2; } static int LUACALL wxRegEx_destructor(lua_State *L) { wxLuaState wxlState(L); wxRegEx * self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // remove from tracked memory list if (self != 0) wxlState.removeTrackedMemory(self); return 0; } static int LUACALL wxRegEx_Delete(lua_State *L) { wxLuaState wxlState(L); wxRegEx * self = (wxRegEx *)wxlState.getuserdatatype(1, s_wxluatag_wxRegEx); // remove from tracked memory list if (self != 0) if (wxlState.removeTrackedMemory(self)) { // if removed, reset the tag so that gc() is not called on this object. lua_pushnil(L); lua_setmetatable(L, -2); } return 0; } // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxRegEx_methods[] = { { LuaConstructor, "wxRegExDefault", wxRegExDefault_constructor, 0, 0 }, { LuaConstructor, "wxRegEx", wxRegEx_constructor, 2, 1 }, { LuaMethod, "Compile", wxRegEx_Compile, 2, 1 }, { LuaMethod, "IsValid", wxRegEx_IsValid, 0, 0 }, { LuaMethod, "GetMatch", wxRegEx_GetMatch, 2, 1 }, { LuaMethod, "Matches", wxRegEx_Matches, 2, 1 }, { LuaMethod, "GetMatchIndexes", wxRegEx_GetMatchIndexes, 3, 2 }, { LuaMethod, "Replace", wxRegEx_Replace, 3, 2 }, { LuaMethod, "ReplaceAll", wxRegEx_ReplaceAll, 2, 2 }, { LuaMethod, "ReplaceFirst", wxRegEx_ReplaceFirst, 2, 2 }, { LuaDelete, "wxRegEx", wxRegEx_destructor, 0, 0 }, { LuaMethod, "Delete", wxRegEx_Delete, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxRegEx_methods = s_wxRegEx_methods; int wxRegEx_methodCount = sizeof(s_wxRegEx_methods)/sizeof(s_wxRegEx_methods[0]); #endif --- NEW FILE: controls.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...8693 lines suppressed...] { LuaDelete, "wxTreeEvent", wxTreeEvent_destructor, 0, 0 }, { LuaMethod, "Delete", wxTreeEvent_Delete, 0, 0 }, #if (wxLUA_USE_wxTreeCtrl) && (wxLUA_USE_wxPointSizeRect) { LuaMethod, "GetPoint", wxTreeEvent_GetPoint, 0, 0 }, { LuaGetProp, "Point", wxTreeEvent_GetPoint, 0, 0 }, #endif #if (wxCHECK_VERSION(2,3,0)) && (wxLUA_USE_wxTreeCtrl) { LuaMethod, "GetKeyCode", wxTreeEvent_GetKeyCode, 0, 0 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxTreeEvent_methods = s_wxTreeEvent_methods; int wxTreeEvent_methodCount = sizeof(s_wxTreeEvent_methods)/sizeof(s_wxTreeEvent_methods[0]); #endif --- NEW FILE: plot.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbind/include/wxbind.h" --- NEW FILE: wx_define.cpp --- // --------------------------------------------------------- // wxLuaGetDefineList_wx() is called by registerGeneratedClasses() // to register defines, enums and static strings // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif [...1777 lines suppressed...] { "wxXML_HTML_DOCUMENT_NODE", false, wxXML_HTML_DOCUMENT_NODE, 0 }, { "wxXML_DOCUMENT_NODE", false, wxXML_DOCUMENT_NODE, 0 }, { "wxXML_ATTRIBUTE_NODE", false, wxXML_ATTRIBUTE_NODE, 0 }, { "wxXML_DOCUMENT_TYPE_NODE", false, wxXML_DOCUMENT_TYPE_NODE, 0 }, { "wxXML_NOTATION_NODE", false, wxXML_NOTATION_NODE, 0 }, #endif #if wxLUA_USE_wxRegion { "wxOutRegion", false, wxOutRegion, 0 }, { "wxPartRegion", false, wxPartRegion, 0 }, { "wxInRegion", false, wxInRegion, 0 }, #endif { 0, 0, 0, 0 }, }; count = (sizeof(defineList)/sizeof(defineList[0])) - 1; return defineList; } --- NEW FILE: socket.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...1156 lines suppressed...] // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxIPV4address_methods[] = { { LuaConstructor, "wxIPV4address", wxIPV4address_constructor, 0, 0 }, { LuaMethod, "SetHostname", wxIPV4address_SetHostname, 1, 1 }, { LuaMethod, "SetHostnameAddr", wxIPV4address_SetHostnameAddr, 1, 1 }, { LuaMethod, "Hostname", wxIPV4address_Hostname, 0, 0 }, { LuaMethod, "SetService", wxIPV4address_SetService, 1, 1 }, { LuaMethod, "SetServicePort", wxIPV4address_SetServicePort, 1, 1 }, { LuaMethod, "Service", wxIPV4address_Service, 0, 0 }, { LuaMethod, "AnyAddress", wxIPV4address_AnyAddress, 0, 0 }, { LuaMethod, "LocalHost", wxIPV4address_LocalHost, 0, 0 }, { LuaDelete, "wxIPV4address", wxIPV4address_destructor, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxIPV4address_methods = s_wxIPV4address_methods; int wxIPV4address_methodCount = sizeof(s_wxIPV4address_methods)/sizeof(s_wxIPV4address_methods[0]); #endif --- NEW FILE: clipdrag.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...1902 lines suppressed...] // Map Lua Class Methods to C Binding Functions static WXLUAMETHOD s_wxMetafileDC_methods[] = { { LuaConstructor, "wxMetafileDC", wxMetafileDC_constructor, 1, 0 }, { LuaDelete, "wxMetafileDC", wxMetafileDC_destructor, 0, 0 }, { LuaMethod, "Delete", wxMetafileDC_Delete, 0, 0 }, #if ((defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXPM__)) && (wxLUA_USE_wxMetafile)) && ((defined(__WXMSW__)) && ((defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXPM__)) && (wxLUA_USE_wxMetafile))) { LuaMethod, "Close", wxMetafileDC_Close, 0, 0 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxMetafileDC_methods = s_wxMetafileDC_methods; int wxMetafileDC_methodCount = sizeof(s_wxMetafileDC_methods)/sizeof(s_wxMetafileDC_methods[0]); #endif --- NEW FILE: sizer.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...1089 lines suppressed...] static WXLUAMETHOD s_wxIndividualLayoutConstraint_methods[] = { { LuaConstructor, "wxIndividualLayoutConstraint", wxIndividualLayoutConstraint_constructor, 0, 0 }, { LuaMethod, "Above", wxIndividualLayoutConstraint_Above, 2, 1 }, { LuaMethod, "Absolute", wxIndividualLayoutConstraint_Absolute, 1, 1 }, { LuaMethod, "AsIs", wxIndividualLayoutConstraint_AsIs, 0, 0 }, { LuaMethod, "Below", wxIndividualLayoutConstraint_Below, 2, 1 }, { LuaMethod, "Unconstrained", wxIndividualLayoutConstraint_Unconstrained, 0, 0 }, { LuaMethod, "LeftOf", wxIndividualLayoutConstraint_LeftOf, 2, 1 }, { LuaMethod, "PercentOf", wxIndividualLayoutConstraint_PercentOf, 3, 3 }, { LuaMethod, "RightOf", wxIndividualLayoutConstraint_RightOf, 2, 1 }, { LuaMethod, "SameAs", wxIndividualLayoutConstraint_SameAs, 3, 2 }, { LuaMethod, "Set", wxIndividualLayoutConstraint_Set, 5, 3 }, { LuaDelete, "wxIndividualLayoutConstraint", wxIndividualLayoutConstraint_destructor, 0, 0 }, }; // Extern accessor to class method map WXLUAMETHOD* wxIndividualLayoutConstraint_methods = s_wxIndividualLayoutConstraint_methods; int wxIndividualLayoutConstraint_methodCount = sizeof(s_wxIndividualLayoutConstraint_methods)/sizeof(s_wxIndividualLayoutConstraint_methods[0]); #endif --- NEW FILE: fl.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif [...5106 lines suppressed...] { LuaMethod, "DrawSeparator", wxDynamicToolBar_DrawSeparator, 2, 2 }, #endif #if (((wxLUA_USE_FL) && (wxLUA_USE_wxToolbar)) && (wxLUA_USE_wxBitmap)) && (wxLUA_USE_wxObject) { LuaMethod, "AddToolCompatible", wxDynamicToolBar_AddToolCompatible, 9, 2 }, #endif #if (wxLUA_USE_FL) && (wxLUA_USE_wxBitmap) { LuaMethod, "AddTool", wxDynamicToolBar_AddTool, 5, 2 }, #endif }; // Extern accessor to class method map WXLUAMETHOD* wxDynamicToolBar_methods = s_wxDynamicToolBar_methods; int wxDynamicToolBar_methodCount = sizeof(s_wxDynamicToolBar_methods)/sizeof(s_wxDynamicToolBar_methods[0]); #endif --- NEW FILE: defsutil.cpp --- // --------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wxluasetup.h" #include "wxlua/include/internal.h" #include "wxbind/include/wxbind.h" // ------------------------------------------------------------------------------------------------- // Bind class wxProcess // ------------------------------------------------------------------------------------------------- // Lua MetaTable Tag for Class int s_wxluatag_wxProcess = -1; // wxProcess(wxEvtHandler *parent = NULL, int nId = wxID_ANY) static int LUACALL wxProcess_constructor(lua_State *L) { wxLuaState wxlState(L); wxProcess *returns; // get number of arguments int argCount = lua_gettop(L); // int nId = wxID_ANY int nId = (argCount >= 2 ? (int)wxlState.getnumbertype(... [truncated message content] |
From: John L. <jr...@us...> - 2006-02-02 16:07:52
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6440/wxLua/modules/wxbind/include Added Files: wxbind.h Log Message: added wxWidgets bindings and finishing separating wxSTC module --- NEW FILE: wxbind.h --- // --------------------------------------------------------- // wx.h // headers and tag for wxLua binding // // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file // is regenerated // --------------------------------------------------------- #ifndef __HOOK_WXLUA_wx_H__ #define __HOOK_WXLUA_wx_H__ #include "wxlua/include/internal.h" #include "wx/defs.h" #ifndef wxUSE_WAVE [...2790 lines suppressed...] #if wxLUA_USE_wxListCtrl wxLUA_DECLARE_ENCAPSULATION(wxListItemAttr) #endif #if wxLUA_USE_wxDataObject wxLUA_DECLARE_ENCAPSULATION(wxDataObjectComposite) wxLUA_DECLARE_ENCAPSULATION(wxDataFormat) wxLUA_DECLARE_ENCAPSULATION(wxCustomDataObject) wxLUA_DECLARE_ENCAPSULATION(wxFileDataObject) wxLUA_DECLARE_ENCAPSULATION(wxBitmapDataObject) wxLUA_DECLARE_ENCAPSULATION(wxTextDataObject) wxLUA_DECLARE_ENCAPSULATION(wxDataObjectSimple) #endif #endif // __HOOK_WXLUA_wx_H__ |
From: John L. <jr...@us...> - 2006-02-02 16:00:55
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3843/wxbindstc/src Added Files: Makefile Log Message: separated wxSTC from wxWidgets binding --- NEW FILE: Makefile --- # File: Makefile # Author: J Winwood # Created: 2002 # Updated: # Copyright: (c) 2002 Lomtick Software. All rights reserved. # # Makefile for wxLuaBinding library using gmake # Override this on the command line to use your own wxluasetup.h WXLUASETUP = wxluasetup.h # --- wxLua parameters ------------------------------------------------------- WXLUA_LIBVERSION_CURRENT = 1 WXLUA_LIBVERSION_REVISION = 5 WXLUA_LIBVERSION_AGE = 0 WXLUA_DIR = ../../.. WXLUA_LIBDIR = $(WXLIB_DIR) LUA = $(WXLUA_DIR)/bin/lua # ---------------------------------------------------------------------------- # --- wxWidgets parameters from wx-config ------------------------------------ WXCONFIG := wx-config WXPREFIX = $(shell $(WXCONFIG) --prefix) WXEXECDIR = $(shell $(WXCONFIG) --exec-prefix) WXBASENAME = $(shell $(WXCONFIG) --basename) WXVERSION = $(shell $(WXCONFIG) --version) WXRELEASE = $(shell $(WXCONFIG) --release) WXCXXFLAGS = $(shell $(WXCONFIG) --cxxflags) WXLDLIBS = $(shell $(WXCONFIG) --libs) WXCXX = $(shell $(WXCONFIG) --cxx) WXLIB_DIR = $(WXEXECDIR)/lib # ---------------------------------------------------------------------------- CXXFLAGS = $(WXCXXFLAGS) -MMD -g -Wall LDLIBS = $(WXLDLIBS) CXX = $(WXCXX) APPEXTRADEFS = -I../../ -I$(WXPREFIX)/contrib/include -fexceptions -DLUACALL= WXBIND_TARGET_LIBNAME = lib$(WXBASENAME)_wxluastc-$(WXRELEASE) WXBIND_TARGET_LIBDIR = $(WXLUA_LIBDIR) WXBIND_TARGET_LIB_STATIC = $(WXBIND_TARGET_LIBDIR)/$(WXBIND_TARGET_LIBNAME).a WXBIND_TARGET_LIB_SHARED = $(WXBIND_TARGET_LIBDIR)/$(WXBIND_TARGET_LIBNAME).so.$(WXLUA_LIBVERSION_CURRENT).$(WXLUA_LIBVERSION_REVISION).$(WXLUA_LIBVERSION_AGE) WXBIND_TARGET_LIB_LINK1 = $(WXBIND_TARGET_LIBNAME).so.$(WXLUA_LIBVERSION_CURRENT) WXBIND_TARGET_LIB_LINK2 = $(WXBIND_TARGET_LIBNAME).so RM = rm -f AR = ar AROPTIONS = rcu RANLIB = ranlib LN_S = ln -s HEADERS = SOURCES = \ ../../../modules/wxstc/src/stc.cpp \ ../../../modules/wxstc/src/wxstc_builtin.cpp \ ../../../modules/wxstc/src/wxstc_class.cpp \ ../../../modules/wxstc/src/wxstc_define.cpp \ ../../../modules/wxstc/src/wxstc_event.cpp \ ../../../modules/wxstc/src/wxstc_object.cpp OBJECTS=$(SOURCES:.cpp=.o) DEPFILES=$(OBJECTS:.o=.d) .cpp.o: $(CXX) -include $(WXLUASETUP) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $< all: $(WXBIND_TARGET_LIB_STATIC) $(WXBIND_TARGET_LIB_SHARED) $(WXBIND_TARGET_LIB_STATIC): $(OBJECTS) @$(RM) $@ $(AR) $(AROPTIONS) $@ $(OBJECTS) $(RANLIB) $@ $(WXBIND_TARGET_LIB_SHARED): $(OBJECTS) $(CXX) -shared -o $@ $(OBJECTS) cd $(WXBIND_TARGET_LIBDIR) \ && $(RM) $(WXBIND_TARGET_LIB_LINK1) $(WXBIND_TARGET_LIB_LINK2) \ && $(LN_S) $(WXBIND_TARGET_LIB_SHARED) $(WXBIND_TARGET_LIB_LINK1) \ && $(LN_S) $(WXBIND_TARGET_LIB_SHARED) $(WXBIND_TARGET_LIB_LINK2) clean: rm -f core $(OBJECTS) $(DEPFILES) \ $(WXBIND_TARGET_LIB_STATIC) $(WXBIND_TARGET_LIB_SHARED) \ $(WXBIND_TARGET_LIBDIR)/$(WXBIND_TARGET_LIB_LINK1) \ $(WXBIND_TARGET_LIBDIR)/$(WXBIND_TARGET_LIB_LINK2) -include $(DEPFILES) |
From: John L. <jr...@us...> - 2006-02-02 15:50:45
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32259/wxwidgets Removed Files: stc.i Log Message: wxSTC moved to own module --- stc.i DELETED --- |
From: John L. <jr...@us...> - 2006-02-02 15:49:43
|
Update of /cvsroot/wxlua/wxLua/bindings/wxstc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/bindings/wxstc Added Files: Makefile stc.i wxluasetup.h.in wxstc_rules.lua Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it --- NEW FILE: wxstc_rules.lua --- ------------------------------------------------------------------------------- -- rules to build wxWidgets binding for wxLua (for genwxbind.lua) ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- Set the root directory of the wxLua distribution, used only in this file wxlua_dir = "../" --cdluapath=wxlua_dir.."/parts/cdlua/" -- FIXME see genwxbind for this ------------------------------------------------------------------------------- -- Set the bindings directory that contains the *.i interface files interface_dir = wxlua_dir.."/bindings/wxstc" -- Set the directory to output the bindings to, both C++ header and source files output_dir = wxlua_dir.."/modules/wxbindstc/src" output_header_dir = wxlua_dir.."/modules/wxbindstc/include" ------------------------------------------------------------------------------- -- Set the lua namespace that the bindings will be placed, eg. wx.wxWindow(...) hook_lua_namespace = "wx" -- Set the C++ "namespace" that the bindings will be placed, eg. function names -- contain this to prevent duplicate function names hook_cpp_namespace = "wxstc" -- Set any #includes or other C++ code to be placed verbatim at the top of -- every generated file or "" for none hook_header_includes = "#include \"wx/wxprec.h\"\n" -- Set the name of the subclassed wxLuaBinding class hook_binding_class = hook_cpp_namespace.."_Binding" ------------------------------------------------------------------------------- -- Set the name of the header file that will have the #includes from the -- bindings in it. This will be used as #include "hook_header_file" in the C++ -- wrapper files, so it must include the proper #include path. hook_header_file = "wxstc/include/wxbind.h" ------------------------------------------------------------------------------- -- Set the files to output the structs of wrapped defined values, objects, -- events, builtin (static functionc), and classes hook_define_file = hook_cpp_namespace.."_define" hook_define_fn = "wxLuaGetDefineList_"..hook_cpp_namespace hook_object_file = hook_cpp_namespace.."_object" hook_object_fn = "wxLuaGetObjectList_"..hook_cpp_namespace hook_event_file = hook_cpp_namespace.."_event" hook_event_fn = "wxLuaGetEventList_"..hook_cpp_namespace hook_builtin_file = hook_cpp_namespace.."_builtin" hook_builtin_fn = "wxLuaGetBuiltinList_"..hook_cpp_namespace hook_class_file = hook_cpp_namespace.."_class" hook_class_fn = "wxLuaGetClassList_"..hook_cpp_namespace ------------------------------------------------------------------------------- -- generate comments into code comment = true ------------------------------------------------------------------------------- -- Set the file that contains bindings that need to be overridden --override_file = "override.hpp" ------------------------------------------------------------------------------- -- list of interface files to use to make the bindings in the "interfacedir" interfaceFileList = { "stc.i" } ------------------------------------------------------------------------------- -- a table containing filenames of DataTypes.Cache.lua from other wrappers to -- to define classes and data types used in this wrapper -- NOTE: for the base wxWidgets wrappers we don't load the cache since they -- don't depend on other wrappers and can cause problems when interface -- files are updated. Make sure you delete or have updated any cache file -- that changes any data types. dataTypeCacheFilenames = { wxlua_dir.."/bindings/wxwidgets/DataTypes.Cache.lua" } ------------------------------------------------------------------------------- -- virtual wxLuaBinding::OnRegister body - can load extra lua bindings here --[[ onregister = { " wxLuaState wxLS(wxlState);\n", " wxCHECK_RET(wxLS.Ok(), wxT(\"Invalid wxLuaState\"));\n", "\n", " // register wxNull\n", " if (registerTypes)\n", " {\n", " wxLS.GetLuaStateRefData()->m_wxLuaNull = wxLS.tnewtag();\n", " }\n", "\n", " tpushwxLuaNull(wxLS.GetLuaState());\n", " wxLS.tpushusertag(NULL, wxLS.GetLuaStateRefData()->m_wxLuaNull);\n", " lua_rawset(wxLS.GetLuaState(), luaTable);\n", } ]] ------------------------------------------------------------------------------- -- Add additional include information for binding header file -- This code will be place directly after any #includes at the top of the file headerCPPCode = "#include \"wx/defs.h\"\n".. "#include \"wxbind/include/wxbind.h\"\n".. "#ifndef wxUSE_WAVE\n#define wxUSE_WAVE 0\n#endif\n".. "#ifndef wxUSE_SOUND\n#define wxUSE_SOUND 0\n#endif\n" ------------------------------------------------------------------------------- -- Add additional conditions here -- example: conditions["DOXYGEN_INCLUDE"] = "defined(DOXYGEN_INCLUDE)" ------------------------------------------------------------------------------- -- Add additional data types here -- example: dataTypes["wxArrayInt"] = AllocDataType("wxArrayInt", "class",false) --- NEW FILE: wxluasetup.h.in --- // Automatically generated by utils/get_luasetup edit as necessary. #ifndef __WXLUA_SETUP__ #define __WXLUA_SETUP__ #define wxLUA_USE_FL 0 #define wxLUA_USE_Geometry 1 #define wxLUA_USE_MDI 1 #define wxLUA_USE_wxAcceleratorTable 1 #define wxLUA_USE_wxApp 1 #define wxLUA_USE_wxArrayInt 1 #define wxLUA_USE_wxArrayString 1 #define wxLUA_USE_wxBitmap 1 #define wxLUA_USE_wxBitmapButton 1 #define wxLUA_USE_wxBrushList 1 #define wxLUA_USE_wxButton 1 #define wxLUA_USE_wxCalendarCtrl 1 #define wxLUA_USE_wxCaret 1 #define wxLUA_USE_wxCheckBox 1 #define wxLUA_USE_wxCheckListBox 1 #define wxLUA_USE_wxChoice 1 #define wxLUA_USE_wxClassInfo 1 #define wxLUA_USE_wxClipboard 1 #define wxLUA_USE_wxColourDialog 1 #define wxLUA_USE_wxColourPenBrush 1 #define wxLUA_USE_wxComboBox 1 #define wxLUA_USE_wxCommandProcessor 1 #define wxLUA_USE_wxConfig 1 #define wxLUA_USE_wxCursor 1 #define wxLUA_USE_wxDataObject 1 #define wxLUA_USE_wxDateSpan 1 #define wxLUA_USE_wxDateTime 1 #define wxLUA_USE_wxDC 1 #define wxLUA_USE_wxDialog 1 #define wxLUA_USE_wxDir 1 #define wxLUA_USE_wxDirDialog 1 #define wxLUA_USE_wxDragDrop 1 #define wxLUA_USE_wxFile 1 #define wxLUA_USE_wxFileDialog 1 #define wxLUA_USE_wxFileHistory 1 #define wxLUA_USE_wxFileName 1 #define wxLUA_USE_wxFindReplaceDialog 1 #define wxLUA_USE_wxFont 1 #define wxLUA_USE_wxFontDialog 1 #define wxLUA_USE_wxFontEnumerator 1 #define wxLUA_USE_wxFontList 1 #define wxLUA_USE_wxFontMapper 1 #define wxLUA_USE_wxFrame 1 #define wxLUA_USE_wxGauge 1 #define wxLUA_USE_wxGenericValidator 1 #define wxLUA_USE_wxGrid 1 #define wxLUA_USE_wxHashTable 1 #define wxLUA_USE_wxHelpController 1 #define wxLUA_USE_wxHTML 1 #define wxLUA_USE_wxHtmlHelpController 1 #define wxLUA_USE_wxIcon 1 #define wxLUA_USE_wxID_XXX 1 #define wxLUA_USE_wxImage 1 #define wxLUA_USE_wxImageList 1 #define wxLUA_USE_wxLayoutConstraints 1 #define wxLUA_USE_wxList 1 #define wxLUA_USE_wxListBox 1 #define wxLUA_USE_wxListCtrl 1 #define wxLUA_USE_wxLuaDebugServer 1 #define wxLUA_USE_wxLuaHtmlWindow 1 #define wxLUA_USE_wxLuaPrintout 1 #define wxLUA_USE_wxMask 1 #define wxLUA_USE_wxMenu 1 #define wxLUA_USE_wxMessageDialog 1 #define wxLUA_USE_wxMetafile 1 #define wxLUA_USE_wxMiniFrame 1 #define wxLUA_USE_wxNotebook 1 #define wxLUA_USE_wxObject 1 #define wxLUA_USE_wxPalette 1 #define wxLUA_USE_wxPenList 1 #define wxLUA_USE_wxPointSizeRect 1 #define wxLUA_USE_wxPrint 1 #define wxLUA_USE_wxProgressDialog 1 #define wxLUA_USE_wxRadioBox 1 #define wxLUA_USE_wxRadioButton 1 #define wxLUA_USE_wxRegEx 1 #define wxLUA_USE_wxRegion 1 #define wxLUA_USE_wxSashWindow 1 #define wxLUA_USE_wxScrollBar 1 #define wxLUA_USE_wxScrolledWindow 1 #define wxLUA_USE_wxSingleChoiceDialog 1 #define wxLUA_USE_wxSizer 1 #define wxLUA_USE_wxSlider 1 #define wxLUA_USE_wxSocket 1 #define wxLUA_USE_wxSpinButton 1 #define wxLUA_USE_wxSpinCtrl 1 #define wxLUA_USE_wxSplitterWindow 1 #define wxLUA_USE_wxStaticBitmap 1 #define wxLUA_USE_wxStaticBox 1 #define wxLUA_USE_wxStaticLine 1 #define wxLUA_USE_wxStaticText 1 #define wxLUA_USE_wxStatusBar 1 #define wxLUA_USE_wxStringList 1 #define wxLUA_USE_wxStyledTextCtrl 0 #define wxLUA_USE_wxSystemSettings 1 #define wxLUA_USE_wxTabCtrl 1 #define wxLUA_USE_wxTaskBarIcon 1 #define wxLUA_USE_wxTextCtrl 1 #define wxLUA_USE_wxTextEntryDialog 1 #define wxLUA_USE_wxTextValidator 1 #define wxLUA_USE_wxTimer 1 #define wxLUA_USE_wxTimeSpan 1 #define wxLUA_USE_wxToolbar 1 #define wxLUA_USE_wxTooltip 1 #define wxLUA_USE_wxTreeCtrl 1 #define wxLUA_USE_wxValidator 1 #define wxLUA_USE_wxWave 1 #define wxLUA_USE_wxWindowList 1 #define wxLUA_USE_wxWizard 1 #define wxLUA_USE_wxXMLResource 1 #endif // __WXLUA_SETUP__ --- NEW FILE: Makefile --- # # File: makefile.unx # Author: J Winwood # Created: 2002 # Updated: # Copyright: (c) 2002. J Winwood # # # Makefile for generating the bindings WXLUA_DIR = ../.. include $(WXLUA_DIR)/bindings/wxwidgets/wrappers.lst THEWRAPPERS=$(addprefix $(WXLUA_DIR)/bindings/wxwidgets/, $(WRAPPERS)) DEPFILES=wxluasetup.h.in $(WXLUA_DIR)/bindings/genwxbind.lua $(WXLUA_DIR)/bindings/wxwidgets/override.hpp # $(THEWRAPPERS) all: genwxbind genwxbind: $(DEPFILES) @(cd $(WXLUA_DIR)/bindings && ../bin/lua -e"rulesFilename=\"wxstc/wxstc_rules.lua\"" genwxbind.lua > wxstc/error.txt) # do nothing to clean clean: --- NEW FILE: stc.i --- ///////////////////////////////////////////////////////////////////////////// // Purpose: wxStyledTextCtrl from contribs // Author: J Winwood // Created: 14/11/2001 // Copyright: (c) 2001-2002 Lomtick Software. All rights reserved. // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// %if wxLUA_USE_wxStyledTextCtrl %include "wx/stc/stc.h" %define wxSTC_INVALID_POSITION %define wxSTC_START %define wxSTC_OPTIONAL_START %define wxSTC_LEXER_START %define wxSTC_CMD_REDO %define wxSTC_CMD_SELECTALL %define wxSTC_WS_INVISIBLE [...1042 lines suppressed...] %property=ListType, read, write int GetX() const %property=X, read, write int GetY() const %property=Y, read, write wxString GetDragText() %property=DragText, read, write bool GetDragAllowMove() %property=DragAllowMove, read, write wxDragResult GetDragResult() %property=DragResult, read, write bool GetShift() const %property=Shift, read bool GetControl() const %property=Control, read bool GetAlt() const %property=Alt, read %endclass %endif wxLUA_USE_wxStyledTextCtrl |
From: John L. <jr...@us...> - 2006-02-02 15:49:39
|
Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/apps/wxluaedit/src Modified Files: Makefile Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 12 Dec 2005 05:16:31 -0000 1.3 --- Makefile 2 Feb 2006 15:49:24 -0000 1.4 *************** *** 42,45 **** --- 42,46 ---- WXLUASOCKET_LIB = $(WXBASENAME)_wxluasocket-$(WXRELEASE) WXLUABIND_LIB = $(WXBASENAME)_wxluabind-$(WXRELEASE) + WXLUASTC_LIB = $(WXBASENAME)_wxluastc-$(WXRELEASE) WXSTC_LIB = $(WXBASENAME)_stc-$(WXRELEASE) WXXRC_LIB = $(WXBASENAME)_xrc-$(WXRELEASE) *************** *** 50,54 **** WXSTEDIT_DIR = $(WXCODE)/components/wxstedit ! APPEXTRADEFS = -I$(WXSTEDIT_DIR)/include -I$(WXLUA_DIR)/modules -I$(WXPREFIX)/contrib/include -fexceptions -DLUACALL= # This will build a static wxLua app, staticly linked to .a libs --- 51,55 ---- WXSTEDIT_DIR = $(WXCODE)/components/wxstedit ! APPEXTRADEFS = -I$(WXLUA_DIR) -I$(WXSTEDIT_DIR)/include -I$(WXLUA_DIR)/modules -I$(WXPREFIX)/contrib/include -fexceptions -DLUACALL= # This will build a static wxLua app, staticly linked to .a libs *************** *** 57,61 **** # This will build a shared wxLua app, dynamicly linked to .so libs # -l$(WXFL_LIB) ! APPEXTRALIBS=-L$(WXLIB_DIR) -L$(WXLUA_LIBDIR) -l$(WXSTC_LIB) -l$(WXSTEDIT_LIB) -l$(WXXRC_LIB) -l$(WXLUABIND_LIB) -l$(WXLUA_LIB) -l$(WXLUADEBUG_LIB) -l$(WXLUASOCKET_LIB) $(LUA_LIBS) OBJECTS = wxluaedit.o wxledit.o --- 58,62 ---- # This will build a shared wxLua app, dynamicly linked to .so libs # -l$(WXFL_LIB) ! APPEXTRALIBS=-L$(WXLIB_DIR) -L$(WXLUA_LIBDIR) -l$(WXSTC_LIB) -l$(WXSTEDIT_LIB) -l$(WXXRC_LIB) -l$(WXLUABIND_LIB) -l$(WXLUASTC_LIB) -l$(WXLUA_LIB) -l$(WXLUADEBUG_LIB) -l$(WXLUASOCKET_LIB) $(LUA_LIBS) OBJECTS = wxluaedit.o wxledit.o |
From: John L. <jr...@us...> - 2006-02-02 15:49:37
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/bindings Modified Files: genwxbind.bat Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it Index: genwxbind.bat =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** genwxbind.bat 20 Jun 2005 06:55:23 -0000 1.2 --- genwxbind.bat 2 Feb 2006 15:49:24 -0000 1.3 *************** *** 6,9 **** --- 6,10 ---- echo Generating wxWidgets Binding %LUA% -e"rulesFilename=\"wxwidgets/wx.rules\"" genwxbind.lua > wxwidgets\error.txt + %LUA% -e"rulesFilename=\"wxwidgets/wxstc_rules.lua\"" genwxbind.lua > wxstc\error.txt echo Done. |
From: John L. <jr...@us...> - 2006-02-02 15:49:37
|
Update of /cvsroot/wxlua/wxLua/apps/wxlua/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/apps/wxlua/src Modified Files: Makefile Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/Makefile,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile 31 Jan 2006 04:31:09 -0000 1.10 --- Makefile 2 Feb 2006 15:49:24 -0000 1.11 *************** *** 42,45 **** --- 42,46 ---- WXLUASOCKET_LIB = $(WXBASENAME)_wxluasocket-$(WXRELEASE) WXLUABIND_LIB = $(WXBASENAME)_wxluabind-$(WXRELEASE) + WXLUASTC_LIB = $(WXBASENAME)_wxluastc-$(WXRELEASE) WXSTC_LIB = $(WXBASENAME)_stc-$(WXRELEASE) WXXRC_LIB = $(WXBASENAME)_xrc-$(WXRELEASE) *************** *** 53,57 **** # This will build a shared wxLua app, dynamicly linked to .so libs # -l$(WXFL_LIB) ! APPEXTRALIBS=-L$(WXLIB_DIR) -L$(WXLUA_LIBDIR) -l$(WXSTC_LIB) -l$(WXXRC_LIB) -l$(WXLUABIND_LIB) -l$(WXLUA_LIB) -l$(WXLUADEBUG_LIB) -l$(WXLUASOCKET_LIB) $(LUA_LIBS) OBJECTS=wxlua.o --- 54,58 ---- # This will build a shared wxLua app, dynamicly linked to .so libs # -l$(WXFL_LIB) ! APPEXTRALIBS=-L$(WXLIB_DIR) -L$(WXLUA_LIBDIR) -l$(WXSTC_LIB) -l$(WXXRC_LIB) -l$(WXLUABIND_LIB) -l$(WXLUASTC_LIB) -l$(WXLUA_LIB) -l$(WXLUADEBUG_LIB) -l$(WXLUASOCKET_LIB) $(LUA_LIBS) OBJECTS=wxlua.o *************** *** 61,65 **** $(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $< ! all: lua wxLuaLib wxLuaDebugLib wxLuaSocketLib wxLuaBindings $(PROGRAM) $(PROGRAM): $(OBJECTS) $(LUA_LIBS) wxLuaLib wxLuaDebugLib wxLuaSocketLib wxLuaBindings --- 62,66 ---- $(CXX) -c $(CXXFLAGS) $(APPEXTRADEFS) -o $@ $< ! all: lua wxLuaLib wxLuaDebugLib wxLuaSocketLib wxLuaBindings wxSTCBindings $(PROGRAM) $(PROGRAM): $(OBJECTS) $(LUA_LIBS) wxLuaLib wxLuaDebugLib wxLuaSocketLib wxLuaBindings *************** *** 69,73 **** @(cd $(WXLUA_DIR)/modules/lua && make) ! bindings: @(cd $(WXLUA_DIR)/bindings/wxwidgets && make) --- 70,77 ---- @(cd $(WXLUA_DIR)/modules/lua && make) ! wxwidgets_bindings: ! @(cd $(WXLUA_DIR)/bindings/wxwidgets && make) ! ! wxstc_bindings: @(cd $(WXLUA_DIR)/bindings/wxwidgets && make) *************** *** 78,81 **** --- 82,88 ---- @(cd $(WXLUA_DIR)/modules/wxbind/src && make) + wxSTCBindings: + @(cd $(WXLUA_DIR)/modules/wxstc/src && make) + wxLuaLib: @(cd $(WXLUA_DIR)/modules/wxlua/src && make) |
From: John L. <jr...@us...> - 2006-02-02 15:49:36
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/modules/wxbind/src Modified Files: Makefile Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 23 Jan 2006 04:38:29 -0000 1.5 --- Makefile 2 Feb 2006 15:49:24 -0000 1.6 *************** *** 81,85 **** ../../../modules/wxbind/src/sizer.cpp \ ../../../modules/wxbind/src/socket.cpp \ - ../../../modules/wxbind/src/stc.cpp \ ../../../modules/wxbind/src/thread.cpp \ ../../../modules/wxbind/src/wave.cpp \ --- 81,84 ---- |
From: John L. <jr...@us...> - 2006-02-02 15:49:36
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/modules/wxlua/src Modified Files: wxlbind.cpp Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it Index: wxlbind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlbind.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** wxlbind.cpp 23 Jan 2006 19:38:30 -0000 1.13 --- wxlbind.cpp 2 Feb 2006 15:49:25 -0000 1.14 *************** *** 245,251 **** lua_State *L = wxlState.GetLuaState(); ! // create a global ! lua_pushstring(L, wx2lua(nameSpace)); ! lua_pushvalue(L, luaTable); lua_rawset(L, LUA_GLOBALSINDEX); lua_pop(L, 1); --- 245,257 ---- lua_State *L = wxlState.GetLuaState(); ! ! // create a global for the namespace if it doesn't already exist ! lua_getglobal(L, wx2lua(nameSpace)); ! if (!lua_istable(L, -1)) ! { ! lua_pushstring(L, wx2lua(nameSpace)); ! lua_pushvalue(L, luaTable); ! } ! lua_rawset(L, LUA_GLOBALSINDEX); lua_pop(L, 1); *************** *** 267,290 **** lua_State *L = wxlState.GetLuaState(); ! // create references table in registry ! tpushwxLuaReferences(L); ! lua_newtable(L); ! lua_rawset(L, LUA_REGISTRYINDEX); ! // create a tag for the wxLua table ! if (registerTypes) ! m_wxLuaTable = wxlState.tnewtag(); ! // create the wxLua table ! lua_newtable(L); ! int tableOffset = lua_gettop(L); ! // set the table tag ! wxlState.tsettag(m_wxLuaTable); ! // prevent changes from lua scripts ! //wxlState.tsettagmethod(m_wxLuaTable, "__newindex", wxLua_lua_tableErrorHandler); // FIXME allow this? ! // register all out classes etc. in the wxLua table RegisterGeneratedClasses(wxlState, tableOffset, registerTypes); --- 273,325 ---- lua_State *L = wxlState.GetLuaState(); ! int tableOffset = 0; ! // create a global for the namespace if it doesn't already exist ! lua_getglobal(L, wx2lua(nameSpace)); ! if (!lua_istable(L, -1)) ! { ! // pop the nil value ! lua_pop(L, 1); ! // create references table in registry ! tpushwxLuaReferences(L); ! lua_newtable(L); ! lua_rawset(L, LUA_REGISTRYINDEX); ! // create a tag for the wxLua table ! if (registerTypes) ! m_wxLuaTable = wxlState.tnewtag(); ! // create the wxLua table ! lua_newtable(L); ! tableOffset = lua_gettop(L); ! // set the table tag ! wxlState.tsettag(m_wxLuaTable); ! ! // prevent changes from lua scripts ! wxlState.tsettagmethod(m_wxLuaTable, "__newindex", wxLua_lua_tableErrorHandler); // FIXME allow this? ! } ! else ! { ! // leave the global table on the stack ! tableOffset = lua_gettop(L); ! ! // find the m_wxLuaTable of the previously loaded binding ! wxLuaBindingList::Node *node; ! for (node = wxLuaBinding::GetBindingList()->GetFirst(); node; node = node->GetNext() ) ! { ! wxLuaBinding* binding = node->GetData(); ! wxCHECK_MSG(binding != this, 0, wxT("Invalid binding order?")); ! ! if (binding->nameSpace == nameSpace) ! { ! m_wxLuaTable = binding->m_wxLuaTable; ! break; ! } ! } ! } ! ! // register all our classes etc. in the wxLua table RegisterGeneratedClasses(wxlState, tableOffset, registerTypes); |
From: John L. <jr...@us...> - 2006-02-02 15:49:36
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31289/wxLua/bindings/wxwidgets Modified Files: wx.rules Log Message: separated wxSTC contrib from the wxWidgets binding, create new module for it Index: wx.rules =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wx.rules,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wx.rules 24 Jan 2006 05:23:32 -0000 1.12 --- wx.rules 2 Feb 2006 15:49:24 -0000 1.13 *************** *** 90,94 **** "sizer.i", "socket.i", - "stc.i", "thread.i", "wave.i", --- 90,93 ---- |
From: John L. <jr...@us...> - 2006-02-02 15:48:09
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30875/wxbindstc/include Log Message: Directory /cvsroot/wxlua/wxLua/modules/wxbindstc/include added to the repository |
From: John L. <jr...@us...> - 2006-02-02 15:48:09
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30875/wxbindstc/src Log Message: Directory /cvsroot/wxlua/wxLua/modules/wxbindstc/src added to the repository |
From: John L. <jr...@us...> - 2006-02-02 15:47:53
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30822/wxbindstc Log Message: Directory /cvsroot/wxlua/wxLua/modules/wxbindstc added to the repository |
From: John L. <jr...@us...> - 2006-02-02 15:43:30
|
Update of /cvsroot/wxlua/wxLua/bindings/wxstc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29053/wxstc Log Message: Directory /cvsroot/wxlua/wxLua/bindings/wxstc added to the repository |