fixes #14318
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4a90549b66
commit
114441d107
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user