]> git.saurik.com Git - wxWidgets.git/commitdiff
temporary fix the linking problem due to making GSocket::Detected_Read/Write() non...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Nov 2008 13:57:03 +0000 (13:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Nov 2008 13:57:03 +0000 (13:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gsocket.h

index c164f6477c260539c273edbc91f9f96f92a0d931..a1d76b9144c7822b82db25af403291a39b9bae26 100644 (file)
@@ -220,6 +220,13 @@ public:
     // named) OnRequest() method
     void NotifyOnStateChange(GSocketEvent event);
 
+    // FIXME: making these functions virtual is a hack necessary to make the
+    //        wxBase library link without requiring wxNet under Unix where
+    //        GSocketSelectManager (part of wxBase) uses them, they don't
+    //        really need to be virtual at all
+    virtual void Detected_Read() { }
+    virtual void Detected_Write() { }
+
     // this is officially SOCKET (unsigned int) under Windows but we don't want
     // to include winsock.h which defines SOCKET from here so just use int
     // under all platforms