X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/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)