]> git.saurik.com Git - wxWidgets.git/commitdiff
fixes #14318
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 19 May 2012 06:33:28 +0000 (06:33 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 19 May 2012 06:33:28 +0000 (06:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/weakref.h

index a17c36d91b2ca6e581ca132c808aea0ce3222fd8..e612db81b29d7299a8de0eeb38585f115261a1ea 100644 (file)
@@ -227,14 +227,14 @@ public:
     template <class TDerived>
     wxWeakRef(TDerived* pobj)
     {
     template <class TDerived>
     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<T>& wr)
     {
     }
 
     // We need this copy ctor, since otherwise a default compiler (binary) copy
     // happens (if embedded as an object member).
     wxWeakRef(const wxWeakRef<T>& wr)
     {
-        Assign(wr.get());
+        this->Assign(wr.get());
     }
 
     wxWeakRef<T>& operator=(const wxWeakRef<T>& wr)
     }
 
     wxWeakRef<T>& operator=(const wxWeakRef<T>& wr)