#NEWLINE# def _size( self , event ) : #NEWLINE# #INDENT# ' Handles the window being resized.\n        ' #NEWLINE# sizer = self . sizer #NEWLINE# if ( sizer is not None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ( dx , dy ) = self . control . GetSizeTuple ( ) #NEWLINE# sizer . SetDimension ( 0 , 0 , dx , dy ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass