-public:
- // constants
- enum Type
- {
- Type_None, // incomplete (the last line of the file only)
- Type_Unix, // line is terminated with 'LF' = 0xA = 10 = '\n'
- Type_Dos, // 'CR' 'LF'
- Type_Mac // 'CR' = 0xD = 13 = '\r'
- };
+ wxTextFileType_None, // incomplete (the last line of the file only)
+ wxTextFileType_Unix, // line is terminated with 'LF' = 0xA = 10 = '\n'
+ wxTextFileType_Dos, // 'CR' 'LF'
+ wxTextFileType_Mac // 'CR' = 0xD = 13 = '\r'
+};
+
+WX_DEFINE_ARRAY(wxTextFileType, ArrayFileType);