* twidget.getautopaintsize() calls checkwidgetsize(). * tcustombutton.getautopaintsize() calls inherited.