X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc4e23d7c1cb43cd29648dd0b8d72770e2da1176..7f37eded21431a8464cf4b59a39667ded9e5fc09:/interface/wx/weakref.h diff --git a/interface/wx/weakref.h b/interface/wx/weakref.h index d6eb9fe4d8..6e988f0e12 100644 --- a/interface/wx/weakref.h +++ b/interface/wx/weakref.h @@ -3,7 +3,7 @@ // Purpose: interface of wxWeakRefDynamic, wxWeakRef // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -156,11 +156,10 @@ public: T& operator*() const; /** - Smart pointer member access. - Returns a pointer to the tracked object. + Smart pointer member access. Returns a pointer to the tracked object. If the internal pointer is @NULL this method will cause an assert in debug mode. */ - T* operator-(); + T* operator->(); /** Releases the currently tracked object and starts tracking @e pobj.