From fbf5995c0270231195b1d7abd48e72b8bf2ea2d2 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Tue, 7 Mar 2000 17:16:54 +0000 Subject: [PATCH] Ops, stupid me. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/socket.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/wx/socket.h b/include/wx/socket.h index f8f5575aca..33726e4a78 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -198,7 +198,10 @@ public: inline bool IsNoWait() const { return ((m_flags & wxSOCKET_NOWAIT) != 0); }; inline wxSocketType GetType() const { return m_type; } -protected: +private: + friend class wxSocketClient; + friend class wxSocketServer; + friend class wxDatagramSocket; // low level IO wxUint32 _Read(char* buffer, wxUint32 nbytes); @@ -209,8 +212,7 @@ protected: void Pushback(const char *buffer, wxUint32 size); wxUint32 GetPushback(char *buffer, wxUint32 size, bool peek); -protected: - +private: GSocket *m_socket; // GSocket wxSocketType m_type; // wxSocket type -- 2.45.2