git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-05-19 06:33:28 +00:00
parent 4a90549b66
commit 114441d107

View 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)