]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
Ensure that the progress dialog parent is activated at the end under MSW.
[wxWidgets.git] / include / wx / fontutil.h
index 050e470fa07708965f72ce8ccd19111f2aa4a99b..0291b9217622c406036469ecf95b3123fe9f9d85 100644 (file)
@@ -152,11 +152,8 @@ public:
 
     void Free();
     void EnsureValid();
-    
+
     bool m_descriptorValid;
-#if wxOSX_USE_CORE_TEXT
-    CTFontDescriptorRef m_ctFontDescriptor;
-#endif
 
 #if wxOSX_USE_ATSU_TEXT
     bool            m_atsuFontValid;
@@ -168,13 +165,6 @@ public:
     wxInt16         m_qdFontFamily;
     wxInt16         m_qdFontStyle;
 #endif
-#endif
-
-#if wxOSX_USE_COCOA
-    WX_NSFontDescriptor m_nsFontDescriptor;
-    void            ValidateNSFontDescriptor();
-#endif
-#if wxOSX_USE_IPHONE
 #endif
 
     int           m_pointSize;
@@ -182,6 +172,7 @@ public:
     wxFontStyle   m_style;
     wxFontWeight  m_weight;
     bool          m_underlined;
+    bool          m_strikethrough;
     wxString      m_faceName;
     wxFontEncoding m_encoding;
 public :
@@ -197,6 +188,7 @@ public :
     wxFontStyle   style;
     wxFontWeight  weight;
     bool          underlined;
+    bool          strikethrough;
     wxString      faceName;
     wxFontEncoding encoding;
 #endif // platforms
@@ -234,6 +226,7 @@ public:
         SetStyle((wxFontStyle)font.GetStyle());
         SetWeight((wxFontWeight)font.GetWeight());
         SetUnderlined(font.GetUnderlined());
+        SetStrikethrough(font.GetStrikethrough());
 #if defined(__WXMSW__)
         if ( font.IsUsingSizeInPixels() )
             SetPixelSize(font.GetPixelSize());
@@ -262,6 +255,7 @@ public:
     wxFontStyle GetStyle() const;
     wxFontWeight GetWeight() const;
     bool GetUnderlined() const;
+    bool GetStrikethrough() const;
     wxString GetFaceName() const;
     wxFontFamily GetFamily() const;
     wxFontEncoding GetEncoding() const;
@@ -271,6 +265,7 @@ public:
     void SetStyle(wxFontStyle style);
     void SetWeight(wxFontWeight weight);
     void SetUnderlined(bool underlined);
+    void SetStrikethrough(bool strikethrough);
     bool SetFaceName(const wxString& facename);
     void SetFamily(wxFontFamily family);
     void SetEncoding(wxFontEncoding encoding);