Make Mac-work-around Mac-only.
This commit is contained in:
parent
c5fb8518d2
commit
0b87a92ed6
|
@ -463,8 +463,10 @@ void PCB_EDIT_FRAME::OnQuit( wxCommandEvent& event )
|
||||||
|
|
||||||
void PCB_EDIT_FRAME::OnActivate( wxActivateEvent& event )
|
void PCB_EDIT_FRAME::OnActivate( wxActivateEvent& event )
|
||||||
{
|
{
|
||||||
|
#ifdef __WXMAC__
|
||||||
// Work around wxWidgets bug where the Preferences item gets lost...
|
// Work around wxWidgets bug where the Preferences item gets lost...
|
||||||
m_menuBarDirty = true;
|
m_menuBarDirty = true;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue