From 0bb7d9966f85b5ffbf5b50bceb629cd2c83f8e06 Mon Sep 17 00:00:00 2001 From: pb101 Date: Fri, 16 Sep 2016 01:36:37 +0200 Subject: [PATCH] Fix copy paste mistake in wxDCFontChanger::Set() documentation Use correct "wxFont" instead of "wxColour". Closes #17665. --- interface/wx/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/dc.h b/interface/wx/dc.h index 351cfef253..e0e0597823 100644 --- a/interface/wx/dc.h +++ b/interface/wx/dc.h @@ -1865,7 +1865,7 @@ public: Set the font to use. This method is meant to be called once only and only on the objects - created with the constructor overload not taking wxColour argument and + created with the constructor overload not taking wxFont argument and has the same effect as the other constructor, i.e. sets the font to the given @a font and ensures that the old value is restored when this object is destroyed.