From 0b87a92ed6c032c0e5fd1aec288c6601490ac7d0 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 8 Aug 2019 16:32:44 +0100 Subject: [PATCH] Make Mac-work-around Mac-only. --- pcbnew/pcb_edit_frame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index af44c13a54..6880a6fc81 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -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 }