git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33811
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifndef __WX_CFSTRINGHOLDER_H__
+#define __WX_CFSTRINGHOLDER_H__
+
#ifdef __DARWIN__
#include <CoreFoundation/CFString.h>
#else
#ifdef __DARWIN__
#include <CoreFoundation/CFString.h>
#else
void Assign( const wxString &str , wxFontEncoding encoding ) ;
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:
wxString AsString( wxFontEncoding encoding = wxFONTENCODING_DEFAULT ) ;
private:
DECLARE_NO_COPY_CLASS( wxMacCFStringHolder )
} ;
DECLARE_NO_COPY_CLASS( wxMacCFStringHolder )
} ;
+#endif //__WXCFSTRINGHOLDER_H__