From: Vadim Zeitlin Date: Tue, 25 Nov 2008 13:57:03 +0000 (+0000) Subject: temporary fix the linking problem due to making GSocket::Detected_Read/Write() non... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/53107283f366d1d4950559afcbf056e901e778fd temporary fix the linking problem due to making GSocket::Detected_Read/Write() non-virtual git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index c164f6477c..a1d76b9144 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -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