From 0c9ff74f050981e989f09cf5f5d27044b807e73a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 7 Jan 2005 21:27:20 +0000 Subject: [PATCH] fixed condition for using #pragmas git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/xrc/xh_bmp.h | 2 +- include/wx/xrc/xh_bmpbt.h | 2 +- include/wx/xrc/xh_bttn.h | 2 +- include/wx/xrc/xh_cald.h | 2 +- include/wx/xrc/xh_chckb.h | 2 +- include/wx/xrc/xh_chckl.h | 2 +- include/wx/xrc/xh_choic.h | 2 +- include/wx/xrc/xh_combo.h | 2 +- include/wx/xrc/xh_dlg.h | 2 +- include/wx/xrc/xh_frame.h | 2 +- include/wx/xrc/xh_gauge.h | 2 +- include/wx/xrc/xh_gdctl.h | 2 +- include/wx/xrc/xh_html.h | 2 +- include/wx/xrc/xh_listb.h | 2 +- include/wx/xrc/xh_listc.h | 2 +- include/wx/xrc/xh_menu.h | 2 +- include/wx/xrc/xh_notbk.h | 2 +- include/wx/xrc/xh_panel.h | 2 +- include/wx/xrc/xh_radbt.h | 2 +- include/wx/xrc/xh_radbx.h | 2 +- include/wx/xrc/xh_scrol.h | 2 +- include/wx/xrc/xh_scwin.h | 2 +- include/wx/xrc/xh_sizer.h | 2 +- include/wx/xrc/xh_slidr.h | 2 +- include/wx/xrc/xh_spin.h | 2 +- include/wx/xrc/xh_split.h | 2 +- include/wx/xrc/xh_statbar.h | 2 +- include/wx/xrc/xh_stbmp.h | 2 +- include/wx/xrc/xh_stbox.h | 2 +- include/wx/xrc/xh_stlin.h | 2 +- include/wx/xrc/xh_sttxt.h | 2 +- include/wx/xrc/xh_text.h | 2 +- include/wx/xrc/xh_tglbtn.h | 2 +- include/wx/xrc/xh_toolb.h | 2 +- include/wx/xrc/xh_tree.h | 2 +- include/wx/xrc/xh_unkwn.h | 2 +- include/wx/xrc/xh_wizrd.h | 2 +- include/wx/xrc/xmlres.h | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/include/wx/xrc/xh_bmp.h b/include/wx/xrc/xh_bmp.h index 5800b14e37..eb8799aa65 100644 --- a/include/wx/xrc/xh_bmp.h +++ b/include/wx/xrc/xh_bmp.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_BMP_H_ #define _WX_XH_BMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_bmp.h" #endif diff --git a/include/wx/xrc/xh_bmpbt.h b/include/wx/xrc/xh_bmpbt.h index 6a33f955fa..0fd5432374 100644 --- a/include/wx/xrc/xh_bmpbt.h +++ b/include/wx/xrc/xh_bmpbt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_BMPBT_H_ #define _WX_XH_BMPBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_bmpbt.h" #endif diff --git a/include/wx/xrc/xh_bttn.h b/include/wx/xrc/xh_bttn.h index b080091215..e05647fa33 100644 --- a/include/wx/xrc/xh_bttn.h +++ b/include/wx/xrc/xh_bttn.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_BTTN_H_ #define _WX_XH_BTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_bttn.h" #endif diff --git a/include/wx/xrc/xh_cald.h b/include/wx/xrc/xh_cald.h index b43cf484ad..a6a8a832e5 100644 --- a/include/wx/xrc/xh_cald.h +++ b/include/wx/xrc/xh_cald.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CALD_H_ #define _WX_XH_CALD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_cald.h" #endif diff --git a/include/wx/xrc/xh_chckb.h b/include/wx/xrc/xh_chckb.h index 4d6b7198c8..90920cc108 100644 --- a/include/wx/xrc/xh_chckb.h +++ b/include/wx/xrc/xh_chckb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHCKB_H_ #define _WX_XH_CHCKB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_chckb.h" #endif diff --git a/include/wx/xrc/xh_chckl.h b/include/wx/xrc/xh_chckl.h index 4db9c50128..577065e986 100644 --- a/include/wx/xrc/xh_chckl.h +++ b/include/wx/xrc/xh_chckl.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHCKL_H_ #define _WX_XH_CHCKL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_chckl.h" #endif diff --git a/include/wx/xrc/xh_choic.h b/include/wx/xrc/xh_choic.h index e36f19f118..a53dfca7c8 100644 --- a/include/wx/xrc/xh_choic.h +++ b/include/wx/xrc/xh_choic.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHOIC_H_ #define _WX_XH_CHOIC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_choic.h" #endif diff --git a/include/wx/xrc/xh_combo.h b/include/wx/xrc/xh_combo.h index 848a59c3ca..cf894b87f6 100644 --- a/include/wx/xrc/xh_combo.h +++ b/include/wx/xrc/xh_combo.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_COMBO_H_ #define _WX_XH_COMBO_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_combo.h" #endif diff --git a/include/wx/xrc/xh_dlg.h b/include/wx/xrc/xh_dlg.h index 5a68a442ca..dba32d2d39 100644 --- a/include/wx/xrc/xh_dlg.h +++ b/include/wx/xrc/xh_dlg.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_DLG_H_ #define _WX_XH_DLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_dlg.h" #endif diff --git a/include/wx/xrc/xh_frame.h b/include/wx/xrc/xh_frame.h index c6e1795219..9252868f0b 100644 --- a/include/wx/xrc/xh_frame.h +++ b/include/wx/xrc/xh_frame.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_FRAME_H_ #define _WX_XH_FRAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_frame.h" #endif diff --git a/include/wx/xrc/xh_gauge.h b/include/wx/xrc/xh_gauge.h index 3f7a181336..7f369fab20 100644 --- a/include/wx/xrc/xh_gauge.h +++ b/include/wx/xrc/xh_gauge.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_GAUGE_H_ #define _WX_XH_GAUGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_gauge.h" #endif diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index ffdad072a4..32432377a8 100644 --- a/include/wx/xrc/xh_gdctl.h +++ b/include/wx/xrc/xh_gdctl.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_GDCTL_H_ #define _WX_XH_GDCTL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_gdctl.h" #endif diff --git a/include/wx/xrc/xh_html.h b/include/wx/xrc/xh_html.h index ac49faa083..7e4294cfd6 100644 --- a/include/wx/xrc/xh_html.h +++ b/include/wx/xrc/xh_html.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_HTML_H_ #define _WX_XH_HTML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_html.h" #endif diff --git a/include/wx/xrc/xh_listb.h b/include/wx/xrc/xh_listb.h index 86f65f4c63..9dbda3f3a2 100644 --- a/include/wx/xrc/xh_listb.h +++ b/include/wx/xrc/xh_listb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_LISTB_H_ #define _WX_XH_LISTB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_listb.h" #endif diff --git a/include/wx/xrc/xh_listc.h b/include/wx/xrc/xh_listc.h index 151dc9c6c9..0a9dd24c3a 100644 --- a/include/wx/xrc/xh_listc.h +++ b/include/wx/xrc/xh_listc.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_LISTC_H_ #define _WX_XH_LISTC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_listc.h" #endif diff --git a/include/wx/xrc/xh_menu.h b/include/wx/xrc/xh_menu.h index c263338705..7a241d1a5b 100644 --- a/include/wx/xrc/xh_menu.h +++ b/include/wx/xrc/xh_menu.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_MENU_H_ #define _WX_XH_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_menu.h" #endif diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h index 2c2bf35fd5..e6fe422540 100644 --- a/include/wx/xrc/xh_notbk.h +++ b/include/wx/xrc/xh_notbk.h @@ -10,7 +10,7 @@ #ifndef _WX_XH_NOTBK_H_ #define _WX_XH_NOTBK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_notbk.h" #endif diff --git a/include/wx/xrc/xh_panel.h b/include/wx/xrc/xh_panel.h index ebfc6de0b6..c591b454df 100644 --- a/include/wx/xrc/xh_panel.h +++ b/include/wx/xrc/xh_panel.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_PANEL_H_ #define _WX_XH_PANEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_panel.h" #endif diff --git a/include/wx/xrc/xh_radbt.h b/include/wx/xrc/xh_radbt.h index ffa4185a19..e9933c3915 100644 --- a/include/wx/xrc/xh_radbt.h +++ b/include/wx/xrc/xh_radbt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_RADBT_H_ #define _WX_XH_RADBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_radbt.h" #endif diff --git a/include/wx/xrc/xh_radbx.h b/include/wx/xrc/xh_radbx.h index 72915ffe67..24e4ae449a 100644 --- a/include/wx/xrc/xh_radbx.h +++ b/include/wx/xrc/xh_radbx.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_RADBX_H_ #define _WX_XH_RADBX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_radbx.h" #endif diff --git a/include/wx/xrc/xh_scrol.h b/include/wx/xrc/xh_scrol.h index 77988eefce..cc2641a9e8 100644 --- a/include/wx/xrc/xh_scrol.h +++ b/include/wx/xrc/xh_scrol.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SCROL_H_ #define _WX_XH_SCROL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_scrol.h" #endif diff --git a/include/wx/xrc/xh_scwin.h b/include/wx/xrc/xh_scwin.h index 6aa9139d1f..f88f7359e8 100644 --- a/include/wx/xrc/xh_scwin.h +++ b/include/wx/xrc/xh_scwin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SCWIN_H_ #define _WX_XH_SCWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_scwin.h" #endif diff --git a/include/wx/xrc/xh_sizer.h b/include/wx/xrc/xh_sizer.h index 2e0ad9606a..c3329e572f 100644 --- a/include/wx/xrc/xh_sizer.h +++ b/include/wx/xrc/xh_sizer.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SIZER_H_ #define _WX_XH_SIZER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_sizer.h" #endif diff --git a/include/wx/xrc/xh_slidr.h b/include/wx/xrc/xh_slidr.h index 2eeb587eaf..04e9940b07 100644 --- a/include/wx/xrc/xh_slidr.h +++ b/include/wx/xrc/xh_slidr.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SLIDR_H_ #define _WX_XH_SLIDR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_slidr.h" #endif diff --git a/include/wx/xrc/xh_spin.h b/include/wx/xrc/xh_spin.h index e49b607dd1..ff0778fbcb 100644 --- a/include/wx/xrc/xh_spin.h +++ b/include/wx/xrc/xh_spin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SPIN_H_ #define _WX_XH_SPIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_spin.h" #endif diff --git a/include/wx/xrc/xh_split.h b/include/wx/xrc/xh_split.h index cf58e43ceb..40c317e257 100644 --- a/include/wx/xrc/xh_split.h +++ b/include/wx/xrc/xh_split.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SPLIT_H_ #define _WX_XH_SPLIT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_split.h" #endif diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index 909a60f639..395170aa02 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STATBAR_H_ #define _WX_XH_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_statbar.h" #endif diff --git a/include/wx/xrc/xh_stbmp.h b/include/wx/xrc/xh_stbmp.h index db26c4033b..6212c935b0 100644 --- a/include/wx/xrc/xh_stbmp.h +++ b/include/wx/xrc/xh_stbmp.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STBMP_H_ #define _WX_XH_STBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_stbmp.h" #endif diff --git a/include/wx/xrc/xh_stbox.h b/include/wx/xrc/xh_stbox.h index bca3ec8fd9..1801cd1f27 100644 --- a/include/wx/xrc/xh_stbox.h +++ b/include/wx/xrc/xh_stbox.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STBOX_H_ #define _WX_XH_STBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_stbox.h" #endif diff --git a/include/wx/xrc/xh_stlin.h b/include/wx/xrc/xh_stlin.h index 72767b35eb..b2720ac199 100644 --- a/include/wx/xrc/xh_stlin.h +++ b/include/wx/xrc/xh_stlin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STLIN_H_ #define _WX_XH_STLIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_stlin.h" #endif diff --git a/include/wx/xrc/xh_sttxt.h b/include/wx/xrc/xh_sttxt.h index 7c576b1d99..072c6bc995 100644 --- a/include/wx/xrc/xh_sttxt.h +++ b/include/wx/xrc/xh_sttxt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STTXT_H_ #define _WX_XH_STTXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_sttxt.h" #endif diff --git a/include/wx/xrc/xh_text.h b/include/wx/xrc/xh_text.h index b9d3021f68..e67010eeb6 100644 --- a/include/wx/xrc/xh_text.h +++ b/include/wx/xrc/xh_text.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TEXT_H_ #define _WX_XH_TEXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_text.h" #endif diff --git a/include/wx/xrc/xh_tglbtn.h b/include/wx/xrc/xh_tglbtn.h index 75167d9cc4..70ab273ffa 100644 --- a/include/wx/xrc/xh_tglbtn.h +++ b/include/wx/xrc/xh_tglbtn.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TGLBTN_H_ #define _WX_XH_TGLBTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_tglbtn.h" #endif diff --git a/include/wx/xrc/xh_toolb.h b/include/wx/xrc/xh_toolb.h index c54b781061..bbbaa3c809 100644 --- a/include/wx/xrc/xh_toolb.h +++ b/include/wx/xrc/xh_toolb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TOOLB_H_ #define _WX_XH_TOOLB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_toolb.h" #endif diff --git a/include/wx/xrc/xh_tree.h b/include/wx/xrc/xh_tree.h index 43a85f93a6..6830bde127 100644 --- a/include/wx/xrc/xh_tree.h +++ b/include/wx/xrc/xh_tree.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TREE_H_ #define _WX_XH_TREE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_tree.h" #endif diff --git a/include/wx/xrc/xh_unkwn.h b/include/wx/xrc/xh_unkwn.h index 354ea45bf0..cef645ebfa 100644 --- a/include/wx/xrc/xh_unkwn.h +++ b/include/wx/xrc/xh_unkwn.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_UNKWN_H_ #define _WX_XH_UNKWN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_unkwn.h" #endif diff --git a/include/wx/xrc/xh_wizrd.h b/include/wx/xrc/xh_wizrd.h index 574e735b89..84d9346fe5 100644 --- a/include/wx/xrc/xh_wizrd.h +++ b/include/wx/xrc/xh_wizrd.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_WIZRD_H_ #define _WX_XH_WIZRDL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_wizrd.h" #endif diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 51118d1ea1..2525bf733d 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -11,7 +11,7 @@ #ifndef _WX_XMLRES_H_ #define _WX_XMLRES_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xmlres.h" #endif -- 2.45.2