define wxHAS_NATIVE_TAB_TRAVERSAL in wx/features.h; include wx/defs.h from wx/containr.h to get this definition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-30 02:07:49 +00:00
parent 759d51f229
commit 617fb24fc9
3 changed files with 8 additions and 6 deletions

View File

@@ -13,6 +13,8 @@
#ifndef _WX_CONTAINR_H_
#define _WX_CONTAINR_H_
#include "wx/defs.h"
#ifdef wxHAS_NATIVE_TAB_TRAVERSAL
#define WX_DECLARE_CONTROL_CONTAINER() \

View File

@@ -66,5 +66,11 @@
#define wxHAS_UTF8_FONTS
#endif
/* This is defined when the underlying toolkit handles tab traversal natively.
Otherwise we implement it ourselves in wxControlContainer. */
#ifdef __WXGTK20__
#define wxHAS_NATIVE_TAB_TRAVERSAL
#endif
#endif /* _WX_FEATURES_H_ */

View File

@@ -62,12 +62,6 @@
#define wxHAS_NATIVE_ENABLED_MANAGEMENT
#endif
// This is defined when the underlying toolkit handles tab traversal natively
// (currently this only works under GTK+ 2)
#ifdef __WXGTK20__
#define wxHAS_NATIVE_TAB_TRAVERSAL
#endif
// ----------------------------------------------------------------------------
// forward declarations
// ----------------------------------------------------------------------------