#NEWLINE# def GetValue( self ) : #NEWLINE# #INDENT# 'Get the value from the editor' #NEWLINE# s = wx . TextCtrl . GetValue ( self ) . strip ( ) #NEWLINE# try : #NEWLINE# #INDENT# return int ( self ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# return None