-#if defined(__WINDOWS__)
- c = wxT('\r');
- m_output->Write( (const void*)(&c), sizeof(wxChar) );
- c = wxT('\n');
- m_output->Write( (const void*)(&c), sizeof(wxChar) );
-#elif defined(__UNIX__)
- c = wxT('\n');
- m_output->Write( (const void*)(&c), sizeof(wxChar) );
-#elif defined(__WXMAC__)
- c = wxT('\r');
- m_output->Write( (const void*)(&c), sizeof(wxChar) );
-#elif defined(__OS2__)
- c = wxT('\r');
- m_output->Write( (const void*)(&c), sizeof(wxChar) );
- c = wxT('\n');
- m_output->Write( (const void*)(&c), sizeof(wxChar) );
-#else
- #error "wxTextOutputStream: unsupported platform."
-#endif
- }
- else
- {
- m_output->Write( (const void*)(&c), sizeof(wxChar) );