X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d63819e045d0ed384407931274b6e09bf92b5c12..3f0fac91ab5c66f831dabdfae674381b32eb1f3a:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 01fe351f28..43024f64db 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -14,7 +14,7 @@ #ifndef _WX_TEXTFILE_H #define _WX_TEXTFILE_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "textfile.h" #endif @@ -44,7 +44,7 @@ protected: wxTextBufferOpenMode OpenMode); virtual bool OnClose(); virtual bool OnRead(wxMBConv& conv); - virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv = wxConvLibc); + virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv); private: wxFile m_file;