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)