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
@@ -507,7 +507,7 @@ void wxWindowMac::DoSetWindowVariant( wxWindowVariant variant )
|
||||
void wxWindowMac::MacUpdateControlFont()
|
||||
{
|
||||
if ( GetPeer() )
|
||||
GetPeer()->SetFont( GetFont() , GetForegroundColour() , GetWindowStyle() ) ;
|
||||
GetPeer()->SetFont(GetFont()) ;
|
||||
|
||||
// do not trigger refreshes upon invisible and possible partly created objects
|
||||
if ( IsShownOnScreen() )
|
||||
|
Reference in New Issue
Block a user