Panel not Drawn

BlitzMax Forums/MaxGUI Module/Panel not Drawn

TAS(Posted 2012) [#1]
I have window that contains a canvas and panel. The panel is a child of the canvas and is not transparent. I have event hook that catches EVENT_GADGETPAINT. When I use the Max/min button on the title bar the panel is overdrawn by the canvas but if change the window size by dragging the bottom right corner everything is fine. What am I missing?


TAS(Posted 2012) [#2]
Adding RedrawGadget() to end of the canvas update was what was missing.