From 81e9373efa99aede6a9cd6d280b5671fe8e44be3 Mon Sep 17 00:00:00 2001 From: DietmarSchwertberger Date: Thu, 11 Jan 2024 19:50:00 +0100 Subject: [PATCH] Add missing documentation of wxWindow accessibility functions Ensure they're present in the interface header as this is also required for wrapping them in other languages, such as Python. Closes #24209. --- interface/wx/window.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/interface/wx/window.h b/interface/wx/window.h index 392f1aa3a6..1a098089e1 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -3462,6 +3462,17 @@ public: */ void SetAccessible(wxAccessible* accessible); + /** + Override to create a specific accessible object. + */ + virtual wxAccessible* CreateAccessible(); + + /** + Returns the accessible object, calling CreateAccessible if necessary. + May return NULL, in which case system-provide accessible is used. + */ + wxAccessible* GetOrCreateAccessible(); + ///@}