Fix builds on non-Macs.

This commit is contained in:
Jeff Young 2022-11-06 15:07:38 +00:00
parent be142af4d0
commit 90c5295a9f
1 changed files with 2 additions and 1 deletions

View File

@ -460,8 +460,9 @@ APPEARANCE_CONTROLS::APPEARANCE_CONTROLS( PCB_BASE_FRAME* aParent, wxWindow* aFo
if( screenHeight <= 900 && m_pointSize >= indicatorSize )
m_pointSize = m_pointSize * 8 / 10;
#ifdef __WXMAC__
wxFont font = m_notebook->GetFont();
#ifdef __WXMAC__
font.SetPointSize( m_pointSize );
m_notebook->SetFont( font );
#endif