Allow configuring visible focus on Mac

Add wxWindow::EnableVisibleFocus() for changing focus ring behavior on
macOS (currently not implemented elsewhere, although GTK+ has a
discouraged option to do it).
This commit is contained in:
Václav Slavík
2020-08-31 10:38:39 +02:00
parent 58c94d9ec0
commit 9f66b03c5c
4 changed files with 25 additions and 0 deletions

View File

@@ -157,6 +157,7 @@ public:
void MacOnScroll( wxScrollEvent&event );
virtual bool AcceptsFocus() const wxOVERRIDE;
virtual void EnableVisibleFocus(bool enabled) wxOVERRIDE;
virtual bool IsDoubleBuffered() const wxOVERRIDE { return true; }