adding assign
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -597,6 +597,14 @@ wxFontEncoding wxMacGetFontEncFromSystemEnc(wxUint32 encoding)
|
|||||||
//
|
//
|
||||||
|
|
||||||
// converts this string into a carbon foundation string with optional pc 2 mac 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) )
|
void wxMacCFStringHolder::Assign( const wxString &st , wxFontEncoding WXUNUSED_IN_UNICODE(encoding) )
|
||||||
{
|
{
|
||||||
Release() ;
|
Release() ;
|
||||||
|
Reference in New Issue
Block a user