fixes #14318
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -227,14 +227,14 @@ public:
|
|||||||
template <class TDerived>
|
template <class TDerived>
|
||||||
wxWeakRef(TDerived* pobj)
|
wxWeakRef(TDerived* pobj)
|
||||||
{
|
{
|
||||||
Assign(pobj);
|
this->Assign(pobj);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need this copy ctor, since otherwise a default compiler (binary) copy
|
// We need this copy ctor, since otherwise a default compiler (binary) copy
|
||||||
// happens (if embedded as an object member).
|
// happens (if embedded as an object member).
|
||||||
wxWeakRef(const wxWeakRef<T>& wr)
|
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)
|
||||||
|
Reference in New Issue
Block a user