Removed over-specific references to wxDDE..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,8 +164,8 @@ you need to derive a class from wxConnection and another from
|
|||||||
wxClient. The custom wxConnection class will receive
|
wxClient. The custom wxConnection class will receive
|
||||||
communications in a `conversation' with a server. and the custom
|
communications in a `conversation' with a server. and the custom
|
||||||
wxServer is required so that a user-overridden
|
wxServer is required so that a user-overridden
|
||||||
\helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection}
|
\helpref{wxClient::OnMakeConnection}{wxddeclientonmakeconnection}
|
||||||
member can return a wxDDEConnection of the required class, when a
|
member can return a wxConnection of the required class, when a
|
||||||
connection is made.
|
connection is made.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
@@ -196,7 +196,7 @@ the derived wxClient. In the following, command line arguments
|
|||||||
are used to pass the host name (the name of the machine the
|
are used to pass the host name (the name of the machine the
|
||||||
server is running on) and the server name (identifying the server
|
server is running on) and the server name (identifying the server
|
||||||
process). Calling
|
process). Calling
|
||||||
\helpref{wxDDEClient::MakeConnection}{wxddeclientmakeconnection}\rtfsp
|
\helpref{wxClient::MakeConnection}{wxddeclientmakeconnection}\rtfsp
|
||||||
implicitly creates an instance of {\bf MyConnection} if the
|
implicitly creates an instance of {\bf MyConnection} if the
|
||||||
request for a connection is accepted, and the client then
|
request for a connection is accepted, and the client then
|
||||||
requests an {\it Advise} loop from the server (an Advise loop is
|
requests an {\it Advise} loop from the server (an Advise loop is
|
||||||
@@ -219,6 +219,3 @@ where the server calls the client when data has changed).
|
|||||||
connection->StartAdvise("Item");
|
connection->StartAdvise("Item");
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
Note that it is no longer necessary to call wxDDEInitialize or wxDDECleanUp, since
|
|
||||||
wxWidgets will do this by itself if necessary.
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user