Update of /cvsroot/wxlua/wxLua/modules/wxbind/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12286/wxLua/modules/wxbind/src
Modified Files:
wxaui_aui.cpp wxcore_gdi.cpp
Log Message:
A little more cleanup on genwxbind.lua to make it easier to follow
Fix bool member code generation
Index: wxcore_gdi.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxcore_gdi.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** wxcore_gdi.cpp 1 Aug 2007 19:15:35 -0000 1.3
--- wxcore_gdi.cpp 8 Nov 2007 00:06:39 -0000 1.4
***************
*** 15187,15192 ****
// get this
wxSplitterRenderParams *self = (wxSplitterRenderParams *) wxlState.GetUserDataType(1, s_wxluatag_wxSplitterRenderParams);
! // push the result number
! lua_pushnumber(L, self->isHotSensitive);
// return the number of values
return 1;
--- 15187,15192 ----
// get this
wxSplitterRenderParams *self = (wxSplitterRenderParams *) wxlState.GetUserDataType(1, s_wxluatag_wxSplitterRenderParams);
! // push the result flag
! lua_pushboolean(L, self->isHotSensitive);
// return the number of values
return 1;
Index: wxaui_aui.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxaui_aui.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** wxaui_aui.cpp 1 Aug 2007 19:15:35 -0000 1.3
--- wxaui_aui.cpp 8 Nov 2007 00:06:38 -0000 1.4
***************
*** 258,263 ****
// get this
wxAuiNotebookPage *self = (wxAuiNotebookPage *) wxlState.GetUserDataType(1, s_wxluatag_wxAuiNotebookPage);
! // push the result number
! lua_pushnumber(L, self->active);
// return the number of values
return 1;
--- 258,263 ----
// get this
wxAuiNotebookPage *self = (wxAuiNotebookPage *) wxlState.GetUserDataType(1, s_wxluatag_wxAuiNotebookPage);
! // push the result flag
! lua_pushboolean(L, self->active);
// return the number of values
return 1;
|