+bool wxTextFile::Create()
+{
+ // file name must be either given in ctor or in Create(const wxString&)
+ wxASSERT( !m_strFile.IsEmpty() );
+
+ // if the file already exists do nothing
+ if ( Exists() ) return FALSE;
+
+ if ( m_file.Open(m_strFile, wxFile::write) )
+ {
+ m_file.Close();
+ return TRUE;
+ }
+ else
+ {
+ return FALSE;
+ }
+}
+
+bool wxTextFile::Open(const wxString& strFile, wxMBConv& conv)
+{
+ m_strFile = strFile;
+
+ return Open(conv);
+}
+
+bool wxTextFile::Open(wxMBConv& conv)