Some corefoundation wrappers, Implement Associate and Unassociate for mac mime types

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2005-04-18 21:23:11 +00:00
parent 7fff801f2c
commit dd9b4b7f11
6 changed files with 1110 additions and 43 deletions

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_CFSTRINGHOLDER_H__
#define __WX_CFSTRINGHOLDER_H__
#ifdef __DARWIN__
#include <CoreFoundation/CFString.h>
#else
@@ -70,7 +73,7 @@ public:
void Assign( const wxString &str , wxFontEncoding encoding ) ;
operator CFStringRef () { return m_cfs; }
operator CFStringRef () const { return m_cfs; }
wxString AsString( wxFontEncoding encoding = wxFONTENCODING_DEFAULT ) ;
private:
@@ -81,3 +84,4 @@ private:
DECLARE_NO_COPY_CLASS( wxMacCFStringHolder )
} ;
#endif //__WXCFSTRINGHOLDER_H__