X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bab636ddf48fa168ad24c49a161dfa39eab34e4..a8bda512079352ba81933e278d9ccdb8ef7a9866:/interface/wx/socket.h diff --git a/interface/wx/socket.h b/interface/wx/socket.h index a0ada83119..0f57ef41a5 100644 --- a/interface/wx/socket.h +++ b/interface/wx/socket.h @@ -3,7 +3,7 @@ // Purpose: interface of wxIP*address, wxSocket* classes // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -710,6 +710,8 @@ public: does anything) but you must call Shutdown() exactly once for every call to Initialize(). + This function should only be called from the main thread. + @return @true if the sockets can be used, @false if the initialization failed and sockets are not available at all. @@ -721,6 +723,9 @@ public: This function undoes the call to Initialize() and must be called after every successful call to Initialize(). + + This function should only be called from the main thread, just as + Initialize(). */ static void Shutdown();