diff options
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r-- | vcl/source/control/edit.cxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 29b25a7205ad..70c29cff95b1 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1876,11 +1876,8 @@ void Edit::GetFocus() ImplShowCursor(); - // FIXME: this is currently only on macOS - // check for other platforms that need similar handling - if( ImplGetSVData()->maNWFData.mbNoFocusRects && - IsNativeWidgetEnabled() && - IsNativeControlSupported( ControlType::Editbox, ControlPart::Entire ) ) + if (IsNativeWidgetEnabled() && + IsNativeControlSupported( ControlType::Editbox, ControlPart::Entire )) { ImplInvalidateOutermostBorder( mbIsSubEdit ? GetParent() : this ); } @@ -1903,11 +1900,8 @@ void Edit::LoseFocus() { if ( !mpSubEdit ) { - // FIXME: this is currently only on macOS - // check for other platforms that need similar handling - if( ImplGetSVData()->maNWFData.mbNoFocusRects && - IsNativeWidgetEnabled() && - IsNativeControlSupported( ControlType::Editbox, ControlPart::Entire ) ) + if (IsNativeWidgetEnabled() && + IsNativeControlSupported(ControlType::Editbox, ControlPart::Entire)) { ImplInvalidateOutermostBorder( mbIsSubEdit ? GetParent() : this ); } |