- short GetMacFontNum() const;
- short GetMacFontSize() const;
- wxByte GetMacFontStyle() const;
- wxUint32 GetMacATSUFontID() const;
-
-protected:
- // common part of all ctors
- void Init();
-
+
+#if wxMAC_USE_ATSU_TEXT
+ // 'old' Quickdraw accessors
+ short MacGetFontNum() const;
+ short MacGetFontSize() const;
+ wxByte MacGetFontStyle() const;
+
+ // 'new' ATSUI accessors
+ wxUint32 MacGetATSUFontID() const;
+ wxUint32 MacGetATSUAdditionalQDStyles() const;
+ wxUint16 MacGetThemeFontID() const ;
+
+ // Returns an ATSUStyle not ATSUStyle*
+#endif
+#if wxMAC_USE_CORE_TEXT
+ const void * MacGetCTFont() const;
+ const void * MacGetCTFontDescriptor() const;
+#endif
+#if wxMAC_USE_CORE_TEXT || wxMAC_USE_ATSU_TEXT
+ void* MacGetATSUStyle() const ;
+#endif
+
+private: