From 6b4a39fb51a0530c191548edb078f5beb0dc800b Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Mon, 6 Mar 2000 17:14:16 +0000 Subject: [PATCH] Documented Destroy() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/socket.tex | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 % -- 2.47.2