From 1a31420e92c38c5a14ea65588db8ecdfd331a0eb Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 10 Oct 2018 10:52:36 -0700 Subject: [PATCH] Add wxACC_SELF and fix parameter name (cherry picked from commit b75f473ea3e2ee081a4ce0038a3102fa7a000b34) --- interface/wx/access.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/interface/wx/access.h b/interface/wx/access.h index 53284b525d..068f76e057 100644 --- a/interface/wx/access.h +++ b/interface/wx/access.h @@ -25,6 +25,11 @@ enum wxAccStatus }; +/** Child ids are integer identifiers from 1 up. + So zero represents 'this' object. +*/ +#define wxACC_SELF 0 + /** This enum represents directions of navigation used in wxAccessible::Navigate(). @@ -495,7 +500,7 @@ public: */ static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType, - int objectType); + int objectId); /** Selects the object or child. See wxAccSelectionFlags for a list