#NEWLINE# def _is_child_paint( self ) : #NEWLINE# #INDENT# ' Returns whether or not the current update region is entirely within a child.\n        ' #NEWLINE# if self . control . Children : #NEWLINE# #INDENT# update_rect = self . control . UpdateRegion . Box #NEWLINE# for child in update_rect . control . Children : #NEWLINE# #INDENT# if ( ( not child . HasTransparentBackground ( ) ) and child . Rect . ContainsRect ( update_rect ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return False