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