cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,22 +33,19 @@ class wxMacCFStringHolder
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxMacCFStringHolder()
|
wxMacCFStringHolder()
|
||||||
|
: m_cfs(NULL) , m_release(false)
|
||||||
{
|
{
|
||||||
m_cfs = NULL ;
|
|
||||||
m_release = false ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxMacCFStringHolder(const wxString &str , wxFontEncoding encoding )
|
wxMacCFStringHolder(const wxString &str , wxFontEncoding encoding )
|
||||||
|
: m_cfs(NULL) , m_release(false)
|
||||||
{
|
{
|
||||||
m_cfs = NULL ;
|
|
||||||
m_release = false ;
|
|
||||||
Assign( str , encoding ) ;
|
Assign( str , encoding ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxMacCFStringHolder(CFStringRef ref , bool release = true )
|
wxMacCFStringHolder(CFStringRef ref , bool release = true )
|
||||||
|
: m_cfs(ref) , m_release(release)
|
||||||
{
|
{
|
||||||
m_cfs = ref ;
|
|
||||||
m_release = release ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
~wxMacCFStringHolder()
|
~wxMacCFStringHolder()
|
||||||
@@ -80,5 +77,7 @@ private:
|
|||||||
|
|
||||||
CFStringRef m_cfs;
|
CFStringRef m_cfs;
|
||||||
bool m_release ;
|
bool m_release ;
|
||||||
|
|
||||||
|
DECLARE_NO_COPY_CLASS( wxMacCFStringHolder )
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user