]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/weakref.h
adding SetLabel -> SetTitle redirects, solves missing title updates using wxDocument...
[wxWidgets.git] / include / wx / weakref.h
index a17c36d91b2ca6e581ca132c808aea0ce3222fd8..e612db81b29d7299a8de0eeb38585f115261a1ea 100644 (file)
@@ -227,14 +227,14 @@ public:
     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)
     {
-        Assign(wr.get());
+        this->Assign(wr.get());
     }
 
     wxWeakRef<T>& operator=(const wxWeakRef<T>& wr)