]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private/sockmsw.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / msw / private / sockmsw.h
index 1c0a6fe6275592a5a84cd02af835170d8dfcf892..e0f550d329bd26b684c9bd48d81f3d8e06b21f67 100644 (file)
@@ -1,13 +1,12 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:       wx/msw/gsockmsw.h
+// Name:       wx/msw/private/gsockmsw.h
 // Purpose:    MSW-specific socket implementation
 // Authors:    Guilhem Lavaux, Guillermo Rodriguez Garcia, Vadim Zeitlin
 // Created:    April 1997
 // Copyright:  (C) 1999-1997, Guilhem Lavaux
 //             (C) 1999-2000, Guillermo Rodriguez Garcia
 //             (C) 2008 Vadim Zeitlin
-// RCS_ID:     $Id$
-// License:    wxWindows licence
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -39,6 +38,14 @@ public:
 
     virtual wxSocketError GetLastError() const;
 
+    virtual void ReenableEvents(wxSocketEventFlags WXUNUSED(flags))
+    {
+        // notifications are never disabled in this implementation, there is no
+        // need for this as WSAAsyncSelect() only sends notification once when
+        // the new data becomes available anyhow, so there is no need to do
+        // anything here
+    }
+
 private:
     virtual void DoClose();
 
@@ -53,7 +60,7 @@ private:
 
     friend class wxSocketMSWManager;
 
-    DECLARE_NO_COPY_CLASS(wxSocketImplMSW)
+    wxDECLARE_NO_COPY_CLASS(wxSocketImplMSW);
 };
 
 #endif  /* _WX_MSW_GSOCKMSW_H_ */