X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3a584a7a6ade199990dd4463488e4bbf3545349..1de4baa31f17548b32a376a71ce50fee6a3e759c:/include/wx/textbuf.h diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index f5a44afe68..c7087c669a 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -12,7 +12,7 @@ #ifndef _WX_TEXTBUFFER_H #define _WX_TEXTBUFFER_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "textbuf.h" #endif @@ -42,7 +42,7 @@ enum wxTextFileType // wxTextBuffer // ---------------------------------------------------------------------------- -WX_DEFINE_EXPORTED_ARRAY(wxTextFileType, ArrayFileType); +WX_DEFINE_EXPORTED_ARRAY_INT(wxTextFileType, ArrayFileType); #endif // wxUSE_TEXTBUFFER