]> git.saurik.com Git - wxWidgets.git/commitdiff
Ops, stupid me.
authorGuillermo Rodriguez Garcia <guille@iies.es>
Tue, 7 Mar 2000 17:16:54 +0000 (17:16 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Tue, 7 Mar 2000 17:16:54 +0000 (17:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/socket.h

index f8f5575aca8d56b5659b57edf8ec982a0dcb74f3..33726e4a786d59a401b9e5107bb6bdc24ea85a0b 100644 (file)
@@ -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