X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..9ceed261f809dacf8f64c2287c5de9e45d22e5cb:/interface/wx/weakref.h diff --git a/interface/wx/weakref.h b/interface/wx/weakref.h index 17a158f9e7..6e988f0e12 100644 --- a/interface/wx/weakref.h +++ b/interface/wx/weakref.h @@ -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.