// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifndef __WX_CFSTRINGHOLDER_H__
+#define __WX_CFSTRINGHOLDER_H__
+
#ifdef __DARWIN__
#include <CoreFoundation/CFString.h>
#else
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:
DECLARE_NO_COPY_CLASS( wxMacCFStringHolder )
} ;
+#endif //__WXCFSTRINGHOLDER_H__