Skip to content

Commit 6ae56c4

Browse files
committed
Fix Custom shape forms for Windows.
1 parent dea28dd commit 6ae56c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/common/kernel/windows/mseguiintf.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3125,8 +3125,8 @@ function gui_createwindow(const rect: rectty;
31253125
begin
31263126
region := CreateRectRgn(0, 0, 0, 0);
31273127

3128-
mse_shapebmp.maskkind := bmk_mono;
3129-
mse_shapebmp.mask.size := mse_shapebmp.size;
3128+
mse_shapebmp.options := [bmo_graymask];
3129+
mse_shapebmp.mask.size := mse_shapebmp.size;
31303130

31313131
for y := 0 to mse_shapebmp.size.cy - 1 do
31323132
begin

0 commit comments

Comments
 (0)