]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for PCH-less compilation of wxRibbonXmlHandler.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 14:30:23 +0000 (14:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 14:30:23 +0000 (14:30 +0000)
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

src/xrc/xh_ribbon.cpp

index 872803318647c2e583eef215acd3abd87b5b0039..09b8df21b3f9f2470ca0517df8fbbeaa0ba6b008 100644 (file)
 
 #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.
 //