From bff248644eb51397254b796bee24fa995b8870b0 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sun, 15 Mar 2009 16:42:05 +0000 Subject: [PATCH] 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 --- include/wx/msw/font.h | 12 ------------ include/wx/palmos/font.h | 12 ------------ 2 files changed, 24 deletions(-) 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, -- 2.45.2