Add wxFont::GetBaseFont().
This can be used to "undo" the result of Bold() ,Underlined() or Italic() methods and returns an unadorned version of the font. Closes #11815. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -607,6 +607,14 @@ public:
|
||||
*/
|
||||
//@{
|
||||
|
||||
/**
|
||||
Returns a font with the same face/size as the given one but with normal
|
||||
weight and style and not underlined nor stricken through.
|
||||
|
||||
@since 3.1.0
|
||||
*/
|
||||
wxFont GetBaseFont() const;
|
||||
|
||||
/**
|
||||
Returns the encoding of this font.
|
||||
|
||||
|
Reference in New Issue
Block a user