X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc534ff767dad4c41e5287f32f0c6283e70ba4ea..e5f741e5d467b1ce7105be96e9f3dcb553e8b89d:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 542adadde6..b2947da8e8 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -1242,7 +1242,7 @@ class WXDLLEXPORT wxSocketModule : public wxModule DECLARE_DYNAMIC_CLASS(wxSocketModule) public: - bool OnInit() { return GSocket_Init(); } + bool OnInit() { return GSocket_Init() != 0; } void OnExit() { GSocket_Cleanup(); } };