Update of /cvsroot/wxlua/wxLua/docs
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14412/wxLua/docs
Modified Files:
wxluaref.html
Log Message:
derive wxWindowList from wxList and add comment to show how to use it
Index: wxluaref.html
===================================================================
RCS file: /cvsroot/wxlua/wxLua/docs/wxluaref.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** wxluaref.html 6 Feb 2007 04:17:41 -0000 1.13
--- wxluaref.html 9 Feb 2007 05:17:09 -0000 1.14
***************
*** 3150,3155 ****
<a href="#wxNode">wxNode</a> *GetNext()<br>
<a href="#wxNode">wxNode</a> *GetPrevious()<br>
! void SetData(<a href="#wxObject">wxObject</a> *Data)<br>
! //int IndexOf()<br>
<br>
<font color=#000077> <i>%property</i>=Data, read, write</font><br>
--- 3150,3155 ----
<a href="#wxNode">wxNode</a> *GetNext()<br>
<a href="#wxNode">wxNode</a> *GetPrevious()<br>
! void SetData(<a href="#wxObject">wxObject</a> *data)<br>
! int IndexOf()<br>
<br>
<font color=#000077> <i>%property</i>=Data, read, write</font><br>
***************
*** 12309,12320 ****
<i>%if</i> wxLUA_USE_wxWindowList<br>
<br>
! <font color=#AA0000><font size=+1><i>%class</i> <i>%noclassinfo</i> <b><a name="wxWindowList">wxWindowList</a></b></font></font><blockquote>
<br>
! void Clear()<br>
! void DeleteContents(bool destroy)<br>
! bool DeleteObject(<a href="#wxWindow">wxWindow</a> *pMenuItem)<br>
! int GetCount() const<br>
<br>
! <font color=#000077> <i>%property</i>=Count, read</font><br>
</blockquote><font color=#AA0000><i>%endclass</i></font><br>
<br>
--- 12309,12323 ----
<i>%if</i> wxLUA_USE_wxWindowList<br>
<br>
! <font color=#AA0000><font size=+1><i>%class</i> <i>%noclassinfo</i> <b><a name="wxWindowList">wxWindowList</a></b>, <a href="#wxList">wxList</a></font></font><blockquote>
! <a href="#wxWindowList">wxWindowList</a>()<br>
<br>
! // This is returned from wxWindow::GetChildren(), use <a href="#wxList">wxList</a> methods and<br>
! // wxNode::GetData():DynamicCast("wxWindow") to retrieve the <a href="#wxWindow">wxWindow</a><br>
<br>
! // frame = wx.<a href="#wxFrame">wxFrame</a>(wx.NULL, wx.wxID_ANY, "Test");<br>
! // win = wx.<a href="#wxWindow">wxWindow</a>(frame, wx.wxID_ANY)<br>
! // frame:Show(true)<br>
! // wlist = frame:GetChildren()<br>
! // wlist:Item(0):GetData():DynamicCast("wxWindow"):SetBackgroundColour(wx.wxRED)<br>
</blockquote><font color=#AA0000><i>%endclass</i></font><br>
<br>
***************
*** 12483,12486 ****
--- 12486,12490 ----
<a href="#wxNotebookEvent">wxNotebookEvent</a>(wxEventType eventType = wxEVT_NULL, int id = 0, int sel = -1, int oldSel = -1)<br>
<br>
+ // functions in <a href="#wxBookCtrlBaseEvent">wxBookCtrlBaseEvent</a><br>
//int GetOldSelection() const<br>
//int GetSelection() const<br>
***************
*** 12526,12529 ****
--- 12530,12534 ----
<a href="#wxListbookEvent">wxListbookEvent</a>(wxEventType eventType = wxEVT_NULL, int id = 0, int sel = -1, int oldSel = -1)<br>
<br>
+ // functions in <a href="#wxBookCtrlBaseEvent">wxBookCtrlBaseEvent</a><br>
//int GetOldSelection() const<br>
//int GetSelection() const<br>
***************
*** 12569,12572 ****
--- 12574,12578 ----
<a href="#wxChoicebookEvent">wxChoicebookEvent</a>(wxEventType eventType = wxEVT_NULL, int id = 0, int sel = -1, int oldSel = -1)<br>
<br>
+ // functions in <a href="#wxBookCtrlBaseEvent">wxBookCtrlBaseEvent</a><br>
//int GetOldSelection() const<br>
//int GetSelection() const<br>
|