From 57b1deb3e93b0ac978373007069ae13e5b81d1f6 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Fri, 6 Aug 2004 22:14:59 +0000 Subject: [PATCH] Use native C++ GSocket interface git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/socket.h b/include/wx/socket.h index 03cc2fb1bd..85394cdd18 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -118,7 +118,7 @@ public: inline bool IsData() { return WaitForRead(0, 0); }; inline bool IsDisconnected() const { return !IsConnected(); }; inline wxUint32 LastCount() const { return m_lcount; } - inline wxSocketError LastError() const { return (wxSocketError)GSocket_GetError(m_socket); } + inline wxSocketError LastError() const { return (wxSocketError)m_socket->GetError(); } void SaveState(); void RestoreState(); -- 2.45.2