Merge branch 'mac-native-focus-ring' of https://github.com/vslavik/wxWidgets
Draw wxTextCtrl focus ring natively on Mac. Add wxWindow::EnableVisibleFocus() to explicitly control the focus ring visibility if necessary. See https://github.com/wxWidgets/wxWidgets/pull/2037
This commit is contained in:
@@ -767,6 +767,9 @@ public:
|
||||
// call this when the return value of AcceptsFocus() changes
|
||||
virtual void SetCanFocus(bool WXUNUSED(canFocus)) { }
|
||||
|
||||
// call to customize visible focus indicator if possible in the port
|
||||
virtual void EnableVisibleFocus(bool WXUNUSED(enabled)) { }
|
||||
|
||||
// navigates inside this window
|
||||
bool NavigateIn(int flags = wxNavigationKeyEvent::IsForward)
|
||||
{ return DoNavigateIn(flags); }
|
||||
|
Reference in New Issue
Block a user