]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/font.h
remove unused variable assignment, closes #14928
[wxWidgets.git] / include / wx / gtk / font.h
index d1c04e2d8be81c6fdd2463662ecdd3f0fe33751a..bb0c5ec7b083411c80be6784eb7022ffd0b59f38 100644 (file)
@@ -104,6 +104,13 @@ public:
 
     wxDECLARE_COMMON_FONT_METHODS();
 
+    // Set Pango attributes in the specified layout. Currently only
+    // underlined and strike-through attributes are handled by this function.
+    //
+    // If neither of them is specified, returns false, otherwise sets up the
+    // attributes and returns true.
+    bool GTKSetPangoAttrs(PangoLayout* layout) const;
+
     // implementation from now on
     void Unshare();
 
@@ -112,15 +119,14 @@ public:
 protected:
     virtual void DoSetNativeFontInfo( const wxNativeFontInfo& info );
 
-    // common part of all ctors
-    void Init();
-
     virtual wxGDIRefData* CreateGDIRefData() const;
     virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const;
 
     virtual wxFontFamily DoGetFamily() const;
 
 private:
+    void Init();
+
     DECLARE_DYNAMIC_CLASS(wxFont)
 };