Kaydet (Commit) 504e4333 authored tarafından Ivan Timofeev's avatar Ivan Timofeev

fix drawing of calc input line when vcl backend supports CTRL_FRAME

it is counterintuitive, but FRAME_DRAW_NWF was introduced to shrink a draw
rectangle on its way, regardless of native CTRL_FRAME support
(see d02e19e3).
And that is what we want for the calc input line.

Change-Id: Ie2f8bc6e2e21a56b081b8c71cc2b642b8f05848f
üst 7989bba5
......@@ -663,7 +663,8 @@ void ImplDrawFrame( OutputDevice *const pDev, Rectangle& rRect,
bFlatBorders )
nStyle |= FRAME_DRAW_MONO;
if( pWin && pWin->IsNativeControlSupported(CTRL_FRAME, PART_BORDER) )
if( !(nStyle & FRAME_DRAW_NWF) &&
pWin && pWin->IsNativeControlSupported(CTRL_FRAME, PART_BORDER) )
{
ImplControlValue aControlValue( nStyle |
(pWin->GetType()==WINDOW_BORDERWINDOW ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment