Make mdig.cpp compile with wxUSE_MENUS==0, as it already had many wxUSE_MENUS checks and only missed a few more of them. See #9626.