Update of /cvsroot/wxlua/wxLua/docs
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10746/wxLua/docs
Modified Files:
changelog.txt wxluaref.html
Log Message:
changed wxEvtHandler::ConnectEvent to Connect
update all samples to reflect this
add win id ranges to connect
add untested wxEvtHandler::Disconnect
Index: wxluaref.html
===================================================================
RCS file: /cvsroot/wxlua/wxLua/docs/wxluaref.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wxluaref.html 24 May 2006 04:50:00 -0000 1.5
--- wxluaref.html 25 May 2006 03:55:22 -0000 1.6
***************
*** 4754,4763 ****
void AddPendingEvent(<a href="#wxEvent">wxEvent</a>& event)<br>
<br>
! <font color=#CC3300> // <i>%override</i> wxEvtHandler::ConnectEvent(int id, wxEventType eventType, lua function)</font><br>
! <font color=#CC3300> // <i>%override</i> wxEvtHandler::ConnectEvent(wxEventType eventType, lua function)</font><br>
! void ConnectEvent()<br>
<br>
! //bool Disconnect(wxEventType eventType = wxEVT_NULL, wxObjectEventFunction function = NULL, <a href="#wxObject">wxObject</a>* userData = NULL, <a href="#wxEvtHandler">wxEvtHandler</a>* eventSink = NULL)<br>
! //bool Disconnect(int id = wxID_ANY, wxEventType eventType = wxEVT_NULL, wxObjectEventFunction function = NULL, <a href="#wxObject">wxObject</a>* userData = NULL, <a href="#wxEvtHandler">wxEvtHandler</a>* eventSink = NULL)<br>
<br>
//void* GetClientData()<br>
--- 4754,4769 ----
void AddPendingEvent(<a href="#wxEvent">wxEvent</a>& event)<br>
<br>
! // NOTE: Connect used to be called ConnectEvent which is not the name of any C++ function.<br>
<br>
! <font color=#CC3300> // <i>%override</i> wxEvtHandler::Connect(int id, int lastId, wxEventType eventType, lua function)</font><br>
! <font color=#CC3300> // <i>%override</i> wxEvtHandler::Connect(int id, wxEventType eventType, lua function)</font><br>
! <font color=#CC3300> // <i>%override</i> wxEvtHandler::Connect(wxEventType eventType, lua function)</font><br>
! // Note: wxLua uses the userdata and the event sink and so they're not available<br>
! void Connect(int id, int lastId, wxEventType eventType, LuaFunction func)<br>
! <br>
! <font color=#CC3300> // <i>%override</i> bool Disconnect(int winid, int lastId, wxEventType eventType)</font><br>
! <font color=#CC3300> // <i>%override</i> bool Disconnect(int winid, wxEventType eventType)</font><br>
! <font color=#CC3300> // <i>%override</i> bool Disconnect(wxEventType eventType)</font><br>
! bool Disconnect(int id, int lastId, wxEventType eventType)<br>
<br>
//void* GetClientData()<br>
Index: changelog.txt
===================================================================
RCS file: /cvsroot/wxlua/wxLua/docs/changelog.txt,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** changelog.txt 20 May 2006 20:45:14 -0000 1.11
--- changelog.txt 25 May 2006 03:55:22 -0000 1.12
***************
*** 7,10 ****
--- 7,11 ----
- Switched from lua 5.0 to lua 5.1
+ - All bindings for wxWidgets have been updated to 2.6.3
- Reordered bindings/wxwidgets/overrides.hpp to follow binding *.i files
- Fixed %member tag for bindings to work properly
***************
*** 25,29 ****
(previously they were ignored)
- now the lua executable is called wxlua-lua to avoid conflicts
! with other installations of lua and a verbatim lua5.1 library and
executable is created instead
- updated wrapper generators and all build system for shared builds
--- 26,30 ----
(previously they were ignored)
- now the lua executable is called wxlua-lua to avoid conflicts
! with other installations of lua and a verbatim lua5.1 library and
executable is created instead
- updated wrapper generators and all build system for shared builds
***************
*** 31,35 ****
- added the new module "luamodule" which can be used to create a wx.dll/.so
module to use with the require() function of lua with the verbatim interpreter
!
version 2.6.2.0 (released 10/03/2006)
--- 32,39 ----
- added the new module "luamodule" which can be used to create a wx.dll/.so
module to use with the require() function of lua with the verbatim interpreter
! - *** Changed wxEvtHandler::ConnectEvent to wxEvtHandler::Connect since there
! is NO C++ function called ConnectEvent.
! - Fixed wxEvtHandler::Connect[Event] to follow the C++ winID semantics for the
! case where there is no winId supplied, use wxID_ANY.
version 2.6.2.0 (released 10/03/2006)
|