vcl: remove WIN32_TRANSPARENT
Change-Id: I164106e89cf910c2f9fa6815b23f58ad6c6ee789
This commit is contained in:
@@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
// so it doesn't conflict with enum values
|
// so it doesn't conflict with enum values
|
||||||
#undef OPAQUE
|
#undef OPAQUE
|
||||||
#define WIN32_TRANSPARENT 1
|
|
||||||
|
|
||||||
#undef WB_LEFT
|
#undef WB_LEFT
|
||||||
#undef WB_RIGHT
|
#undef WB_RIGHT
|
||||||
|
@@ -485,7 +485,7 @@ void WinSalGraphics::InitGraphics()
|
|||||||
}
|
}
|
||||||
|
|
||||||
::SetTextAlign( getHDC(), TA_BASELINE | TA_LEFT | TA_NOUPDATECP );
|
::SetTextAlign( getHDC(), TA_BASELINE | TA_LEFT | TA_NOUPDATECP );
|
||||||
::SetBkMode( getHDC(), WIN32_TRANSPARENT );
|
::SetBkMode( getHDC(), TRANSPARENT );
|
||||||
::SetROP2( getHDC(), R2_COPYPEN );
|
::SetROP2( getHDC(), R2_COPYPEN );
|
||||||
|
|
||||||
mpImpl->Init();
|
mpImpl->Init();
|
||||||
|
@@ -3402,7 +3402,7 @@ static long ImplHandleKeyMsg( HWND hWnd, UINT nMsg,
|
|||||||
// as some tools such as RichWin may have changed it
|
// as some tools such as RichWin may have changed it
|
||||||
if ( pFrame->mpGraphics &&
|
if ( pFrame->mpGraphics &&
|
||||||
pFrame->mpGraphics->getHDC() )
|
pFrame->mpGraphics->getHDC() )
|
||||||
SetBkMode( pFrame->mpGraphics->getHDC(), WIN32_TRANSPARENT );
|
SetBkMode( pFrame->mpGraphics->getHDC(), TRANSPARENT );
|
||||||
|
|
||||||
// determine modifiers
|
// determine modifiers
|
||||||
if ( GetKeyState( VK_SHIFT ) & 0x8000 )
|
if ( GetKeyState( VK_SHIFT ) & 0x8000 )
|
||||||
@@ -5135,7 +5135,7 @@ static bool ImplHandleIMEComposition( HWND hWnd, LPARAM lParam )
|
|||||||
// as some tools such as RichWin may have changed it
|
// as some tools such as RichWin may have changed it
|
||||||
if ( pFrame->mpGraphics &&
|
if ( pFrame->mpGraphics &&
|
||||||
pFrame->mpGraphics->getHDC() )
|
pFrame->mpGraphics->getHDC() )
|
||||||
SetBkMode( pFrame->mpGraphics->getHDC(), WIN32_TRANSPARENT );
|
SetBkMode( pFrame->mpGraphics->getHDC(), TRANSPARENT );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( pFrame && pFrame->mbHandleIME )
|
if ( pFrame && pFrame->mbHandleIME )
|
||||||
|
Reference in New Issue
Block a user