X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0887f88e2d6bb19deeee292ca8cf47ccc64542d6..5c9f6bf455c4a27161fce95688eeffe4e958e696:/include/wx/generic/caret.h diff --git a/include/wx/generic/caret.h b/include/wx/generic/caret.h index 73dcaa4639..21effecb58 100644 --- a/include/wx/generic/caret.h +++ b/include/wx/generic/caret.h @@ -12,7 +12,7 @@ #ifndef _WX_CARET_H_ #define _WX_CARET_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "caret.h" #endif