]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/font.h
don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
[wxWidgets.git] / include / wx / mac / carbon / font.h
index b9e87b571ea69aa3097e502c9fbfafa14979ed51..9863e0325de4e298d2265e73607dd0cebd1a03e0 100644 (file)
@@ -101,12 +101,14 @@ public:
     wxUint16 MacGetThemeFontID() const ;
 
     // Returns an ATSUStyle not ATSUStyle*
-    void* MacGetATSUStyle() const ; 
 #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:
     void Unshare();