Documented Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -266,11 +266,11 @@ application must therefore be prepared to handle socket event messages
|
|||||||
even after calling Close.
|
even after calling Close.
|
||||||
|
|
||||||
%
|
%
|
||||||
% Discard
|
% Destroy
|
||||||
%
|
%
|
||||||
\membersection{wxSocketBase::Destroy}\label{wxsocketbasedestroy}
|
\membersection{wxSocketBase::Destroy}\label{wxsocketbasedestroy}
|
||||||
|
|
||||||
\func{void}{Destroy}{\void}
|
\func{bool}{Destroy}{\void}
|
||||||
|
|
||||||
Destroys the socket safely. Use this function instead of the delete operator,
|
Destroys the socket safely. Use this function instead of the delete operator,
|
||||||
since otherwise socket events could reach the application even after the
|
since otherwise socket events could reach the application even after the
|
||||||
@@ -281,6 +281,10 @@ socket objects in the stack.
|
|||||||
|
|
||||||
Destroy calls \helpref{Close}{wxsocketbaseclose} automatically.
|
Destroy calls \helpref{Close}{wxsocketbaseclose} automatically.
|
||||||
|
|
||||||
|
\wxheading{Return value}
|
||||||
|
|
||||||
|
Always TRUE.
|
||||||
|
|
||||||
%
|
%
|
||||||
% Discard
|
% Discard
|
||||||
%
|
%
|
||||||
|
Reference in New Issue
Block a user