Simplify SetFont() in wxOSX implementations

It doesn't need to take the colour and other parameters unused any more.

Closes https://github.com/wxWidgets/wxWidgets/pull/2103
This commit is contained in:
Stefan Csomor
2020-10-25 17:49:37 +01:00
committed by Vadim Zeitlin
parent 859193fb65
commit 4aafab47e7
13 changed files with 17 additions and 14 deletions

View File

@@ -118,7 +118,7 @@ public:
virtual long XYToPosition(long x, long y) const wxOVERRIDE;
virtual void ShowPosition(long pos) wxOVERRIDE;
virtual void WriteText(const wxString& str) wxOVERRIDE ;
virtual void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle, bool ignoreBlack = true ) wxOVERRIDE;
virtual void SetFont(const wxFont & font) wxOVERRIDE;
virtual bool GetStyle(long position, wxTextAttr& style) wxOVERRIDE;
virtual void SetStyle(long start, long end, const wxTextAttr& style) wxOVERRIDE;