X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bab636ddf48fa168ad24c49a161dfa39eab34e4..9b7e022676582feadfcce349d66a52be88121ac7:/interface/wx/socket.h diff --git a/interface/wx/socket.h b/interface/wx/socket.h index a0ada83119..b3b6837097 100644 --- a/interface/wx/socket.h +++ b/interface/wx/socket.h @@ -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();