From 80664c28c8bc6bf7d1f638099899ee65ce7b4119 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 3 Mar 2016 23:43:46 +0100 Subject: [PATCH] Discourage the use of wxTAB_TRAVERSAL in the documentation This style should almost never be used in the application code, it's mostly an implementation detail (but not quite as it might make sense to turn it off for some wxPanel, at least in theory). --- interface/wx/window.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/wx/window.h b/interface/wx/window.h index 5c145e7464..e3f55cade6 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -150,7 +150,9 @@ enum wxWindowVariant The window is transparent, that is, it will not receive paint events. Windows only. @style{wxTAB_TRAVERSAL} - Use this to enable tab traversal for non-dialog windows. + This style is used by wxWidgets for the windows supporting TAB + navigation among their children, such as wxDialog and wxPanel. It + should almost never be used in the application code. @style{wxWANTS_CHARS} Use this to indicate that the window wants to get all char/key events for all keys - even for keys like TAB or ENTER which are