diff --git a/src/xrc/xh_ribbon.cpp b/src/xrc/xh_ribbon.cpp index 8728033186..09b8df21b3 100644 --- a/src/xrc/xh_ribbon.cpp +++ b/src/xrc/xh_ribbon.cpp @@ -25,6 +25,10 @@ #include "wx/scopeguard.h" +#ifndef WX_PRECOMP + #include "wx/menu.h" +#endif + // Ribbon bars can contain only pages which are usually panels but may contain // any wxWindow. //