From: Stefan Csomor Date: Sat, 19 May 2012 06:33:28 +0000 (+0000) Subject: fixes #14318 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/114441d107f2a39f5891fa3d71e1a131da6acaca?ds=sidebyside fixes #14318 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)