diff --git a/include/wx/weakref.h b/include/wx/weakref.h index af0a6c0817..74b590d627 100644 --- a/include/wx/weakref.h +++ b/include/wx/weakref.h @@ -225,7 +225,7 @@ public: template wxWeakRef& operator=(TDerived* pobj) { - Assign(pobj); + this->Assign(pobj); return *this; }