Add missing wxUSE_MENUS checks to generic MDI classes

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.
This commit is contained in:
Vadim Zeitlin
2019-08-28 20:11:23 +02:00
parent 2f8b2d9a8e
commit 417eff2bf8
2 changed files with 6 additions and 0 deletions

View File

@@ -199,7 +199,9 @@ protected:
void Init();
private:
#if wxUSE_MENUS
void OnMenuHighlight(wxMenuEvent& event);
#endif // wxUSE_MENUS
void OnClose(wxCloseEvent& event);
wxDECLARE_DYNAMIC_CLASS(wxGenericMDIChildFrame);