From 114441d107f2a39f5891fa3d71e1a131da6acaca Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 19 May 2012 06:33:28 +0000 Subject: [PATCH] fixes #14318 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/weakref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.45.2