LCL, TCoolbar: Share code from IsRowEnd function.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@44993 4005530d-fff6-0310-9dd1-cebe43e6787f
LCL, TCoolbar: Replace Resize with WMSize. Issue #26096, patch from Vojtech Cihak.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@44994 4005530d-fff6-0310-9dd1-cebe43e6787f