including ref classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
|
|
||||||
#ifdef __WXMAC_CARBON__
|
#ifdef __WXMAC_CARBON__
|
||||||
#include "wx/mac/corefoundation/cfstring.h"
|
#include "wx/mac/corefoundation/cfstring.h"
|
||||||
|
#include "wx/mac/corefoundation/cfdataref.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FixedToInt
|
#ifndef FixedToInt
|
||||||
@@ -429,6 +430,11 @@ public :
|
|||||||
|
|
||||||
operator refType () const { return m_ref; }
|
operator refType () const { return m_ref; }
|
||||||
|
|
||||||
|
wxMacCFRefHolder& operator=(refType r)
|
||||||
|
{
|
||||||
|
Set( r );
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
private :
|
private :
|
||||||
refType m_ref;
|
refType m_ref;
|
||||||
bool m_release;
|
bool m_release;
|
||||||
|
Reference in New Issue
Block a user