Kaydet (Commit) ab216f70 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Accomodate gcc 4.2's inabilities to cope with complex templates.

Change-Id: I0a35849a02e3f185783c261a369052594583b082
üst 9fe32d10
......@@ -653,9 +653,12 @@ void ImplDrawFrame( OutputDevice *const pDev, Rectangle& rRect,
if( nStyle != DrawFrameStyle::NWF &&
pWin && pWin->IsNativeControlSupported(CTRL_FRAME, PART_BORDER) )
{
ImplControlValue aControlValue( static_cast<long>(nStyle) | static_cast<long>(nFlags) |
static_cast<long>(pWin->GetType()==WINDOW_BORDERWINDOW ?
DrawFrameFlags::BorderWindowBorder : DrawFrameFlags::NONE) );
long nControlFlags = static_cast<long>(nStyle);
nControlFlags |= static_cast<long>(nFlags);
nControlFlags |= static_cast<long>(pWin->GetType()==WINDOW_BORDERWINDOW ?
DrawFrameFlags::BorderWindowBorder : DrawFrameFlags::NONE);
ImplControlValue aControlValue( nControlFlags );
Rectangle aBound, aContent;
Rectangle aNatRgn( rRect );
if( pWin->GetNativeControlRegion(CTRL_FRAME, PART_BORDER,
......
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