The TextCtrlFileType enumeration provides the following values:
Description
Value
wx.TEXT_TYPE_ANY
Format determined by file extension when loading/saving the control’s content.
wx.TEXT_TYPE_PLAIN
Plain Text Format.
wx.TEXT_TYPE_RTF
Rich Text Format.