git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53470
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ // We need this copy ctor, since otherwise a default compiler (binary) copy happens
+ wxWeakRef(const wxWeakRef<T>& wr)
+ {
+ Assign(wr.get());
+ }
+
template <class TDerived>
wxWeakRef<T>& operator=(TDerived* pobj)
{
template <class TDerived>
wxWeakRef<T>& operator=(TDerived* pobj)
{
*/
wxWeakRef(T* pobj = NULL);
*/
wxWeakRef(T* pobj = NULL);
+ /**
+ Copy constructor.
+ */
+ wxWeakRef(const wxWeakRef<T>& wr);
+