diff --git a/interface/object.h b/interface/object.h index b8795b34a7..35507bc200 100644 --- a/interface/object.h +++ b/interface/object.h @@ -33,7 +33,7 @@ public: never be destroyed directly but only as result of a DecRef() call. */ - wxObjectRefData(); + ~wxObjectRefData(); /** Decrements the reference count associated with this shared data and, if it diff --git a/interface/socket.h b/interface/socket.h index 99442b6ba9..32d3083e76 100644 --- a/interface/socket.h +++ b/interface/socket.h @@ -945,7 +945,7 @@ public: @see InterruptWait(), Wait() */ - bool Wait(long seconds = -1, long millisecond = 0); + bool WaitForLost(long seconds = -1, long millisecond = 0); /** This function waits until the socket is readable. This might mean that