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