From: Vadim Zeitlin Date: Tue, 23 Oct 2012 14:30:23 +0000 (+0000) Subject: Fix for PCH-less compilation of wxRibbonXmlHandler. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/65e9e9c3039b6a39be772f64d58d36ed9e971d9a Fix for PCH-less compilation of wxRibbonXmlHandler. Need to have wxMenu declaration in order to wxDynamicCast() to it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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. //