Added some Motif wxGLCanvas support; some more Motif bugs cured; print dialogs
look OK on Motif now; got rid of some #ifdef wxUSE_... instances git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,27 +72,25 @@ future versions completely.
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
{\bf WARNING: } the rest of documentation may be out-of-date.
|
||||
|
||||
\wxheading{Example}
|
||||
|
||||
It is very common to iterate on a list as follows:
|
||||
|
||||
\begin{verbatim}
|
||||
...
|
||||
wxPoint *point1 = new wxPoint(100, 100);
|
||||
wxPoint *point2 = new wxPoint(200, 200);
|
||||
wxWindow *win1 = new wxWindow(...);
|
||||
wxWindow *win2 = new wxWindow(...);
|
||||
|
||||
wxList SomeList;
|
||||
SomeList.Append(point1);
|
||||
SomeList.Append(point2);
|
||||
SomeList.Append(win1);
|
||||
SomeList.Append(win2);
|
||||
|
||||
...
|
||||
|
||||
wxNode *node = SomeList.GetFirst();
|
||||
while (node)
|
||||
{
|
||||
wxPoint *point = (wxPoint *)node->Data();
|
||||
wxWindow *win = (wxWindow *)node->Data();
|
||||
...
|
||||
node = node->Next();
|
||||
}
|
||||
@@ -110,7 +108,7 @@ with
|
||||
|
||||
\begin{verbatim}
|
||||
...
|
||||
delete point;
|
||||
delete win;
|
||||
delete node;
|
||||
node = SomeList.GetFirst();
|
||||
...
|
||||
|
@@ -7,7 +7,7 @@ See also \helpref{wxRealPoint}{wxrealpoint} for a floating point version.
|
||||
|
||||
\wxheading{Derivation}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
None
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -4,7 +4,7 @@ A class for manipulating rectangles.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
None
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
@@ -5,7 +5,7 @@ It simply contains integer {\it x} and {\it y} members.
|
||||
|
||||
\wxheading{Derivation}
|
||||
|
||||
\helpref{wxObject}{wxobject}
|
||||
None
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
|
Reference in New Issue
Block a user