X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc534ff767dad4c41e5287f32f0c6283e70ba4ea..0f05afccede840e04872bfc82103b689b8edc447:/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(); } };