]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix: include wx/event.h from wx/containr.h.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Jul 2011 11:31:21 +0000 (11:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Jul 2011 11:31:21 +0000 (11:31 +0000)
We now need wxEVT_XXX constants declarations in this file (at least when not
wxHAS_NATIVE_TAB_TRAVERSAL) so include wx/event.h to fix PCH-less build of
wxOSX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/containr.h

index 3e7b5e38c13238209cda62dffc2d3d411cb1e379..29dba36d6b65bf0ab4af04cd9549be4bfe9b22aa 100644 (file)
 
 #include "wx/defs.h"
 
+#ifndef wxHAS_NATIVE_TAB_TRAVERSAL
+    // We need wxEVT_XXX declarations in this case.
+    #include "wx/event.h"
+#endif
+
 class WXDLLIMPEXP_FWD_CORE wxWindow;
 class WXDLLIMPEXP_FWD_CORE wxWindowBase;
 
@@ -116,9 +121,6 @@ protected:
 
 #else // !wxHAS_NATIVE_TAB_TRAVERSAL
 
-class WXDLLIMPEXP_FWD_CORE wxFocusEvent;
-class WXDLLIMPEXP_FWD_CORE wxNavigationKeyEvent;
-
 // ----------------------------------------------------------------------------
 // wxControlContainer for TAB navigation implemented in wx itself
 // ----------------------------------------------------------------------------