From dfc9fdca6f3576d70ce2c2025de0d0ad395045ee Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 18 May 2007 07:41:15 +0000 Subject: [PATCH] including ref classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/private.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index e2363eb8b6..e700104280 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -49,6 +49,7 @@ #ifdef __WXMAC_CARBON__ #include "wx/mac/corefoundation/cfstring.h" +#include "wx/mac/corefoundation/cfdataref.h" #endif #ifndef FixedToInt @@ -429,6 +430,11 @@ public : operator refType () const { return m_ref; } + wxMacCFRefHolder& operator=(refType r) + { + Set( r ); + return *this; + } private : refType m_ref; bool m_release;