From c60a5753e311918f0c6bd85073390a76de713b3f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 14 May 2015 13:20:54 +0100 Subject: honour NoFocusRects in ListBoxes like Buttons, etc Change-Id: I23cc1b5d5f61e0f6d67181d544a900ff99b3b8bd --- vcl/source/control/ilstbox.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vcl') diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 8e94b42ed4e9..d624398cec3f 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -2611,6 +2612,8 @@ ImplWin::ImplWin( vcl::Window* pParent, WinBits nWinStyle ) : else SetBackground( Wallpaper( GetSettings().GetStyleSettings().GetFieldColor() ) ); + ImplGetWindowImpl()->mbUseNativeFocus = ImplGetSVData()->maNWFData.mbNoFocusRects; + mbInUserDraw = false; mbUserDrawEnabled = false; mbEdgeBlending = false; -- cgit