]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for operator=() with DMC
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Oct 2008 23:14:48 +0000 (23:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Oct 2008 23:14:48 +0000 (23:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/weakref.h

index af0a6c08179bf9e04c629e1056e5edb67ca6577f..74b590d6278daff5c4c07298d373030b677301f2 100644 (file)
@@ -225,7 +225,7 @@ public:
     template <class TDerived>
     wxWeakRef<T>& operator=(TDerived* pobj)
     {
-        Assign(pobj);
+        this->Assign(pobj);
         return *this;
     }