adding assign

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2007-11-24 09:39:31 +00:00
parent 9b3dbb11c7
commit 18d52fedab

View File

@ -597,6 +597,14 @@ wxFontEncoding wxMacGetFontEncFromSystemEnc(wxUint32 encoding)
//
// converts this string into a carbon foundation string with optional pc 2 mac encoding
void wxMacCFStringHolder::Assign( CFStringRef ref , bool release )
{
Release();
m_cfs = ref;
m_release = release;
}
void wxMacCFStringHolder::Assign( const wxString &st , wxFontEncoding WXUNUSED_IN_UNICODE(encoding) )
{
Release() ;