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