[Done] SetGadgetAttribute-Canvas, Button_Image_32Bit_Crash 573 Mint
Posted: Fri Feb 12, 2021 3:25 pm
Linux like the 32bit images not, crash, Win and Mac OK
Code: Select all
window_ID=OpenWindow(#PB_Any, 0, 0, 400, 400, "")
canvas_ID=CanvasGadget(#PB_Any, 0, 0, 400, 400)
image_ID=CreateImage(#PB_Any, 400, 400, 32, $FF)
SetGadgetAttribute(canvas_ID, #PB_Button_Image, ImageID(image_ID))
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow