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:
committed by
Vadim Zeitlin
parent
859193fb65
commit
4aafab47e7
@@ -548,7 +548,7 @@ public:
|
||||
// Cocoa-specific helpers
|
||||
id GetItemAtRow(int row) const;
|
||||
|
||||
virtual void SetFont(const wxFont& font, const wxColour& foreground, long windowStyle, bool ignoreBlack = true);
|
||||
virtual void SetFont(const wxFont& font);
|
||||
|
||||
private:
|
||||
void InitOutlineView(long style);
|
||||
|
@@ -150,7 +150,7 @@ public :
|
||||
void PulseGauge() wxOVERRIDE;
|
||||
void SetScrollThumb( wxInt32 value, wxInt32 thumbSize ) wxOVERRIDE;
|
||||
|
||||
void SetFont( const wxFont & font, const wxColour& foreground, long windowStyle, bool ignoreBlack = true ) wxOVERRIDE;
|
||||
void SetFont(const wxFont & font) wxOVERRIDE;
|
||||
void SetToolTip( wxToolTip* tooltip ) wxOVERRIDE;
|
||||
|
||||
void InstallEventHandler( WXWidget control = NULL ) wxOVERRIDE;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user