simplify native textcontrol creations, adding search control for cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -384,9 +384,9 @@ void wxWindowMac::DoSetWindowVariant( wxWindowVariant variant )
|
||||
|
||||
void wxWindowMac::MacUpdateControlFont()
|
||||
{
|
||||
#if wxOSX_USE_CARBON
|
||||
|
||||
m_peer->SetFont( GetFont() , GetForegroundColour() , GetWindowStyle() ) ;
|
||||
#endif
|
||||
|
||||
// do not trigger refreshes upon invisible and possible partly created objects
|
||||
if ( IsShownOnScreen() )
|
||||
Refresh() ;
|
||||
|
Reference in New Issue
Block a user