Make Mac-work-around Mac-only.

This commit is contained in:
Jeff Young 2019-08-08 16:32:44 +01:00
parent c5fb8518d2
commit 0b87a92ed6
1 changed files with 2 additions and 0 deletions

View File

@ -463,8 +463,10 @@ void PCB_EDIT_FRAME::OnQuit( wxCommandEvent& event )
void PCB_EDIT_FRAME::OnActivate( wxActivateEvent& event )
{
#ifdef __WXMAC__
// Work around wxWidgets bug where the Preferences item gets lost...
m_menuBarDirty = true;
#endif
}