X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac17f9b104ea2e8f622813d93e19870cebd9637c..3964e424bf6b70e43b7cf53ef41d279e4da5c037:/include/wx/mac/font.h diff --git a/include/wx/mac/font.h b/include/wx/mac/font.h index 2c3c17e84e..a49236c636 100644 --- a/include/wx/mac/font.h +++ b/include/wx/mac/font.h @@ -27,7 +27,7 @@ public: , m_style(wxNORMAL) , m_weight(wxNORMAL) , m_underlined(FALSE) - , m_faceName("Geneva") + , m_faceName(wxT("Geneva")) , m_encoding(wxFONTENCODING_DEFAULT) , m_macFontNum(0) , m_macFontSize(0) @@ -35,7 +35,7 @@ public: , m_macATSUFontID() { Init(10, wxDEFAULT, wxNORMAL, wxNORMAL, FALSE, - "Geneva", wxFONTENCODING_DEFAULT); + wxT("Geneva"), wxFONTENCODING_DEFAULT); } wxFontRefData(const wxFontRefData& data) @@ -106,12 +106,12 @@ protected: bool m_noAA; // No anti-aliasing public: - short m_macFontNum; - short m_macFontSize; + short m_macFontNum; + short m_macFontSize; unsigned char m_macFontStyle; wxUint32 m_macATSUFontID; public: - void MacFindFont() ; + void MacFindFont() ; }; // ---------------------------------------------------------------------------- // wxFont