X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/weakref.h diff --git a/include/wx/weakref.h b/include/wx/weakref.h index a17c36d91b..e612db81b2 100644 --- a/include/wx/weakref.h +++ b/include/wx/weakref.h @@ -227,14 +227,14 @@ public: template wxWeakRef(TDerived* pobj) { - Assign(pobj); + this->Assign(pobj); } // We need this copy ctor, since otherwise a default compiler (binary) copy // happens (if embedded as an object member). wxWeakRef(const wxWeakRef& wr) { - Assign(wr.get()); + this->Assign(wr.get()); } wxWeakRef& operator=(const wxWeakRef& wr)