[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Thu May 14 05:22:59 PDT 2015


 vcl/source/control/ilstbox.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c60a5753e311918f0c6bd85073390a76de713b3f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 14 13:20:54 2015 +0100

    honour NoFocusRects in ListBoxes like Buttons, etc
    
    Change-Id: I23cc1b5d5f61e0f6d67181d544a900ff99b3b8bd

diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 8e94b42..d624398 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -31,6 +31,7 @@
 #include <ilstbox.hxx>
 #include <controldata.hxx>
 #include <svdata.hxx>
+#include <window.h>
 
 #include <com/sun/star/i18n/XCollator.hpp>
 #include <com/sun/star/accessibility/XAccessible.hpp>
@@ -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;


More information about the Libreoffice-commits mailing list