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
This commit is contained in:
@@ -220,6 +220,13 @@ public:
|
|||||||
// named) OnRequest() method
|
// named) OnRequest() method
|
||||||
void NotifyOnStateChange(GSocketEvent event);
|
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
|
// 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
|
// to include winsock.h which defines SOCKET from here so just use int
|
||||||
// under all platforms
|
// under all platforms
|
||||||
|
Reference in New Issue
Block a user