From: Francesco Montorsi Date: Sun, 15 Mar 2009 16:42:05 +0000 (+0000) Subject: wxMSW and wxPalmOS already had the wxFont(const wxSize&...) ctor; don't duplicate it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bff248644eb51397254b796bee24fa995b8870b0 wxMSW and wxPalmOS already had the wxFont(const wxSize&...) ctor; don't duplicate it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 5db34d64ce..4756c68eab 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -48,18 +48,6 @@ public: Create(size, family, style, weight, underlined, face, encoding); } - wxFont(const wxSize& pixelSize, - wxFontFamily family, - wxFontStyle style, - wxFontWeight weight, - bool underlined = false, - const wxString& face = wxEmptyString, - wxFontEncoding encoding = wxFONTENCODING_DEFAULT) - { - Create(10, family, style, weight, underlined, face, encoding); - SetPixelSize(pixelSize); - } - bool Create(int size, wxFontFamily family, wxFontStyle style, diff --git a/include/wx/palmos/font.h b/include/wx/palmos/font.h index f1d6acb4e5..a800719d7c 100644 --- a/include/wx/palmos/font.h +++ b/include/wx/palmos/font.h @@ -48,18 +48,6 @@ public: Create(size, family, style, weight, underlined, face, encoding); } - wxFont(const wxSize& pixelSize, - wxFontFamily family, - wxFontStyle style, - wxFontWeight weight, - bool underlined = false, - const wxString& face = wxEmptyString, - wxFontEncoding encoding = wxFONTENCODING_DEFAULT) - { - Create(10, family, style, weight, underlined, face, encoding); - SetPixelSize(pixelSize); - } - bool Create(int size, wxFontFamily family, wxFontStyle style,