mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 09:19:17 +02:00
Gtk2: removed patch for #12362 since it crashes shaped controls under gtk2.
git-svn-id: trunk@35482 -
This commit is contained in:
parent
ad789778bc
commit
9fcf0cceae
@ -582,9 +582,12 @@ begin
|
||||
ADesc.Init;
|
||||
|
||||
// if there's mask gtk2 assumes it's rgba. issue #12362
|
||||
// Zeljko: removed since it totally crashes shaped controls -
|
||||
// see examples/shapedcontrols.
|
||||
{
|
||||
if (riqfMono in AFlags) and (riqfMask in AFlags) and
|
||||
(Desc.BitsPerPixel = 32) then
|
||||
AFlags := AFlags - [riqfMono] + [riqfRgb];
|
||||
AFlags := AFlags - [riqfMono] + [riqfRgb];}
|
||||
|
||||
if riqfMono in AFlags then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user