Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12669/wxLua/modules/wxbindstc/src
Modified Files:
stc.cpp
Log Message:
added all wxWidget's wxUSE_XXX conditions to the bindings
Index: stc.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/stc.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** stc.cpp 22 Feb 2007 20:33:10 -0000 1.24
--- stc.cpp 23 Feb 2007 04:35:33 -0000 1.25
***************
*** 6781,6785 ****
! #if wxLUA_USE_wxScrollBar
static wxLuaArgTag s_wxluatagArray_wxLua_wxStyledTextCtrl_SetVScrollBar[] = { &s_wxluatag_wxScrollBar, 0 };
// void SetVScrollBar(wxScrollBar* bar);
--- 6781,6785 ----
! #if wxLUA_USE_wxScrollBar && wxUSE_SCROLLBAR
static wxLuaArgTag s_wxluatagArray_wxLua_wxStyledTextCtrl_SetVScrollBar[] = { &s_wxluatag_wxScrollBar, 0 };
// void SetVScrollBar(wxScrollBar* bar);
***************
*** 6812,6816 ****
}
! #endif // wxLUA_USE_wxScrollBar
--- 6812,6816 ----
}
! #endif // wxLUA_USE_wxScrollBar && wxUSE_SCROLLBAR
***************
*** 7405,7412 ****
! #if wxLUA_USE_wxScrollBar
{ LuaMethod, "SetVScrollBar", wxLua_wxStyledTextCtrl_SetVScrollBar, 1, 1, s_wxluatagArray_wxLua_wxStyledTextCtrl_SetVScrollBar },
{ LuaMethod, "SetHScrollBar", wxLua_wxStyledTextCtrl_SetHScrollBar, 1, 1, s_wxluatagArray_wxLua_wxStyledTextCtrl_SetHScrollBar },
! #endif // wxLUA_USE_wxScrollBar
};
--- 7405,7412 ----
! #if wxLUA_USE_wxScrollBar && wxUSE_SCROLLBAR
{ LuaMethod, "SetVScrollBar", wxLua_wxStyledTextCtrl_SetVScrollBar, 1, 1, s_wxluatagArray_wxLua_wxStyledTextCtrl_SetVScrollBar },
{ LuaMethod, "SetHScrollBar", wxLua_wxStyledTextCtrl_SetHScrollBar, 1, 1, s_wxluatagArray_wxLua_wxStyledTextCtrl_SetHScrollBar },
! #endif // wxLUA_USE_wxScrollBar && wxUSE_SCROLLBAR
};
***************
*** 8084,8088 ****
! #if wxLUA_USE_wxDragDrop
static wxLuaArgTag s_wxluatagArray_wxLua_wxStyledTextEvent_SetDragResult[] = { &s_wxluaarg_Enumeration, 0 };
// void SetDragResult(wxDragResult val)
--- 8084,8088 ----
! #if wxLUA_USE_wxDragDrop && wxUSE_DRAG_AND_DROP
static wxLuaArgTag s_wxluatagArray_wxLua_wxStyledTextEvent_SetDragResult[] = { &s_wxluaarg_Enumeration, 0 };
// void SetDragResult(wxDragResult val)
***************
*** 8115,8119 ****
}
! #endif // wxLUA_USE_wxDragDrop
--- 8115,8119 ----
}
! #endif // wxLUA_USE_wxDragDrop && wxUSE_DRAG_AND_DROP
***************
*** 8207,8216 ****
{ LuaMethod, "Delete", wxLua_wxStyledTextEvent_Delete, 0, 0, s_wxluaargArray_None },
! #if wxLUA_USE_wxDragDrop
{ LuaMethod, "SetDragResult", wxLua_wxStyledTextEvent_SetDragResult, 1, 1, s_wxluatagArray_wxLua_wxStyledTextEvent_SetDragResult },
{ LuaMethod, "GetDragResult", wxLua_wxStyledTextEvent_GetDragResult, 0, 0, s_wxluaargArray_None },
{ LuaGetProp, "DragResult", wxLua_wxStyledTextEvent_GetDragResult, 0, 0, s_wxluaargArray_None },
{ LuaSetProp, "DragResult", wxLua_wxStyledTextEvent_SetDragResult, 1, 1, s_wxluaargArray_None },
! #endif // wxLUA_USE_wxDragDrop
};
--- 8207,8216 ----
{ LuaMethod, "Delete", wxLua_wxStyledTextEvent_Delete, 0, 0, s_wxluaargArray_None },
! #if wxLUA_USE_wxDragDrop && wxUSE_DRAG_AND_DROP
{ LuaMethod, "SetDragResult", wxLua_wxStyledTextEvent_SetDragResult, 1, 1, s_wxluatagArray_wxLua_wxStyledTextEvent_SetDragResult },
{ LuaMethod, "GetDragResult", wxLua_wxStyledTextEvent_GetDragResult, 0, 0, s_wxluaargArray_None },
{ LuaGetProp, "DragResult", wxLua_wxStyledTextEvent_GetDragResult, 0, 0, s_wxluaargArray_None },
{ LuaSetProp, "DragResult", wxLua_wxStyledTextEvent_SetDragResult, 1, 1, s_wxluaargArray_None },
! #endif // wxLUA_USE_wxDragDrop && wxUSE_DRAG_AND_DROP
};
|