From: John L. <jr...@us...> - 2007-06-26 03:22:49
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15715/wxLua/docs Modified Files: changelog.txt readme.txt wxluaref.html Log Message: Added more classes Updated lua 5.1.2 with patches 1-6 Made wxluasudoku a little faster Index: wxluaref.html =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/wxluaref.html,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** wxluaref.html 25 Jun 2007 03:19:38 -0000 1.32 --- wxluaref.html 26 Jun 2007 03:22:05 -0000 1.33 *************** *** 1749,1755 **** <td> <tr> ! <td>wxLogGui <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 1749,1755 ---- <td> <tr> ! <td><a href="#wxLogGui">wxLogGui</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 1774,1785 **** <td> <tr> ! <td>wxLogTextCtrl <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> ! <td>wxLogWindow <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 1774,1785 ---- <td> <tr> ! <td><a href="#wxLogTextCtrl">wxLogTextCtrl</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> ! <td><a href="#wxLogWindow">wxLogWindow</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 2559,2565 **** <td> <tr> ! <td>wxSingleInstanceChecker <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 2559,2565 ---- <td> <tr> ! <td><a href="#wxSingleInstanceChecker">wxSingleInstanceChecker</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 2579,2585 **** <td> <tr> ! <td>wxSizerFlags <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 2579,2585 ---- <td> <tr> ! <td><a href="#wxSizerFlags">wxSizerFlags</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 2734,2740 **** <td> <tr> ! <td>wxStopWatch <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 2734,2740 ---- <td> <tr> ! <td><a href="#wxStopWatch">wxStopWatch</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 3164,3170 **** <td> <tr> ! <td>wxWindowUpdateLocker <td align="center" bgcolor=AAFFAA>X - <td bgcolor=FFAAAA> <td> <tr> --- 3164,3170 ---- <td> <tr> ! <td><a href="#wxWindowUpdateLocker">wxWindowUpdateLocker</a> ! <td align="center" bgcolor=AAFFAA>X <td align="center" bgcolor=AAFFAA>X <td> <tr> *************** *** 3432,3436 **** <font color=#009900>// <a href="#wxLog">wxLog</a></font><br> <br> ! <i>%if</i> wxUSE_LOG<br> <br> <i>%include</i> "wx/log.h"<br> --- 3432,3436 ---- <font color=#009900>// <a href="#wxLog">wxLog</a></font><br> <br> ! <i>%if</i> wxLUA_USE_wxLog && wxUSE_LOG<br> <br> <i>%include</i> "wx/log.h"<br> *************** *** 3558,3570 **** <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> ! <font color=#009900>// wxLogGui - wxWidgets creates and installs one of these at startup,</font><br> <font color=#009900>// just treat it as a <a href="#wxLog">wxLog</a>.</font><br> <br> ! <font color=#888888>/*<br> ! <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxLogGui">wxLogGui</a>, <a href="#wxLog">wxLog</a></font></b></font> ! <blockquote><font color=#888888> ! wxLogGui()<br> ! </font></blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><font color=#888888><br> ! */</font><br> <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> --- 3558,3572 ---- <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> ! <font color=#009900>// <a href="#wxLogGui">wxLogGui</a> - wxWidgets creates and installs one of these at startup,</font><br> <font color=#009900>// just treat it as a <a href="#wxLog">wxLog</a>.</font><br> <br> ! <i>%if</i> wxUSE_LOGGUI<br> ! <br> ! <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxLogGui">wxLogGui</a>, <a href="#wxLog">wxLog</a></font></b> ! <blockquote> ! <a href="#wxLogGui">wxLogGui</a>()<br> ! </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> ! <br> ! <i>%endif</i> <font color=#009900>// wxUSE_LOGGUI</font><br> <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> *************** *** 3609,3614 **** */</font><br> <br> ! <i>%endif</i> <font color=#009900>//wxUSE_LOG</font><br> <br> <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> --- 3611,3678 ---- */</font><br> <br> ! <font color=#009900>// ---------------------------------------------------------------------------</font><br> ! <font color=#009900>// <a href="#wxLogTextCtrl">wxLogTextCtrl</a></font><br> ! <br> ! <i>%if</i> wxLUA_USE_wxTextCtrl && wxUSE_TEXTCTRL<br> ! <br> ! <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxLogTextCtrl">wxLogTextCtrl</a>, <a href="#wxLog">wxLog</a></font></b> ! <blockquote> ! <a href="#wxLogTextCtrl">wxLogTextCtrl</a>(<a href="#wxTextCtrl">wxTextCtrl</a>* textCtrl);<br> <br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> + <i>%endif</i> <font color=#009900>// wxLUA_USE_wxTextCtrl && wxUSE_TEXTCTRL</font><br> + <br> + <font color=#009900>// ---------------------------------------------------------------------------</font><br> + <font color=#009900>// <a href="#wxLogWindow">wxLogWindow</a></font><br> + <br> + <i>%if</i> wxLUA_USE_wxLogWindow && wxUSE_LOGWINDOW<br> + <br> + <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxLogWindow">wxLogWindow</a>, <a href="#wxLogPassThrough">wxLogPassThrough</a></font></b> + <blockquote> + <a href="#wxLogWindow">wxLogWindow</a>(<a href="#wxWindow">wxWindow</a> *pParent, const <a href="#wxString">wxString</a>& szTitle, bool bShow = true, bool bPassToOld = true);<br> + <br> + void Show(bool show = true)<br> + <a href="#wxFrame">wxFrame</a> * GetFrame() const<br> + <br> + <font color=#009900>//virtual void OnFrameCreate(<a href="#wxFrame">wxFrame</a> *frame)</font><br> + <font color=#009900>//virtual bool OnFrameClose(<a href="#wxFrame">wxFrame</a> *frame)</font><br> + <font color=#009900>//virtual void OnFrameDelete(<a href="#wxFrame">wxFrame</a> *frame)</font><br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> + <i>%endif</i> <font color=#009900>// wxLUA_USE_wxLogWindow && wxUSE_LOGWINDOW</font><br> + <br> + <br> + <i>%endif</i> <font color=#009900>// wxLUA_USE_wxLog && wxUSE_LOG</font><br> + <br> + <font color=#009900>// ---------------------------------------------------------------------------</font><br> + <font color=#009900>// <a href="#wxSingleInstanceChecker">wxSingleInstanceChecker</a></font><br> + <br> + <i>%if</i> wxUSE_SNGLINST_CHECKER<br> + <br> + <i>%include</i> "wx/snglinst.h"<br> + <br> + <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxSingleInstanceChecker">wxSingleInstanceChecker</a></font></b> + <blockquote> + <a href="#wxSingleInstanceChecker">wxSingleInstanceChecker</a>() <font color=#009900>// default ctor, use Create() after it</font><br> + <font color=#009900>// like Create() but no error checking (dangerous!)</font><br> + <font color=#009900>//<a href="#wxSingleInstanceChecker">wxSingleInstanceChecker</a>(const <a href="#wxString">wxString</a>& name, const <a href="#wxString">wxString</a>& path = "")</font><br> + <br> + <font color=#009900>// name must be given and be as unique as possible, it is used as the mutex</font><br> + <font color=#009900>// name under Win32 and the lock file name under Unix -</font><br> + <font color=#009900>// wxTheApp->GetAppName() may be a good value for this parameter</font><br> + <font color=#009900>//</font><br> + <font color=#009900>// path is optional and is ignored under Win32 and used as the directory to</font><br> + <font color=#009900>// create the lock file in under Unix (default is wxGetHomeDir())</font><br> + <font color=#009900>//</font><br> + <font color=#009900>// returns false if initialization failed, it doesn't mean that another</font><br> + <font color=#009900>// instance is running - use IsAnotherRunning() to check it</font><br> + bool Create(const <a href="#wxString">wxString</a>& name, const <a href="#wxString">wxString</a>& path = "")<br> + <br> + bool IsAnotherRunning() const <font color=#009900>// is another copy of this program already running?</font><br> + <br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> + <i>%endif</i> <font color=#009900>// wxUSE_SNGLINST_CHECKER</font><br> <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> *************** *** 3933,3937 **** <i>%include</i> "wx/taskbar.h"<br> <br> ! <b><font size=+1 color=#DD0000><i>%class</i> <a name="wxTaskBarIcon">wxTaskBarIcon</a>, <a href="#wxEvtHandler">wxEvtHandler</a></font></b> <blockquote> <a href="#wxTaskBarIcon">wxTaskBarIcon</a>()<br> --- 3997,4001 ---- <i>%include</i> "wx/taskbar.h"<br> <br> ! <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <a name="wxTaskBarIcon">wxTaskBarIcon</a>, <a href="#wxEvtHandler">wxEvtHandler</a></font></b> <blockquote> <a href="#wxTaskBarIcon">wxTaskBarIcon</a>()<br> *************** *** 6831,6836 **** <font color=#AA0000><i>%function</i> long wxGetUTCTime()</font><br> <font color=#AA0000><i>%function</i> <a href="#wxLongLong">wxLongLong</a> wxGetLocalTimeMillis()</font><br> ! <font color=#AA0000><i>%wxcompat_2_6</i> <i>%function</i> void wxStartTimer() <font color=#009900>// deprecated in 2.8 use wxStopWatch</font></font><br> ! <font color=#AA0000><i>%wxcompat_2_6</i> <i>%function</i> long wxGetElapsedTime(bool resetTimer = true) <font color=#009900>// deprecated in 2.8 use wxStopWatch</font></font><br> <font color=#AA0000><i>%function</i> void wxSleep(int secs)</font><br> <font color=#AA0000><i>%wxchkver_2_6</i> <i>%function</i> void wxMilliSleep(unsigned long milliseconds)</font><br> --- 6895,6900 ---- <font color=#AA0000><i>%function</i> long wxGetUTCTime()</font><br> <font color=#AA0000><i>%function</i> <a href="#wxLongLong">wxLongLong</a> wxGetLocalTimeMillis()</font><br> ! <font color=#AA0000><i>%wxcompat_2_6</i> <i>%function</i> void wxStartTimer() <font color=#009900>// deprecated in 2.8 use <a href="#wxStopWatch">wxStopWatch</a></font></font><br> ! <font color=#AA0000><i>%wxcompat_2_6</i> <i>%function</i> long wxGetElapsedTime(bool resetTimer = true) <font color=#009900>// deprecated in 2.8 use <a href="#wxStopWatch">wxStopWatch</a></font></font><br> <font color=#AA0000><i>%function</i> void wxSleep(int secs)</font><br> <font color=#AA0000><i>%wxchkver_2_6</i> <i>%function</i> void wxMilliSleep(unsigned long milliseconds)</font><br> *************** *** 7206,7209 **** --- 7270,7294 ---- <i>%endif</i> <font color=#009900>//wxLUA_USE_wxTimer && wxUSE_TIMER</font><br> <br> + <br> + <font color=#009900>// ---------------------------------------------------------------------------</font><br> + <font color=#009900>// <a href="#wxStopWatch">wxStopWatch</a></font><br> + <br> + <i>%if</i> wxLUA_USE_wxStopWatch && wxUSE_STOPWATCH<br> + <br> + <i>%include</i> "wx/stopwatch.h"<br> + <br> + <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxStopWatch">wxStopWatch</a></font></b> + <blockquote> + <a href="#wxStopWatch">wxStopWatch</a>() <font color=#009900>// ctor starts the stop watch</font><br> + <br> + void Start(long t0 = 0) <font color=#009900>// start the stop watch at the moment t0</font><br> + void Pause()<br> + void Resume()<br> + long Time() const<br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> + <i>%endif</i> <font color=#009900>// wxLUA_USE_wxStopWatch && wxUSE_STOPWATCH</font><br> + <br> + <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> <font color=#009900>// <a href="#wxCalendarCtrl">wxCalendarCtrl</a></font><br> *************** *** 16785,16788 **** --- 16870,16914 ---- <i>%if</i> wxLUA_USE_wxSizer<br> <br> + <i>%if</i> <i>%wxchkver_2_8</i><br> + <br> + <font color=#009900>// ---------------------------------------------------------------------------</font><br> + <font color=#009900>// <a href="#wxSizerFlags">wxSizerFlags</a></font><br> + <br> + <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%encapsulate</i> <i>%noclassinfo</i> <a name="wxSizerFlags">wxSizerFlags</a></font></b> + <blockquote> + <a href="#wxSizerFlags">wxSizerFlags</a>(int proportion = 0)<br> + <br> + <font color=#009900>// setters for all sizer flags, they all return the object itself so that</font><br> + <font color=#009900>// calls to them can be chained</font><br> + <br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Proportion(int proportion)<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Align(int alignment) <font color=#009900>// combination of <a href="#wxAlignment">wxAlignment</a> values</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Expand() <font color=#009900>// wxEXPAND</font><br> + <br> + <font color=#009900>// some shortcuts for Align()</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Centre() <font color=#009900>//{ return Align(wxCENTRE); }</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Center() <font color=#009900>//{ return Centre(); }</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Left() <font color=#009900>//{ return Align(wxALIGN_LEFT); }</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Right() <font color=#009900>//{ return Align(wxALIGN_RIGHT); }</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Top() <font color=#009900>//{ return Align(wxALIGN_TOP); }</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Bottom() <font color=#009900>//{ return Align(wxALIGN_BOTTOM); }</font><br> + <br> + static int GetDefaultBorder() <font color=#009900>// default border size used by Border() below</font><br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Border(int direction, int borderInPixels)<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Border(int direction = wxALL)<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& DoubleBorder(int direction = wxALL)<br> + <br> + <a href="#wxSizerFlags">wxSizerFlags</a>& TripleBorder(int direction = wxALL)<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& HorzBorder()<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& DoubleHorzBorder()<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& Shaped()<br> + <a href="#wxSizerFlags">wxSizerFlags</a>& FixedMinSize()<br> + <br> + <font color=#009900>// accessors for <a href="#wxSizer">wxSizer</a> only</font><br> + int GetProportion() const<br> + int GetFlags() const<br> + int GetBorderInPixels() const<br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> <font color=#009900>// <a href="#wxSizerItem">wxSizerItem</a></font><br> *************** *** 16793,16798 **** <a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxWindow">wxWindow</a>* window, int proportion, int flag, int border, <a href="#wxObject">wxObject</a>* userData)<br> <a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxSizer">wxSizer</a>* sizer, int proportion, int flag, int border, <a href="#wxObject">wxObject</a>* userData)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxWindow">wxWindow</a>* window, const wxSizerFlags& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxSizer">wxSizer</a>* window, const wxSizerFlags& flags)</font><br> <br> <a href="#wxSize">wxSize</a> CalcMin()<br> --- 16919,16924 ---- <a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxWindow">wxWindow</a>* window, int proportion, int flag, int border, <a href="#wxObject">wxObject</a>* userData)<br> <a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxSizer">wxSizer</a>* sizer, int proportion, int flag, int border, <a href="#wxObject">wxObject</a>* userData)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxWindow">wxWindow</a>* window, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>(<a href="#wxSizer">wxSizer</a>* window, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> <br> <a href="#wxSize">wxSize</a> CalcMin()<br> *************** *** 16839,16844 **** <a href="#wxSizerItem">wxSizerItem</a>* Add(<a href="#wxSizer">wxSizer</a>* sizer, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> <a href="#wxSizerItem">wxSizerItem</a>* Add(int width, int height, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Add(<a href="#wxWindow">wxWindow</a>* window, const wxSizerFlags& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Add(<a href="#wxSizer">wxSizer</a>* sizer, const wxSizerFlags& flags)</font><br> <a href="#wxSizerItem">wxSizerItem</a>* AddSpacer(int size)<br> <a href="#wxSizerItem">wxSizerItem</a>* AddStretchSpacer(int prop = 1)<br> --- 16965,16970 ---- <a href="#wxSizerItem">wxSizerItem</a>* Add(<a href="#wxSizer">wxSizer</a>* sizer, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> <a href="#wxSizerItem">wxSizerItem</a>* Add(int width, int height, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Add(<a href="#wxWindow">wxWindow</a>* window, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Add(<a href="#wxSizer">wxSizer</a>* sizer, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> <a href="#wxSizerItem">wxSizerItem</a>* AddSpacer(int size)<br> <a href="#wxSizerItem">wxSizerItem</a>* AddStretchSpacer(int prop = 1)<br> *************** *** 16858,16863 **** <a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, <a href="#wxSizer">wxSizer</a>* sizer, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> <a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, int width, int height, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, <a href="#wxWindow">wxWindow</a>* window, const wxSizerFlags& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, <a href="#wxSizer">wxSizer</a>* sizer, const wxSizerFlags& flags)</font><br> <a href="#wxSizerItem">wxSizerItem</a>* InsertSpacer(size_t index, int size)<br> <a href="#wxSizerItem">wxSizerItem</a>* InsertStretchSpacer(size_t index, int prop = 1)<br> --- 16984,16989 ---- <a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, <a href="#wxSizer">wxSizer</a>* sizer, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> <a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, int width, int height, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, <a href="#wxWindow">wxWindow</a>* window, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Insert(size_t index, <a href="#wxSizer">wxSizer</a>* sizer, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> <a href="#wxSizerItem">wxSizerItem</a>* InsertSpacer(size_t index, int size)<br> <a href="#wxSizerItem">wxSizerItem</a>* InsertStretchSpacer(size_t index, int prop = 1)<br> *************** *** 16866,16871 **** void Prepend(<a href="#wxSizer">wxSizer</a>* sizer, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> void Prepend(int width, int height, int proportion = 0, int flag = 0, int border= 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Prepend(<a href="#wxWindow">wxWindow</a>* window, const wxSizerFlags& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Prepend(<a href="#wxSizer">wxSizer</a>* sizer, const wxSizerFlags& flags)</font><br> <a href="#wxSizerItem">wxSizerItem</a>* PrependSpacer(int size)<br> <a href="#wxSizerItem">wxSizerItem</a>* PrependStretchSpacer(int prop = 1)<br> --- 16992,16997 ---- void Prepend(<a href="#wxSizer">wxSizer</a>* sizer, int proportion = 0, int flag = 0, int border = 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> void Prepend(int width, int height, int proportion = 0, int flag = 0, int border= 0, <a href="#wxObject">wxObject</a>* userData = NULL)<br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Prepend(<a href="#wxWindow">wxWindow</a>* window, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> ! <font color=#009900>//<a href="#wxSizerItem">wxSizerItem</a>* Prepend(<a href="#wxSizer">wxSizer</a>* sizer, const <a href="#wxSizerFlags">wxSizerFlags</a>& flags)</font><br> <a href="#wxSizerItem">wxSizerItem</a>* PrependSpacer(int size)<br> <a href="#wxSizerItem">wxSizerItem</a>* PrependStretchSpacer(int prop = 1)<br> *************** *** 16930,16935 **** <b><font size=+1 color=#DD0000><i>%class</i> <a name="wxFlexGridSizer">wxFlexGridSizer</a>, <a href="#wxGridSizer">wxGridSizer</a></font></b> <blockquote> ! <a href="#wxFlexGridSizer">wxFlexGridSizer</a>(int rows, int cols, int vgap, int hgap)<br> ! <font color=#009900>// <a href="#wxFlexGridSizer">wxFlexGridSizer</a>(int cols, int vgap = 0, int hgap = 0)</font><br> <br> void AddGrowableCol( size_t idx, int proportion = 0 )<br> --- 17056,17061 ---- <b><font size=+1 color=#DD0000><i>%class</i> <a name="wxFlexGridSizer">wxFlexGridSizer</a>, <a href="#wxGridSizer">wxGridSizer</a></font></b> <blockquote> ! <a href="#wxFlexGridSizer">wxFlexGridSizer</a>(int rows, int cols, int vgap=0, int hgap=0)<br> ! <font color=#009900>// <a href="#wxFlexGridSizer">wxFlexGridSizer</a>(int cols, int vgap = 0, int hgap = 0) // just use the above constructor</font><br> <br> void AddGrowableCol( size_t idx, int proportion = 0 )<br> *************** *** 17967,17970 **** --- 18093,18107 ---- <br> <font color=#009900>// ---------------------------------------------------------------------------</font><br> + <font color=#009900>// <a href="#wxWindowUpdateLocker">wxWindowUpdateLocker</a> - Note this only calls wxWindow::Freeze() -> Thaw()</font><br> + <br> + <i>%include</i> "wx/wupdlock.h"<br> + <br> + <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxWindowUpdateLocker">wxWindowUpdateLocker</a></font></b> + <blockquote> + <font color=#009900>// NOTE: ALWAYS delete() this when done since lua's gc may not delete it soon enough</font><br> + <a href="#wxWindowUpdateLocker">wxWindowUpdateLocker</a>(<a href="#wxWindow">wxWindow</a> *winToLock = NULL)<br> + </blockquote><font color=#DD0000><font color=#DD0000><i>%endclass</i></font></font><br> + <br> + <font color=#009900>// ---------------------------------------------------------------------------</font><br> <font color=#009900>// <a href="#wxWindow">wxWindow</a></font><br> <font color=#006666><i>%define</i> wxSIMPLE_BORDER</font><br> *************** *** 18009,18016 **** </blockquote><font color=#0066CC><i>%endenum</i></font><br> <br> ! <i>%mac</i>|<i>%x11</i>|<i>%motif</i> <i>%typedef</i> WXWidget void*<br> ! <i>%gtk</i> <i>%typedef</i> WXWidget unsigned long <font color=#009900>// GtkWidget* what could you do with it?</font><br> ! <i>%mgl</i> <i>%typedef</i> WXWidget window_t<br> ! <i>%msw</i>|<i>%os2</i> <i>%typedef</i> WXWidget unsigned long<br> <br> <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxVisualAttributes">wxVisualAttributes</a></font></b> --- 18146,18153 ---- </blockquote><font color=#0066CC><i>%endenum</i></font><br> <br> ! <font color=#009900>//<i>%mac</i>|<i>%x11</i>|<i>%motif</i> <i>%typedef</i> WXWidget void*</font><br> ! <font color=#009900>//<i>%gtk</i> <i>%typedef</i> WXWidget unsigned long // GtkWidget* what could you do with it?</font><br> ! <font color=#009900>//<i>%mgl</i> <i>%typedef</i> WXWidget window_t</font><br> ! <font color=#009900>//<i>%msw</i>|<i>%os2</i> <i>%typedef</i> WXWidget unsigned long</font><br> <br> <b><font size=+1 color=#DD0000><i>%class</i> <i>%delete</i> <i>%noclassinfo</i> <i>%encapsulate</i> <a name="wxVisualAttributes">wxVisualAttributes</a></font></b> *************** *** 18096,18100 **** virtual <a href="#wxColour">wxColour</a> GetForegroundColour()<br> <a href="#wxWindow">wxWindow</a>* GetGrandParent() const<br> ! WXWidget GetHandle() const<br> virtual <a href="#wxString">wxString</a> GetHelpText() const<br> int GetId() const<br> --- 18233,18237 ---- virtual <a href="#wxColour">wxColour</a> GetForegroundColour()<br> <a href="#wxWindow">wxWindow</a>* GetGrandParent() const<br> ! <font color=#009900>//WXWidget GetHandle() const</font><br> virtual <a href="#wxString">wxString</a> GetHelpText() const<br> int GetId() const<br> Index: changelog.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/changelog.txt,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** changelog.txt 25 Jun 2007 03:19:38 -0000 1.38 --- changelog.txt 26 Jun 2007 03:22:04 -0000 1.39 *************** *** 113,116 **** --- 113,118 ---- or release it. + - Apply patches 1-6 for Lua 5.1.2 + version 2.8.0.0 (released 24/12/2006) -------------------------------------------------------------------- Index: readme.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/readme.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** readme.txt 30 Dec 2005 04:35:59 -0000 1.2 --- readme.txt 26 Jun 2007 03:22:05 -0000 1.3 *************** *** 26,62 **** interface dialogs, image manipulation, file manipulation, sockets, displaying HTML, and printing to name a few. - - ------------------------------------------------------------------------------- - Brief description of the wxLua internals - - The core of wxLua is based upon a ref counted class called wxLuaState derived - from the wxWidget's wxObject class. The wxLuaState class contains as a member - of it's ref data the 'C' lua_State which is the heart of lua. Since the class - is ref counted, it should be passed as const wxLuaState& and can be used in - much the same way as a wxBitmap, wxPen, or any of the other wxObject derived - classes that make use of it's ref counting. What this means for wxLua is that - instead of keeping pointers to the lua_State you have instances of the - wxLuaState. When the lua_State is closed, all the wxLuaStates sharing the ref - data will now know about it and segfaults from dangling pointers are avoided. - - The wxLuaState contains all of the lua 'C' functions, such as - lua_gettop(lua_State* L), but as member functions named lua_GetTop() which - use the internal lua_State and check for it's validity before use when compiled - in debug mode. The functions are capitalized to make them easier to find in an - editor. When the wxLuaState is Ok(), it means that the wxLuaState has - it's ref data and the lua_State is created. - - It is instructive to follow the creation of the wxLuaState by looking at - bool wxLuaState::Create(wxEvtHandler *handler, wxWindowID id) in - wxLua/modules/wxlua/src/wxlstate.cpp. The lua_State is created using lua_open() - and then the lua libraries are loaded, base, table, string, math, and so on. - Pushed into the lua_State is a light user data of of the wxLuaStateRefData with - the name "__wxLuaStateRefData". This is to allow us to then find the - wxLuaStateRefData "owner" of the lua_State when lua calls a 'C' function, see - wxLuaStateRefData::GetLuaStateRefData. We register print, alert, and traceback - functions to get the output of lua print() statements and send error messages - as wxLuaEvents, see wxEVT_LUA_ERROR. - - After the initial setup, the bindings are registered. - - TODO --- 26,27 ---- |