diff --git a/docs/latex/wx/socket.tex b/docs/latex/wx/socket.tex index 7f1ce3bbbd..f802da8353 100644 --- a/docs/latex/wx/socket.tex +++ b/docs/latex/wx/socket.tex @@ -266,11 +266,11 @@ application must therefore be prepared to handle socket event messages even after calling Close. % -% Discard +% Destroy % \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, 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. +\wxheading{Return value} + +Always TRUE. + % % Discard %