@ -470,8 +470,6 @@ void CVPCB_MAINFRAME::LoadNetList( wxCommandEvent& event )
{
SetTitle( wxGetApp().GetTitle() + wxT( " " ) + GetBuildVersion() );
}
ReCreateMenuBar();
@ -69,9 +69,6 @@ void WinEDA_App::MacOpenFile(const wxString &fileName)
frame->SetTitle( wxGetApp().GetTitle() + wxT( " " ) + GetBuildVersion() );
frame->ReCreateMenuBar();
// Create a new application object
@ -23,7 +23,7 @@ void CVPCB_MAINFRAME::ReCreateMenuBar()
wxMenuItem* item;
wxMenuBar* menuBar = GetMenuBar();
if( ! menuBar )
if( ! menuBar ) // Delete all menus
menuBar = new wxMenuBar();
// Delete all existing menus so they can be rebuilt.