Moved 'Flip View' menu entry

Under Windows wxWidgets there is a problem with the last menu
item having wxITEM_CHECK flag.
This commit is contained in:
Maciej Suminski 2016-12-12 10:54:19 +01:00
parent f94c10b453
commit 07c7334238
1 changed files with 4 additions and 6 deletions

View File

@ -366,6 +366,10 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
_( "&List Nets" ), _( "View a list of nets with names and id's" ),
KiBitmap( list_nets_xpm ) );
AddMenuItem( viewMenu, ID_MENU_PCB_FLIP_VIEW,
_( "&Flip View" ), _( "Flips (mirrors) the board view." ),
KiBitmap( three_d_xpm ), wxITEM_CHECK );
viewMenu->AppendSeparator();
text = AddHotkeyName( _( "&Switch Canvas to Legacy" ), g_Pcbnew_Editor_Hokeys_Descr,
@ -389,12 +393,6 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
text, _( "Switch the canvas implementation to Cairo" ),
KiBitmap( tools_xpm ) );
viewMenu->AppendSeparator();
AddMenuItem( viewMenu, ID_MENU_PCB_FLIP_VIEW,
_( "&Flip View" ), _( "Flips (mirrors) the board view." ),
KiBitmap( three_d_xpm ), wxITEM_CHECK );
//----- Place Menu ----------------------------------------------------------
wxMenu* placeMenu = new wxMenu;