From fcbaf584e303aa7f1bab842c746e81918f58e5fa Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 9 Dec 2016 14:26:38 +0100 Subject: [PATCH] Document that using 70 as size doesn't work in wxFont ctor Mention the workaround of using SetPointSize(70) instead. See #12315. --- interface/wx/font.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/wx/font.h b/interface/wx/font.h index 2f7ca100b4..e5c9d04c9c 100644 --- a/interface/wx/font.h +++ b/interface/wx/font.h @@ -485,7 +485,11 @@ public: @endcode @param pointSize - Size in points. See SetPointSize() for more info. + Size in points. See SetPointSize() for more info. Notice that, for + historical reasons, the value 70 here is interpreted at @c + wxDEFAULT and results in creation of the font with the default size + and not of a font with the size of 70pt. If you really need the + latter, please use SetPointSize(70). @param family The font family: a generic portable way of referring to fonts without specifying a facename. This parameter must be one of the ::wxFontFamily enumeration values.