Kaydet (Commit) 44f7914e authored tarafından Jürgen Schmidt's avatar Jürgen Schmidt

119403: AOO 3.4 - GridControl not refreshing after deleting rows

fix: take care of transparency attribute of the control

Patch By: Tsutomu Uchino
Found By: Wolfgang Becker
Review By: jsc
üst cb38ee0d
...@@ -2170,7 +2170,8 @@ namespace svt { namespace table ...@@ -2170,7 +2170,8 @@ namespace svt { namespace table
if ( i_lastRow == ROW_INVALID ) if ( i_lastRow == ROW_INVALID )
aInvalidateRect.Bottom() = m_pDataWindow->GetOutputSizePixel().Height(); aInvalidateRect.Bottom() = m_pDataWindow->GetOutputSizePixel().Height();
m_pDataWindow->Invalidate( aInvalidateRect ); m_pDataWindow->Invalidate( aInvalidateRect,
m_pDataWindow->GetControlBackground().GetTransparency() ? INVALIDATE_TRANSPARENT : 0 );
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
......
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