From e4097f77c440b1f31a80fe273cc732c14d606096 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 6 Jul 2015 00:22:17 -0700 Subject: [PATCH] Implement setFont on the iOS port of wxStaticText. --- src/osx/iphone/stattext.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/osx/iphone/stattext.mm b/src/osx/iphone/stattext.mm index b0994d0733..b058c2bf5a 100644 --- a/src/osx/iphone/stattext.mm +++ b/src/osx/iphone/stattext.mm @@ -52,6 +52,12 @@ public: { } + virtual void SetFont( const wxFont & font , const wxColour& WXUNUSED(foreground) , long WXUNUSED(windowStyle), bool WXUNUSED(ignoreBlack) ) + { + wxUILabel* v = (wxUILabel*)GetWXWidget(); + [v setFont: font.OSXGetUIFont()]; + } + virtual void SetLabel(const wxString& title, wxFontEncoding encoding) { wxUILabel* v = (wxUILabel*)GetWXWidget(); -- 2.45.2