Add wxFont::Underlined() and MakeUnderlined() methods.

Add two more helpers for consistency with the existing methods such as Bold()
and MakeBold().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-02-27 12:46:59 +00:00
parent 0d0fdaacf8
commit 801423ee34
4 changed files with 35 additions and 1 deletions

View File

@@ -574,6 +574,15 @@ public:
*/
wxFont Smaller() const;
/**
Returns underlined version of this font.
@see MakeUnderlined()
@since 2.9.2
*/
wxFont Underlined() const;
/**
Changes this font to be bold.
@@ -616,6 +625,15 @@ public:
*/
wxFont& MakeSmaller();
/**
Changes this font to be underlined.
@see Underlined()
@since 2.9.2
*/
wxFont& MakeUnderlined();
/**
Changes the size of this font.