Skip to content

Commit

Permalink
Add missing documentation of wxWindow accessibility functions
Browse files Browse the repository at this point in the history
Ensure they're present in the interface header as this is also required
for wrapping them in other languages, such as Python.

See #24209.

(cherry picked from commit 81e9373)
  • Loading branch information
DietmarSchwertberger authored and vadz committed Jan 11, 2024
1 parent e5e9969 commit bd899c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions interface/wx/window.h
Original file line number Diff line number Diff line change
Expand Up @@ -3438,6 +3438,17 @@ class wxWindow : public wxEvtHandler
*/
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();

///@}


Expand Down

0 comments on commit bd899c6

Please sign in to comment.