From 924465f468b5071ce2bbb38dcc9a5b19e2c1f657 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 12 Feb 2014 13:15:17 +0000 Subject: [PATCH] Provide more detailed deprecation message for wxFont ctor. Be more clear about how should the code be changed. Closes #15972. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/font.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index e5f8632173..c264621856 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -110,7 +110,7 @@ public: virtual bool IsFixedWidth() const; - wxDEPRECATED_MSG("use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants") + wxDEPRECATED_MSG("use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD") wxFont(int size, int family, int style, @@ -122,7 +122,7 @@ public: (void)Create(size, (wxFontFamily)family, (wxFontStyle)style, (wxFontWeight)weight, underlined, face, encoding); } - wxDEPRECATED_MSG("use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants") + wxDEPRECATED_MSG("use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD") wxFont(const wxSize& pixelSize, int family, int style,