On 02/14/2016 03:01 PM, zeljko wrote:
In that revision you added RecreateWnd() for modal forms. Why ? Now in
console we have warnings about it... IMO:
1.it's wrong to call RecreateWnd() if handle isn't allocated yet

There shuold be added if (popupMode = pmNone) and HandleAllocated, otherwise call just needed routines from RecreateWnd() like UpdateControlState

2.HandleNeeded isn't really needed after RecreateWnd()
Forget about this one, I was wrong here.

z


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to