git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-02-14 05:51:52 +00:00
parent 72d4ce98fb
commit 69ea41a788

View File

@ -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 )
} ;