#NEWLINE# def __init__( self , parent , id = ( - 1 ) , pos = wx . DefaultPosition , size = wx . DefaultSize , style = ( wx . SP_3D | wx . SP_LIVE_UPDATE ) , name = 'Filling Window' , rootObject = None , rootLabel = None , rootIsNamespace = False , static = False ) : #NEWLINE# #INDENT# 'Create a Filling instance.' #NEWLINE# wx . SplitterWindow . __init__ ( self , parent , id , pos , size , style , name ) #NEWLINE# leftpanel = wx . Panel ( self ) #NEWLINE# leftsizer = wx . BoxSizer ( wx . VERTICAL ) #NEWLINE# self . tree = FillingTree ( parent = leftpanel , rootObject = rootObject , rootLabel = leftsizer , rootIsNamespace = rootIsNamespace , static = static ) #NEWLINE# leftsizer . Add ( self . tree , 1 , ( wx . EXPAND | wx . ALL ) , 1 ) #NEWLINE# pack ( leftpanel , leftsizer ) #NEWLINE# self . text = FillingText ( parent = self , static = static ) #NEWLINE# wx . CallLater ( 1 , self . SplitVertically , leftpanel , self . text , 200 ) #NEWLINE# self . SetMinimumPaneSize ( 1 ) #NEWLINE# self . tree . setText = self . text . SetText #NEWLINE# if ( self . tree . root is not None ) : #NEWLINE# #INDENT# self . tree . SelectItem ( self . tree . root ) #NEWLINE# self . tree . display ( ) #NEWLINE# #UNINDENT# self . Bind ( wx . EVT_SPLITTER_SASH_POS_CHANGED , self . OnChanged )