From ab7ce33c563651f790f99d64ee56727706047ae3 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sat, 7 Sep 2002 12:28:46 +0000 Subject: [PATCH] disable use of #pragma interface under Mac OS X GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer Tools update contain a bug concerning #pragma interface handling that can only be worked around by not using them (and they are not necessary anyways) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/animate/animate.h | 2 +- contrib/include/wx/canvas/bbox.h | 2 +- contrib/include/wx/canvas/canvas.h | 2 +- contrib/include/wx/canvas/liner.h | 2 +- contrib/include/wx/canvas/polygon.h | 2 +- contrib/include/wx/fl/antiflickpl.h | 2 +- contrib/include/wx/fl/bardragpl.h | 2 +- contrib/include/wx/fl/barhintspl.h | 2 +- contrib/include/wx/fl/cbcustom.h | 2 +- contrib/include/wx/fl/controlbar.h | 2 +- contrib/include/wx/fl/dynbarhnd.h | 2 +- contrib/include/wx/fl/dyntbar.h | 2 +- contrib/include/wx/fl/dyntbarhnd.h | 2 +- contrib/include/wx/fl/frmview.h | 2 +- contrib/include/wx/fl/garbagec.h | 2 +- contrib/include/wx/fl/gcupdatesmgr.h | 2 +- contrib/include/wx/fl/hintanimpl.h | 2 +- contrib/include/wx/fl/newbmpbtn.h | 2 +- contrib/include/wx/fl/panedrawpl.h | 2 +- contrib/include/wx/fl/rowdragpl.h | 2 +- contrib/include/wx/fl/rowlayoutpl.h | 2 +- contrib/include/wx/fl/toolwnd.h | 2 +- contrib/include/wx/fl/updatesmgr.h | 2 +- contrib/include/wx/gizmos/editlbox.h | 2 +- contrib/include/wx/gizmos/ledctrl.h | 2 +- contrib/include/wx/gizmos/multicell.h | 2 +- contrib/include/wx/gizmos/splittree.h | 2 +- contrib/include/wx/mmedia/cdbase.h | 2 +- contrib/include/wx/mmedia/cdunix.h | 2 +- contrib/include/wx/net/email.h | 2 +- contrib/include/wx/net/msg.h | 2 +- contrib/include/wx/net/smapi.h | 4 ++-- contrib/include/wx/net/web.h | 2 +- contrib/include/wx/ogl/basic.h | 2 +- contrib/include/wx/ogl/basicp.h | 2 +- contrib/include/wx/ogl/bmpshape.h | 2 +- contrib/include/wx/ogl/canvas.h | 2 +- contrib/include/wx/ogl/composit.h | 2 +- contrib/include/wx/ogl/constrnt.h | 2 +- contrib/include/wx/ogl/divided.h | 2 +- contrib/include/wx/ogl/drawn.h | 2 +- contrib/include/wx/ogl/drawnp.h | 2 +- contrib/include/wx/ogl/lines.h | 2 +- contrib/include/wx/ogl/linesp.h | 2 +- contrib/include/wx/ogl/mfutils.h | 2 +- contrib/include/wx/ogl/misc.h | 2 +- contrib/include/wx/ogl/ogldiag.h | 2 +- contrib/include/wx/plot/plot.h | 2 +- contrib/include/wx/xrc/xh_bmp.h | 2 +- contrib/include/wx/xrc/xh_bmpbt.h | 2 +- contrib/include/wx/xrc/xh_bttn.h | 2 +- contrib/include/wx/xrc/xh_cald.h | 2 +- contrib/include/wx/xrc/xh_chckb.h | 2 +- contrib/include/wx/xrc/xh_chckl.h | 2 +- contrib/include/wx/xrc/xh_choic.h | 2 +- contrib/include/wx/xrc/xh_combo.h | 2 +- contrib/include/wx/xrc/xh_dlg.h | 2 +- contrib/include/wx/xrc/xh_frame.h | 2 +- contrib/include/wx/xrc/xh_gauge.h | 2 +- contrib/include/wx/xrc/xh_gdctl.h | 2 +- contrib/include/wx/xrc/xh_html.h | 2 +- contrib/include/wx/xrc/xh_listb.h | 2 +- contrib/include/wx/xrc/xh_listc.h | 2 +- contrib/include/wx/xrc/xh_menu.h | 2 +- contrib/include/wx/xrc/xh_notbk.h | 2 +- contrib/include/wx/xrc/xh_panel.h | 2 +- contrib/include/wx/xrc/xh_radbt.h | 2 +- contrib/include/wx/xrc/xh_radbx.h | 2 +- contrib/include/wx/xrc/xh_scrol.h | 2 +- contrib/include/wx/xrc/xh_sizer.h | 2 +- contrib/include/wx/xrc/xh_slidr.h | 2 +- contrib/include/wx/xrc/xh_spin.h | 2 +- contrib/include/wx/xrc/xh_stbmp.h | 2 +- contrib/include/wx/xrc/xh_stbox.h | 2 +- contrib/include/wx/xrc/xh_stlin.h | 2 +- contrib/include/wx/xrc/xh_sttxt.h | 2 +- contrib/include/wx/xrc/xh_text.h | 2 +- contrib/include/wx/xrc/xh_toolb.h | 2 +- contrib/include/wx/xrc/xh_tree.h | 2 +- contrib/include/wx/xrc/xh_unkwn.h | 2 +- contrib/include/wx/xrc/xml.h | 2 +- contrib/include/wx/xrc/xmlres.h | 2 +- contrib/samples/applet/dialogs_wdr.h | 2 +- contrib/samples/canvas/simple/simple.h | 2 +- contrib/samples/canvas/test/test.h | 2 +- contrib/samples/fl/fl_demo1/fl_demo1.h | 2 +- contrib/samples/gizmos/multicell/mtest.cpp | 2 +- contrib/samples/mmedia/mmbman.h | 2 +- contrib/samples/mmedia/mmboard.h | 2 +- contrib/samples/ogl/ogledit/doc.h | 2 +- contrib/samples/ogl/ogledit/ogledit.h | 2 +- contrib/samples/ogl/ogledit/palette.h | 2 +- contrib/samples/ogl/ogledit/view.h | 2 +- contrib/samples/ogl/studio/cspalette.h | 2 +- contrib/samples/ogl/studio/dialogs.h | 2 +- contrib/samples/ogl/studio/doc.h | 2 +- contrib/samples/ogl/studio/shapes.h | 2 +- contrib/samples/ogl/studio/symbols.h | 2 +- contrib/samples/ogl/studio/view.h | 2 +- contrib/samples/stc/stctest.cpp | 2 +- contrib/samples/xrc/custclas.h | 2 +- contrib/samples/xrc/derivdlg.h | 2 +- contrib/samples/xrc/myframe.h | 2 +- contrib/samples/xrc/xrcdemo.h | 2 +- contrib/utils/wxrc/wxrc.cpp | 2 +- contrib/utils/wxrcedit/edapp.cpp | 2 +- contrib/utils/wxrcedit/editor.h | 2 +- contrib/utils/wxrcedit/nodehnd.h | 2 +- contrib/utils/wxrcedit/nodesdb.h | 2 +- contrib/utils/wxrcedit/pe_adv.h | 2 +- contrib/utils/wxrcedit/pe_basic.h | 2 +- contrib/utils/wxrcedit/preview.h | 2 +- contrib/utils/wxrcedit/propedit.h | 2 +- contrib/utils/wxrcedit/propframe.h | 2 +- contrib/utils/wxrcedit/splittree.h | 2 +- contrib/utils/wxrcedit/treedt.h | 2 +- contrib/utils/wxrcedit/xmlhelpr.h | 2 +- demos/forty/scoredg.cpp | 2 +- demos/life/dialogs.h | 2 +- demos/life/game.h | 2 +- demos/life/life.h | 2 +- demos/life/reader.h | 2 +- demos/poem/wxpoem.h | 2 +- include/wx/gtk/app.h | 2 +- include/wx/gtk/bitmap.h | 2 +- include/wx/gtk/bmpbuttn.h | 2 +- include/wx/gtk/brush.h | 2 +- include/wx/gtk/button.h | 2 +- include/wx/gtk/checkbox.h | 2 +- include/wx/gtk/checklst.h | 2 +- include/wx/gtk/choice.h | 2 +- include/wx/gtk/clipbrd.h | 2 +- include/wx/gtk/colour.h | 2 +- include/wx/gtk/combobox.h | 2 +- include/wx/gtk/control.h | 2 +- include/wx/gtk/cursor.h | 2 +- include/wx/gtk/dataobj.h | 2 +- include/wx/gtk/dataobj2.h | 2 +- include/wx/gtk/dc.h | 2 +- include/wx/gtk/dcclient.h | 2 +- include/wx/gtk/dcmemory.h | 2 +- include/wx/gtk/dialog.h | 2 +- include/wx/gtk/dnd.h | 2 +- include/wx/gtk/filedlg.h | 2 +- include/wx/gtk/font.h | 2 +- include/wx/gtk/fontdlg.h | 2 +- include/wx/gtk/frame.h | 2 +- include/wx/gtk/gauge.h | 2 +- include/wx/gtk/gdiobj.h | 2 +- include/wx/gtk/glcanvas.h | 2 +- include/wx/gtk/icon.h | 2 +- include/wx/gtk/joystick.h | 2 +- include/wx/gtk/listbox.h | 2 +- include/wx/gtk/mdi.h | 2 +- include/wx/gtk/menu.h | 2 +- include/wx/gtk/menuitem.h | 2 +- include/wx/gtk/minifram.h | 2 +- include/wx/gtk/notebook.h | 2 +- include/wx/gtk/pen.h | 2 +- include/wx/gtk/popupwin.h | 2 +- include/wx/gtk/radiobox.h | 2 +- include/wx/gtk/radiobut.h | 2 +- include/wx/gtk/region.h | 2 +- include/wx/gtk/scrolbar.h | 2 +- include/wx/gtk/scrolwin.h | 2 +- include/wx/gtk/slider.h | 2 +- include/wx/gtk/spinbutt.h | 2 +- include/wx/gtk/spinctrl.h | 2 +- include/wx/gtk/statbmp.h | 2 +- include/wx/gtk/statbox.h | 2 +- include/wx/gtk/statline.h | 2 +- include/wx/gtk/stattext.h | 2 +- include/wx/gtk/tbargtk.h | 2 +- include/wx/gtk/textctrl.h | 2 +- include/wx/gtk/timer.h | 2 +- include/wx/gtk/tooltip.h | 2 +- include/wx/gtk/toplevel.h | 2 +- include/wx/gtk/treectrl.h | 2 +- include/wx/gtk/wave.h | 2 +- include/wx/gtk/window.h | 2 +- include/wx/gtk1/app.h | 2 +- include/wx/gtk1/bitmap.h | 2 +- include/wx/gtk1/bmpbuttn.h | 2 +- include/wx/gtk1/brush.h | 2 +- include/wx/gtk1/button.h | 2 +- include/wx/gtk1/checkbox.h | 2 +- include/wx/gtk1/checklst.h | 2 +- include/wx/gtk1/choice.h | 2 +- include/wx/gtk1/clipbrd.h | 2 +- include/wx/gtk1/colour.h | 2 +- include/wx/gtk1/combobox.h | 2 +- include/wx/gtk1/control.h | 2 +- include/wx/gtk1/cursor.h | 2 +- include/wx/gtk1/dataobj.h | 2 +- include/wx/gtk1/dataobj2.h | 2 +- include/wx/gtk1/dc.h | 2 +- include/wx/gtk1/dcclient.h | 2 +- include/wx/gtk1/dcmemory.h | 2 +- include/wx/gtk1/dialog.h | 2 +- include/wx/gtk1/dnd.h | 2 +- include/wx/gtk1/filedlg.h | 2 +- include/wx/gtk1/font.h | 2 +- include/wx/gtk1/fontdlg.h | 2 +- include/wx/gtk1/frame.h | 2 +- include/wx/gtk1/gauge.h | 2 +- include/wx/gtk1/gdiobj.h | 2 +- include/wx/gtk1/glcanvas.h | 2 +- include/wx/gtk1/icon.h | 2 +- include/wx/gtk1/joystick.h | 2 +- include/wx/gtk1/listbox.h | 2 +- include/wx/gtk1/mdi.h | 2 +- include/wx/gtk1/menu.h | 2 +- include/wx/gtk1/menuitem.h | 2 +- include/wx/gtk1/minifram.h | 2 +- include/wx/gtk1/notebook.h | 2 +- include/wx/gtk1/pen.h | 2 +- include/wx/gtk1/popupwin.h | 2 +- include/wx/gtk1/radiobox.h | 2 +- include/wx/gtk1/radiobut.h | 2 +- include/wx/gtk1/region.h | 2 +- include/wx/gtk1/scrolbar.h | 2 +- include/wx/gtk1/scrolwin.h | 2 +- include/wx/gtk1/slider.h | 2 +- include/wx/gtk1/spinbutt.h | 2 +- include/wx/gtk1/spinctrl.h | 2 +- include/wx/gtk1/statbmp.h | 2 +- include/wx/gtk1/statbox.h | 2 +- include/wx/gtk1/statline.h | 2 +- include/wx/gtk1/stattext.h | 2 +- include/wx/gtk1/tbargtk.h | 2 +- include/wx/gtk1/textctrl.h | 2 +- include/wx/gtk1/timer.h | 2 +- include/wx/gtk1/tooltip.h | 2 +- include/wx/gtk1/toplevel.h | 2 +- include/wx/gtk1/treectrl.h | 2 +- include/wx/gtk1/wave.h | 2 +- include/wx/gtk1/window.h | 2 +- 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_sizer.h | 2 +- include/wx/xrc/xh_slidr.h | 2 +- include/wx/xrc/xh_spin.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_toolb.h | 2 +- include/wx/xrc/xh_tree.h | 2 +- include/wx/xrc/xh_unkwn.h | 2 +- include/wx/xrc/xml.h | 2 +- include/wx/xrc/xmlres.h | 2 +- samples/stc/stctest.cpp | 2 +- samples/xrc/custclas.h | 2 +- samples/xrc/derivdlg.h | 2 +- samples/xrc/myframe.h | 2 +- samples/xrc/xrcdemo.h | 2 +- utils/dialoged/src/dialoged.h | 2 +- utils/dialoged/src/reseditr.h | 2 +- utils/dialoged/src/symbtabl.h | 2 +- utils/dialoged/src/winprop.h | 2 +- utils/dialoged/src/winstyle.h | 2 +- utils/helpview/src/helpview.h | 2 +- utils/wxrc/wxrc.cpp | 2 +- 283 files changed, 284 insertions(+), 284 deletions(-) diff --git a/contrib/include/wx/animate/animate.h b/contrib/include/wx/animate/animate.h index 991beeb81d..2768d13d30 100644 --- a/contrib/include/wx/animate/animate.h +++ b/contrib/include/wx/animate/animate.h @@ -12,7 +12,7 @@ #ifndef _WX_ANIMATEH__ #define _WX_ANIMATEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "animate.h" #endif diff --git a/contrib/include/wx/canvas/bbox.h b/contrib/include/wx/canvas/bbox.h index b47c9e3af6..6effa6951f 100644 --- a/contrib/include/wx/canvas/bbox.h +++ b/contrib/include/wx/canvas/bbox.h @@ -1,7 +1,7 @@ #ifndef __WXBOUNDINGBOX_H__ #define __WXBOUNDINGBOX_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "bbox.cpp" #endif diff --git a/contrib/include/wx/canvas/canvas.h b/contrib/include/wx/canvas/canvas.h index 37d900ded1..5d8a2addf3 100644 --- a/contrib/include/wx/canvas/canvas.h +++ b/contrib/include/wx/canvas/canvas.h @@ -9,7 +9,7 @@ #ifndef __WXCANVAS_H__ #define __WXCANVAS_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "canvas.cpp" #endif diff --git a/contrib/include/wx/canvas/liner.h b/contrib/include/wx/canvas/liner.h index 88b027237a..e543c0fc9c 100644 --- a/contrib/include/wx/canvas/liner.h +++ b/contrib/include/wx/canvas/liner.h @@ -8,7 +8,7 @@ #ifndef __WXLINER_H #define __WXLINER_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "liner.cpp" #endif diff --git a/contrib/include/wx/canvas/polygon.h b/contrib/include/wx/canvas/polygon.h index b583b2c9cc..a86ca8f3f9 100644 --- a/contrib/include/wx/canvas/polygon.h +++ b/contrib/include/wx/canvas/polygon.h @@ -9,7 +9,7 @@ #ifndef __WXPOLYGON_H__ #define __WXPOLYGON_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "polygon.cpp" #endif diff --git a/contrib/include/wx/fl/antiflickpl.h b/contrib/include/wx/fl/antiflickpl.h index 0ede3dfce6..32b0eb2988 100644 --- a/contrib/include/wx/fl/antiflickpl.h +++ b/contrib/include/wx/fl/antiflickpl.h @@ -12,7 +12,7 @@ #ifndef __ANTIFLICKPL_G__ #define __ANTIFLICKPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "antiflickpl.h" #endif diff --git a/contrib/include/wx/fl/bardragpl.h b/contrib/include/wx/fl/bardragpl.h index 4c42338af1..953b8dff9c 100644 --- a/contrib/include/wx/fl/bardragpl.h +++ b/contrib/include/wx/fl/bardragpl.h @@ -12,7 +12,7 @@ #ifndef __BARDRAGPL_G__ #define __BARDRAGPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "bardragpl.h" #endif diff --git a/contrib/include/wx/fl/barhintspl.h b/contrib/include/wx/fl/barhintspl.h index c283cc1a71..51a503145c 100644 --- a/contrib/include/wx/fl/barhintspl.h +++ b/contrib/include/wx/fl/barhintspl.h @@ -12,7 +12,7 @@ #ifndef __DRAGHINTSPL_G__ #define __DRAGHINTSPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "barhintspl.h" #endif diff --git a/contrib/include/wx/fl/cbcustom.h b/contrib/include/wx/fl/cbcustom.h index 0445a23f62..93ec7f7f43 100644 --- a/contrib/include/wx/fl/cbcustom.h +++ b/contrib/include/wx/fl/cbcustom.h @@ -12,7 +12,7 @@ #ifndef __CBCUSTOM_G__ #define __CBCUSTOM_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "cbcustom.h" #endif diff --git a/contrib/include/wx/fl/controlbar.h b/contrib/include/wx/fl/controlbar.h index c06b912a35..dbe944fc9d 100644 --- a/contrib/include/wx/fl/controlbar.h +++ b/contrib/include/wx/fl/controlbar.h @@ -13,7 +13,7 @@ #ifndef __CONTROLBAR_G__ #define __CONTROLBAR_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "controlbar.h" #endif diff --git a/contrib/include/wx/fl/dynbarhnd.h b/contrib/include/wx/fl/dynbarhnd.h index 84520cce7c..5e0f465e45 100644 --- a/contrib/include/wx/fl/dynbarhnd.h +++ b/contrib/include/wx/fl/dynbarhnd.h @@ -12,7 +12,7 @@ #ifndef __DYNBARHND_G__ #define __DYNBARHND_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dynbarhnd.h" #endif diff --git a/contrib/include/wx/fl/dyntbar.h b/contrib/include/wx/fl/dyntbar.h index 109d7413dd..52945f93ab 100644 --- a/contrib/include/wx/fl/dyntbar.h +++ b/contrib/include/wx/fl/dyntbar.h @@ -12,7 +12,7 @@ #ifndef __DYNTBAR_G__ #define __DYNTBAR_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dyntbar.h" #endif diff --git a/contrib/include/wx/fl/dyntbarhnd.h b/contrib/include/wx/fl/dyntbarhnd.h index f0ceaa5621..95441c92b8 100644 --- a/contrib/include/wx/fl/dyntbarhnd.h +++ b/contrib/include/wx/fl/dyntbarhnd.h @@ -12,7 +12,7 @@ #ifndef __DYNTBARHND_G__ #define __DYNTBARHND_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dyntbarhnd.h" #endif diff --git a/contrib/include/wx/fl/frmview.h b/contrib/include/wx/fl/frmview.h index b12e3fbbc5..8830ab8e0a 100644 --- a/contrib/include/wx/fl/frmview.h +++ b/contrib/include/wx/fl/frmview.h @@ -12,7 +12,7 @@ #ifndef __FRMVIEW_G__ #define __FRMVIEW_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frmview.h" #endif diff --git a/contrib/include/wx/fl/garbagec.h b/contrib/include/wx/fl/garbagec.h index 1c70b6e84a..b5f991abfa 100644 --- a/contrib/include/wx/fl/garbagec.h +++ b/contrib/include/wx/fl/garbagec.h @@ -12,7 +12,7 @@ #ifndef __GARBAGEC_G__ #define __GARBAGEC_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "garbagec.h" #endif diff --git a/contrib/include/wx/fl/gcupdatesmgr.h b/contrib/include/wx/fl/gcupdatesmgr.h index 544e43ea23..2bfc959f89 100644 --- a/contrib/include/wx/fl/gcupdatesmgr.h +++ b/contrib/include/wx/fl/gcupdatesmgr.h @@ -12,7 +12,7 @@ #ifndef __GCUPDATESMGR_G__ #define __GCUPDATESMGR_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gcupdatesmgr.h" #endif diff --git a/contrib/include/wx/fl/hintanimpl.h b/contrib/include/wx/fl/hintanimpl.h index 65a2d01b4c..e35083386e 100644 --- a/contrib/include/wx/fl/hintanimpl.h +++ b/contrib/include/wx/fl/hintanimpl.h @@ -12,7 +12,7 @@ #ifndef __HINTANIMPL_G__ #define __HINTANIMPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "hintanimpl.h" #endif diff --git a/contrib/include/wx/fl/newbmpbtn.h b/contrib/include/wx/fl/newbmpbtn.h index 9992849bf0..73fcc32b59 100644 --- a/contrib/include/wx/fl/newbmpbtn.h +++ b/contrib/include/wx/fl/newbmpbtn.h @@ -12,7 +12,7 @@ #ifndef __NEWBMPBTN_G__ #define __NEWBMPBTN_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "newbmpbtn.h" #endif diff --git a/contrib/include/wx/fl/panedrawpl.h b/contrib/include/wx/fl/panedrawpl.h index 11272d3042..781a9f39bc 100644 --- a/contrib/include/wx/fl/panedrawpl.h +++ b/contrib/include/wx/fl/panedrawpl.h @@ -12,7 +12,7 @@ #ifndef __PANEDRAWPL_G__ #define __PANEDRAWPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "panedrawpl.h" #endif diff --git a/contrib/include/wx/fl/rowdragpl.h b/contrib/include/wx/fl/rowdragpl.h index 96036b5735..e9b94aea5b 100644 --- a/contrib/include/wx/fl/rowdragpl.h +++ b/contrib/include/wx/fl/rowdragpl.h @@ -12,7 +12,7 @@ #ifndef __ROWDRAGPL_G__ #define __ROWDRAGPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "rowdragpl.h" #endif diff --git a/contrib/include/wx/fl/rowlayoutpl.h b/contrib/include/wx/fl/rowlayoutpl.h index aa9a670d32..fa1bc52ebf 100644 --- a/contrib/include/wx/fl/rowlayoutpl.h +++ b/contrib/include/wx/fl/rowlayoutpl.h @@ -12,7 +12,7 @@ #ifndef __ROWLAYOUTPL_G__ #define __ROWLAYOUTPL_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "rowlayoutpl.h" #endif diff --git a/contrib/include/wx/fl/toolwnd.h b/contrib/include/wx/fl/toolwnd.h index efe9d125fc..c6509280e6 100644 --- a/contrib/include/wx/fl/toolwnd.h +++ b/contrib/include/wx/fl/toolwnd.h @@ -13,7 +13,7 @@ #ifndef __TOOLWND_G__ #define __TOOLWND_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "toolwnd.h" #endif diff --git a/contrib/include/wx/fl/updatesmgr.h b/contrib/include/wx/fl/updatesmgr.h index 0e71f2e5b6..027d51315b 100644 --- a/contrib/include/wx/fl/updatesmgr.h +++ b/contrib/include/wx/fl/updatesmgr.h @@ -12,7 +12,7 @@ #ifndef __UPDATESMGR_G__ #define __UPDATESMGR_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "updatesmgr.h" #endif diff --git a/contrib/include/wx/gizmos/editlbox.h b/contrib/include/wx/gizmos/editlbox.h index 435a286fa9..5ee5c8048b 100644 --- a/contrib/include/wx/gizmos/editlbox.h +++ b/contrib/include/wx/gizmos/editlbox.h @@ -11,7 +11,7 @@ #ifndef __WX_EDITLBOX_H__ #define __WX_EDITLBOX_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "editlbox.h" #endif diff --git a/contrib/include/wx/gizmos/ledctrl.h b/contrib/include/wx/gizmos/ledctrl.h index 19b3cffbf5..15f58af947 100644 --- a/contrib/include/wx/gizmos/ledctrl.h +++ b/contrib/include/wx/gizmos/ledctrl.h @@ -1,7 +1,7 @@ #ifndef _WX_LEDNUMBERCTRL_H_ #define _WX_LEDNUMBERCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wxLEDNumberCtrl.h" #endif diff --git a/contrib/include/wx/gizmos/multicell.h b/contrib/include/wx/gizmos/multicell.h index 6c279a817a..895c98dd08 100644 --- a/contrib/include/wx/gizmos/multicell.h +++ b/contrib/include/wx/gizmos/multicell.h @@ -15,7 +15,7 @@ #ifndef __WX_MULTICELL_H__ #define __WX_MULTICELL_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "multicell.h" #endif diff --git a/contrib/include/wx/gizmos/splittree.h b/contrib/include/wx/gizmos/splittree.h index e9aa94101b..79ebb9c9a4 100644 --- a/contrib/include/wx/gizmos/splittree.h +++ b/contrib/include/wx/gizmos/splittree.h @@ -14,7 +14,7 @@ #ifndef _WX_SPLITTREE_H_ #define _WX_SPLITTREE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "splittree.h" #endif diff --git a/contrib/include/wx/mmedia/cdbase.h b/contrib/include/wx/mmedia/cdbase.h index 8b86d89236..d4b9ee3194 100644 --- a/contrib/include/wx/mmedia/cdbase.h +++ b/contrib/include/wx/mmedia/cdbase.h @@ -10,7 +10,7 @@ #ifndef __CDA_base_H__ #define __CDA_base_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "cdbase.h" #endif diff --git a/contrib/include/wx/mmedia/cdunix.h b/contrib/include/wx/mmedia/cdunix.h index 8c7c3544e2..45994f0a0b 100644 --- a/contrib/include/wx/mmedia/cdunix.h +++ b/contrib/include/wx/mmedia/cdunix.h @@ -10,7 +10,7 @@ #ifndef __CDUNIXH__ #define __CDUNIXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "cdunix.h" #endif diff --git a/contrib/include/wx/net/email.h b/contrib/include/wx/net/email.h index 2d50316206..be906a47c3 100644 --- a/contrib/include/wx/net/email.h +++ b/contrib/include/wx/net/email.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "email.h" #endif diff --git a/contrib/include/wx/net/msg.h b/contrib/include/wx/net/msg.h index 3350738898..27af00eaa3 100644 --- a/contrib/include/wx/net/msg.h +++ b/contrib/include/wx/net/msg.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "msg.h" #endif diff --git a/contrib/include/wx/net/smapi.h b/contrib/include/wx/net/smapi.h index fd1246cf80..4d414580bf 100644 --- a/contrib/include/wx/net/smapi.h +++ b/contrib/include/wx/net/smapi.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "smapi.h" #endif @@ -53,4 +53,4 @@ protected: }; -#endif //_WX_SMAPI_H_ \ No newline at end of file +#endif //_WX_SMAPI_H_ diff --git a/contrib/include/wx/net/web.h b/contrib/include/wx/net/web.h index ce79f83b8d..e64b086343 100644 --- a/contrib/include/wx/net/web.h +++ b/contrib/include/wx/net/web.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "web.h" #endif diff --git a/contrib/include/wx/ogl/basic.h b/contrib/include/wx/ogl/basic.h index 1288c3c057..30c23cea36 100644 --- a/contrib/include/wx/ogl/basic.h +++ b/contrib/include/wx/ogl/basic.h @@ -12,7 +12,7 @@ #ifndef _OGL_BASIC_H_ #define _OGL_BASIC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "basic.h" #endif diff --git a/contrib/include/wx/ogl/basicp.h b/contrib/include/wx/ogl/basicp.h index aa1067764f..fddc8732ac 100644 --- a/contrib/include/wx/ogl/basicp.h +++ b/contrib/include/wx/ogl/basicp.h @@ -12,7 +12,7 @@ #ifndef _OGL_BASICP_H_ #define _OGL_BASICP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "basicp.h" #endif diff --git a/contrib/include/wx/ogl/bmpshape.h b/contrib/include/wx/ogl/bmpshape.h index 8dd7caeb2f..1b56477550 100644 --- a/contrib/include/wx/ogl/bmpshape.h +++ b/contrib/include/wx/ogl/bmpshape.h @@ -12,7 +12,7 @@ #ifndef _OGL_BITMAP_H_ #define _OGL_BITMAP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "bmpshape.h" #endif diff --git a/contrib/include/wx/ogl/canvas.h b/contrib/include/wx/ogl/canvas.h index 4990fe9447..fb52e3f253 100644 --- a/contrib/include/wx/ogl/canvas.h +++ b/contrib/include/wx/ogl/canvas.h @@ -12,7 +12,7 @@ #ifndef _OGL_CANVAS_H_ #define _OGL_CANVAS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "canvas.h" #endif diff --git a/contrib/include/wx/ogl/composit.h b/contrib/include/wx/ogl/composit.h index bbbcc835d3..fc373fe505 100644 --- a/contrib/include/wx/ogl/composit.h +++ b/contrib/include/wx/ogl/composit.h @@ -12,7 +12,7 @@ #ifndef _OGL_COMPOSIT_H_ #define _OGL_COMPOSIT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "composit.h" #endif diff --git a/contrib/include/wx/ogl/constrnt.h b/contrib/include/wx/ogl/constrnt.h index 812aca19a9..b70bd2f32f 100644 --- a/contrib/include/wx/ogl/constrnt.h +++ b/contrib/include/wx/ogl/constrnt.h @@ -12,7 +12,7 @@ #ifndef _OGL_CONSTRNT_H_ #define _OGL_CONSTRNT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "constrnt.h" #endif diff --git a/contrib/include/wx/ogl/divided.h b/contrib/include/wx/ogl/divided.h index f8404637df..a427a63062 100644 --- a/contrib/include/wx/ogl/divided.h +++ b/contrib/include/wx/ogl/divided.h @@ -12,7 +12,7 @@ #ifndef _OGL_DIVIDED_H_ #define _OGL_DIVIDED_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "basic.h" #endif diff --git a/contrib/include/wx/ogl/drawn.h b/contrib/include/wx/ogl/drawn.h index 913275a603..4bc00f91d3 100644 --- a/contrib/include/wx/ogl/drawn.h +++ b/contrib/include/wx/ogl/drawn.h @@ -12,7 +12,7 @@ #ifndef _OGL_DRAWN_H_ #define _OGL_DRAWN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "drawn.h" #endif diff --git a/contrib/include/wx/ogl/drawnp.h b/contrib/include/wx/ogl/drawnp.h index 90a394908f..98ca0a8b65 100644 --- a/contrib/include/wx/ogl/drawnp.h +++ b/contrib/include/wx/ogl/drawnp.h @@ -12,7 +12,7 @@ #ifndef _OGL_DRAWNP_H_ #define _OGL_DRAWNP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "drawnp.h" #endif diff --git a/contrib/include/wx/ogl/lines.h b/contrib/include/wx/ogl/lines.h index 9619bf75cf..0fb141ea98 100644 --- a/contrib/include/wx/ogl/lines.h +++ b/contrib/include/wx/ogl/lines.h @@ -12,7 +12,7 @@ #ifndef _OGL_LINES_H_ #define _OGL_LINES_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "lines.h" #endif diff --git a/contrib/include/wx/ogl/linesp.h b/contrib/include/wx/ogl/linesp.h index 383fe7f554..ffe08df3ce 100644 --- a/contrib/include/wx/ogl/linesp.h +++ b/contrib/include/wx/ogl/linesp.h @@ -12,7 +12,7 @@ #ifndef _OGL_LINESP_H_ #define _OGL_LINESP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "linesp.h" #endif diff --git a/contrib/include/wx/ogl/mfutils.h b/contrib/include/wx/ogl/mfutils.h index 26f0a2fcc4..27ceb4b618 100644 --- a/contrib/include/wx/ogl/mfutils.h +++ b/contrib/include/wx/ogl/mfutils.h @@ -13,7 +13,7 @@ #ifndef _MFUTILS_H_ #define _MFUTILS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mfutils.h" #endif diff --git a/contrib/include/wx/ogl/misc.h b/contrib/include/wx/ogl/misc.h index c8096d81bb..2bce6eeec9 100644 --- a/contrib/include/wx/ogl/misc.h +++ b/contrib/include/wx/ogl/misc.h @@ -12,7 +12,7 @@ #ifndef _OGL_MISC_H_ #define _OGL_MISC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "misc.h" #endif diff --git a/contrib/include/wx/ogl/ogldiag.h b/contrib/include/wx/ogl/ogldiag.h index 0444911f79..afe7db18c4 100644 --- a/contrib/include/wx/ogl/ogldiag.h +++ b/contrib/include/wx/ogl/ogldiag.h @@ -12,7 +12,7 @@ #ifndef _OGL_OGLDIAG_H_ #define _OGL_OGLDIAG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "ogldiag.h" #endif diff --git a/contrib/include/wx/plot/plot.h b/contrib/include/wx/plot/plot.h index 4afcb1966f..6b60dbb49d 100644 --- a/contrib/include/wx/plot/plot.h +++ b/contrib/include/wx/plot/plot.h @@ -12,7 +12,7 @@ #ifndef _WX_PLOT_H_ #define _WX_PLOT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "plot.h" #endif diff --git a/contrib/include/wx/xrc/xh_bmp.h b/contrib/include/wx/xrc/xh_bmp.h index 9867f1041a..946d15bc73 100644 --- a/contrib/include/wx/xrc/xh_bmp.h +++ b/contrib/include/wx/xrc/xh_bmp.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_BMP_H_ #define _WX_XH_BMP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_bmp.h" #endif diff --git a/contrib/include/wx/xrc/xh_bmpbt.h b/contrib/include/wx/xrc/xh_bmpbt.h index 7927585a2d..34862621f3 100644 --- a/contrib/include/wx/xrc/xh_bmpbt.h +++ b/contrib/include/wx/xrc/xh_bmpbt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_BMPBT_H_ #define _WX_XH_BMPBT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_bmpbt.h" #endif diff --git a/contrib/include/wx/xrc/xh_bttn.h b/contrib/include/wx/xrc/xh_bttn.h index c6c89c34a1..719be7264d 100644 --- a/contrib/include/wx/xrc/xh_bttn.h +++ b/contrib/include/wx/xrc/xh_bttn.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_BTTN_H_ #define _WX_XH_BTTN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_bttn.h" #endif diff --git a/contrib/include/wx/xrc/xh_cald.h b/contrib/include/wx/xrc/xh_cald.h index 51d0cdab9f..5c39f44730 100644 --- a/contrib/include/wx/xrc/xh_cald.h +++ b/contrib/include/wx/xrc/xh_cald.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CALD_H_ #define _WX_XH_CALD_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_cald.h" #endif diff --git a/contrib/include/wx/xrc/xh_chckb.h b/contrib/include/wx/xrc/xh_chckb.h index 07794b7eb0..3738377b2f 100644 --- a/contrib/include/wx/xrc/xh_chckb.h +++ b/contrib/include/wx/xrc/xh_chckb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHCKB_H_ #define _WX_XH_CHCKB_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_chckb.h" #endif diff --git a/contrib/include/wx/xrc/xh_chckl.h b/contrib/include/wx/xrc/xh_chckl.h index 30247ccf87..f5913dce84 100644 --- a/contrib/include/wx/xrc/xh_chckl.h +++ b/contrib/include/wx/xrc/xh_chckl.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHCKL_H_ #define _WX_XH_CHCKL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_chckl.h" #endif diff --git a/contrib/include/wx/xrc/xh_choic.h b/contrib/include/wx/xrc/xh_choic.h index d2387781c5..1ea5a70182 100644 --- a/contrib/include/wx/xrc/xh_choic.h +++ b/contrib/include/wx/xrc/xh_choic.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_CHOIC_H_ #define _WX_XH_CHOIC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_choic.h" #endif diff --git a/contrib/include/wx/xrc/xh_combo.h b/contrib/include/wx/xrc/xh_combo.h index 2128d953b5..6be381c052 100644 --- a/contrib/include/wx/xrc/xh_combo.h +++ b/contrib/include/wx/xrc/xh_combo.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_COMBO_H_ #define _WX_XH_COMBO_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_combo.h" #endif diff --git a/contrib/include/wx/xrc/xh_dlg.h b/contrib/include/wx/xrc/xh_dlg.h index 3fd4d51076..a7fb822746 100644 --- a/contrib/include/wx/xrc/xh_dlg.h +++ b/contrib/include/wx/xrc/xh_dlg.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_DLG_H_ #define _WX_XH_DLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_dlg.h" #endif diff --git a/contrib/include/wx/xrc/xh_frame.h b/contrib/include/wx/xrc/xh_frame.h index 47e203114c..a5e824e323 100644 --- a/contrib/include/wx/xrc/xh_frame.h +++ b/contrib/include/wx/xrc/xh_frame.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_FRAME_H_ #define _WX_XH_FRAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_frame.h" #endif diff --git a/contrib/include/wx/xrc/xh_gauge.h b/contrib/include/wx/xrc/xh_gauge.h index 9c2a94017d..50a83dfba1 100644 --- a/contrib/include/wx/xrc/xh_gauge.h +++ b/contrib/include/wx/xrc/xh_gauge.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_GAUGE_H_ #define _WX_XH_GAUGE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_gauge.h" #endif diff --git a/contrib/include/wx/xrc/xh_gdctl.h b/contrib/include/wx/xrc/xh_gdctl.h index 548ecaf616..c41f1197e6 100644 --- a/contrib/include/wx/xrc/xh_gdctl.h +++ b/contrib/include/wx/xrc/xh_gdctl.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_GDCTL_H_ #define _WX_XH_GDCTL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_gdctl.h" #endif diff --git a/contrib/include/wx/xrc/xh_html.h b/contrib/include/wx/xrc/xh_html.h index daaa93dcc7..51e59673f5 100644 --- a/contrib/include/wx/xrc/xh_html.h +++ b/contrib/include/wx/xrc/xh_html.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_HTML_H_ #define _WX_XH_HTML_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_html.h" #endif diff --git a/contrib/include/wx/xrc/xh_listb.h b/contrib/include/wx/xrc/xh_listb.h index c080442c8b..35f0b34d2d 100644 --- a/contrib/include/wx/xrc/xh_listb.h +++ b/contrib/include/wx/xrc/xh_listb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_LISTB_H_ #define _WX_XH_LISTB_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_listb.h" #endif diff --git a/contrib/include/wx/xrc/xh_listc.h b/contrib/include/wx/xrc/xh_listc.h index 8bd27632b1..9199f594dd 100644 --- a/contrib/include/wx/xrc/xh_listc.h +++ b/contrib/include/wx/xrc/xh_listc.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_LISTC_H_ #define _WX_XH_LISTC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_listc.h" #endif diff --git a/contrib/include/wx/xrc/xh_menu.h b/contrib/include/wx/xrc/xh_menu.h index 3ba54e86a6..79ad952ee3 100644 --- a/contrib/include/wx/xrc/xh_menu.h +++ b/contrib/include/wx/xrc/xh_menu.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_MENU_H_ #define _WX_XH_MENU_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_menu.h" #endif diff --git a/contrib/include/wx/xrc/xh_notbk.h b/contrib/include/wx/xrc/xh_notbk.h index bd066d32d5..07f9f1a017 100644 --- a/contrib/include/wx/xrc/xh_notbk.h +++ b/contrib/include/wx/xrc/xh_notbk.h @@ -10,7 +10,7 @@ #ifndef _WX_XH_NOTBK_H_ #define _WX_XH_NOTBK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_notbk.h" #endif diff --git a/contrib/include/wx/xrc/xh_panel.h b/contrib/include/wx/xrc/xh_panel.h index 817e5ecc76..40459ae752 100644 --- a/contrib/include/wx/xrc/xh_panel.h +++ b/contrib/include/wx/xrc/xh_panel.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_PANEL_H_ #define _WX_XH_PANEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_panel.h" #endif diff --git a/contrib/include/wx/xrc/xh_radbt.h b/contrib/include/wx/xrc/xh_radbt.h index 98dc3c9758..58c1288c12 100644 --- a/contrib/include/wx/xrc/xh_radbt.h +++ b/contrib/include/wx/xrc/xh_radbt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_RADBT_H_ #define _WX_XH_RADBT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_radbt.h" #endif diff --git a/contrib/include/wx/xrc/xh_radbx.h b/contrib/include/wx/xrc/xh_radbx.h index 4edfd8b905..42cc3f52b8 100644 --- a/contrib/include/wx/xrc/xh_radbx.h +++ b/contrib/include/wx/xrc/xh_radbx.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_RADBX_H_ #define _WX_XH_RADBX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_radbx.h" #endif diff --git a/contrib/include/wx/xrc/xh_scrol.h b/contrib/include/wx/xrc/xh_scrol.h index d5a1f43788..f82e6df7d9 100644 --- a/contrib/include/wx/xrc/xh_scrol.h +++ b/contrib/include/wx/xrc/xh_scrol.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SCROL_H_ #define _WX_XH_SCROL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_scrol.h" #endif diff --git a/contrib/include/wx/xrc/xh_sizer.h b/contrib/include/wx/xrc/xh_sizer.h index fb5cd23670..0c7d16a4ef 100644 --- a/contrib/include/wx/xrc/xh_sizer.h +++ b/contrib/include/wx/xrc/xh_sizer.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SIZER_H_ #define _WX_XH_SIZER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_sizer.h" #endif diff --git a/contrib/include/wx/xrc/xh_slidr.h b/contrib/include/wx/xrc/xh_slidr.h index 32fb738b7b..6e3223f959 100644 --- a/contrib/include/wx/xrc/xh_slidr.h +++ b/contrib/include/wx/xrc/xh_slidr.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SLIDR_H_ #define _WX_XH_SLIDR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_slidr.h" #endif diff --git a/contrib/include/wx/xrc/xh_spin.h b/contrib/include/wx/xrc/xh_spin.h index 9d44a0ffe9..241039075e 100644 --- a/contrib/include/wx/xrc/xh_spin.h +++ b/contrib/include/wx/xrc/xh_spin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_SPIN_H_ #define _WX_XH_SPIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_spin.h" #endif diff --git a/contrib/include/wx/xrc/xh_stbmp.h b/contrib/include/wx/xrc/xh_stbmp.h index 34493cfc8e..d22e96f53e 100644 --- a/contrib/include/wx/xrc/xh_stbmp.h +++ b/contrib/include/wx/xrc/xh_stbmp.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STBMP_H_ #define _WX_XH_STBMP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_stbmp.h" #endif diff --git a/contrib/include/wx/xrc/xh_stbox.h b/contrib/include/wx/xrc/xh_stbox.h index 509f3ae81c..1773a47f82 100644 --- a/contrib/include/wx/xrc/xh_stbox.h +++ b/contrib/include/wx/xrc/xh_stbox.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STBOX_H_ #define _WX_XH_STBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_stbox.h" #endif diff --git a/contrib/include/wx/xrc/xh_stlin.h b/contrib/include/wx/xrc/xh_stlin.h index 7f7d5d67e7..b8758ca7ce 100644 --- a/contrib/include/wx/xrc/xh_stlin.h +++ b/contrib/include/wx/xrc/xh_stlin.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STLIN_H_ #define _WX_XH_STLIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_stlin.h" #endif diff --git a/contrib/include/wx/xrc/xh_sttxt.h b/contrib/include/wx/xrc/xh_sttxt.h index 94683b82f9..e6c88984fa 100644 --- a/contrib/include/wx/xrc/xh_sttxt.h +++ b/contrib/include/wx/xrc/xh_sttxt.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_STTXT_H_ #define _WX_XH_STTXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_sttxt.h" #endif diff --git a/contrib/include/wx/xrc/xh_text.h b/contrib/include/wx/xrc/xh_text.h index 6bd2b7d285..84d256916b 100644 --- a/contrib/include/wx/xrc/xh_text.h +++ b/contrib/include/wx/xrc/xh_text.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TEXT_H_ #define _WX_XH_TEXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_text.h" #endif diff --git a/contrib/include/wx/xrc/xh_toolb.h b/contrib/include/wx/xrc/xh_toolb.h index c149b77753..22f53ee935 100644 --- a/contrib/include/wx/xrc/xh_toolb.h +++ b/contrib/include/wx/xrc/xh_toolb.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TOOLB_H_ #define _WX_XH_TOOLB_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_toolb.h" #endif diff --git a/contrib/include/wx/xrc/xh_tree.h b/contrib/include/wx/xrc/xh_tree.h index 1d49a463dd..985468c054 100644 --- a/contrib/include/wx/xrc/xh_tree.h +++ b/contrib/include/wx/xrc/xh_tree.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_TREE_H_ #define _WX_XH_TREE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_tree.h" #endif diff --git a/contrib/include/wx/xrc/xh_unkwn.h b/contrib/include/wx/xrc/xh_unkwn.h index 28aa99a251..74e835b108 100644 --- a/contrib/include/wx/xrc/xh_unkwn.h +++ b/contrib/include/wx/xrc/xh_unkwn.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_UNKWN_H_ #define _WX_XH_UNKWN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_unkwn.h" #endif diff --git a/contrib/include/wx/xrc/xml.h b/contrib/include/wx/xrc/xml.h index 7d5f4e05a6..d7b636c0df 100644 --- a/contrib/include/wx/xrc/xml.h +++ b/contrib/include/wx/xrc/xml.h @@ -11,7 +11,7 @@ #ifndef _WX_XML_H_ #define _WX_XML_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xml.h" #endif diff --git a/contrib/include/wx/xrc/xmlres.h b/contrib/include/wx/xrc/xmlres.h index 0962b297aa..ca37a9cfa7 100644 --- a/contrib/include/wx/xrc/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -11,7 +11,7 @@ #ifndef _WX_XMLRES_H_ #define _WX_XMLRES_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xmlres.h" #endif diff --git a/contrib/samples/applet/dialogs_wdr.h b/contrib/samples/applet/dialogs_wdr.h index 82479c5893..f8cb61766a 100644 --- a/contrib/samples/applet/dialogs_wdr.h +++ b/contrib/samples/applet/dialogs_wdr.h @@ -6,7 +6,7 @@ #ifndef __WDR_dialogs_H__ #define __WDR_dialogs_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialogs_wdr.cpp" #endif diff --git a/contrib/samples/canvas/simple/simple.h b/contrib/samples/canvas/simple/simple.h index eadf3f741b..c3671154e7 100644 --- a/contrib/samples/canvas/simple/simple.h +++ b/contrib/samples/canvas/simple/simple.h @@ -8,7 +8,7 @@ #ifndef __simple_H__ #define __simple_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "simple.cpp" #endif diff --git a/contrib/samples/canvas/test/test.h b/contrib/samples/canvas/test/test.h index ab0352ba33..d617baeb6f 100644 --- a/contrib/samples/canvas/test/test.h +++ b/contrib/samples/canvas/test/test.h @@ -11,7 +11,7 @@ #ifndef __test_H__ #define __test_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "test.cpp" #endif diff --git a/contrib/samples/fl/fl_demo1/fl_demo1.h b/contrib/samples/fl/fl_demo1/fl_demo1.h index 13ba9d4dc6..384c6ca987 100644 --- a/contrib/samples/fl/fl_demo1/fl_demo1.h +++ b/contrib/samples/fl/fl_demo1/fl_demo1.h @@ -12,7 +12,7 @@ #ifndef __NEW_TEST_G__ #define __NEW_TEST_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "fl_demo1.h" #endif diff --git a/contrib/samples/gizmos/multicell/mtest.cpp b/contrib/samples/gizmos/multicell/mtest.cpp index 3b1d70b993..05a1ec6122 100644 --- a/contrib/samples/gizmos/multicell/mtest.cpp +++ b/contrib/samples/gizmos/multicell/mtest.cpp @@ -9,7 +9,7 @@ static const char sccsid[] = "%W% %G%"; -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif diff --git a/contrib/samples/mmedia/mmbman.h b/contrib/samples/mmedia/mmbman.h index a74f115170..d534cb8d89 100644 --- a/contrib/samples/mmedia/mmbman.h +++ b/contrib/samples/mmedia/mmbman.h @@ -12,7 +12,7 @@ #ifndef _MMBMAN_APP_H_ #define _MMBMAN_APP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mmbman.cpp" #endif diff --git a/contrib/samples/mmedia/mmboard.h b/contrib/samples/mmedia/mmboard.h index df2590bbb1..eb8c2a3b19 100644 --- a/contrib/samples/mmedia/mmboard.h +++ b/contrib/samples/mmedia/mmboard.h @@ -12,7 +12,7 @@ #ifndef _MMBOARD_APP_H_ #define _MMBOARD_APP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mmboard.cpp" #endif diff --git a/contrib/samples/ogl/ogledit/doc.h b/contrib/samples/ogl/ogledit/doc.h index 71521baac7..6817c6d3d4 100644 --- a/contrib/samples/ogl/ogledit/doc.h +++ b/contrib/samples/ogl/ogledit/doc.h @@ -12,7 +12,7 @@ #ifndef _OGLSAMPLE_DOC_H_ #define _OGLSAMPLE_DOC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/ogledit/ogledit.h b/contrib/samples/ogl/ogledit/ogledit.h index 62dfb9bced..b144f70b0a 100644 --- a/contrib/samples/ogl/ogledit/ogledit.h +++ b/contrib/samples/ogl/ogledit/ogledit.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/ogledit/palette.h b/contrib/samples/ogl/ogledit/palette.h index 2e9102f7db..c38e39dbea 100644 --- a/contrib/samples/ogl/ogledit/palette.h +++ b/contrib/samples/ogl/ogledit/palette.h @@ -12,7 +12,7 @@ #ifndef _OGLSAMPLE_PALETTE_H_ #define _OGLSAMPLE_PALETTE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/ogledit/view.h b/contrib/samples/ogl/ogledit/view.h index 1498574447..388a22dc06 100644 --- a/contrib/samples/ogl/ogledit/view.h +++ b/contrib/samples/ogl/ogledit/view.h @@ -12,7 +12,7 @@ #ifndef _OGLSAMPLE_VIEW_H_ #define _OGLSAMPLE_VIEW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface "view.h" #endif diff --git a/contrib/samples/ogl/studio/cspalette.h b/contrib/samples/ogl/studio/cspalette.h index 67a8e63740..a910553e56 100644 --- a/contrib/samples/ogl/studio/cspalette.h +++ b/contrib/samples/ogl/studio/cspalette.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_CSPALETTE_H_ #define _STUDIO_CSPALETTE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/studio/dialogs.h b/contrib/samples/ogl/studio/dialogs.h index 4a97f8fc75..69fedf280c 100644 --- a/contrib/samples/ogl/studio/dialogs.h +++ b/contrib/samples/ogl/studio/dialogs.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_DIALOGS_H_ #define _STUDIO_DIALOGS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/studio/doc.h b/contrib/samples/ogl/studio/doc.h index c81459f282..502f227f5b 100644 --- a/contrib/samples/ogl/studio/doc.h +++ b/contrib/samples/ogl/studio/doc.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_DOC_H_ #define _STUDIO_DOC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/studio/shapes.h b/contrib/samples/ogl/studio/shapes.h index fa183b46bb..6a440cf590 100644 --- a/contrib/samples/ogl/studio/shapes.h +++ b/contrib/samples/ogl/studio/shapes.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_SHAPES_H_ #define _STUDIO_SHAPES_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/studio/symbols.h b/contrib/samples/ogl/studio/symbols.h index 86db1fe562..15d703cc2a 100644 --- a/contrib/samples/ogl/studio/symbols.h +++ b/contrib/samples/ogl/studio/symbols.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_SYMBOLS_H_ #define _STUDIO_SYMBOLS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif diff --git a/contrib/samples/ogl/studio/view.h b/contrib/samples/ogl/studio/view.h index 11cb3aeb1e..7b5065aa5b 100644 --- a/contrib/samples/ogl/studio/view.h +++ b/contrib/samples/ogl/studio/view.h @@ -12,7 +12,7 @@ #ifndef _STUDIO_VIEW_H_ #define _STUDIO_VIEW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface "view.h" #endif diff --git a/contrib/samples/stc/stctest.cpp b/contrib/samples/stc/stctest.cpp index aa98828fb3..b33052c86c 100644 --- a/contrib/samples/stc/stctest.cpp +++ b/contrib/samples/stc/stctest.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation "stctest.cpp" #pragma interface "stctest.cpp" #endif diff --git a/contrib/samples/xrc/custclas.h b/contrib/samples/xrc/custclas.h index bce98c906d..e34efa01b7 100644 --- a/contrib/samples/xrc/custclas.h +++ b/contrib/samples/xrc/custclas.h @@ -18,7 +18,7 @@ // GCC interface //---------------------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "custclas.h" #endif diff --git a/contrib/samples/xrc/derivdlg.h b/contrib/samples/xrc/derivdlg.h index ca580eed79..2bea8e39ea 100644 --- a/contrib/samples/xrc/derivdlg.h +++ b/contrib/samples/xrc/derivdlg.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "derivdlg.h" #endif diff --git a/contrib/samples/xrc/myframe.h b/contrib/samples/xrc/myframe.h index c2246335b5..33ee6bd4bb 100644 --- a/contrib/samples/xrc/myframe.h +++ b/contrib/samples/xrc/myframe.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "myframe.h" #endif diff --git a/contrib/samples/xrc/xrcdemo.h b/contrib/samples/xrc/xrcdemo.h index c201be31b4..d41a649ddc 100644 --- a/contrib/samples/xrc/xrcdemo.h +++ b/contrib/samples/xrc/xrcdemo.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xrcdemo.h" #endif diff --git a/contrib/utils/wxrc/wxrc.cpp b/contrib/utils/wxrc/wxrc.cpp index 65a606db6e..23b27952a7 100644 --- a/contrib/utils/wxrc/wxrc.cpp +++ b/contrib/utils/wxrc/wxrc.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index 8a3111e7ad..10a151c891 100644 --- a/contrib/utils/wxrcedit/edapp.cpp +++ b/contrib/utils/wxrcedit/edapp.cpp @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif diff --git a/contrib/utils/wxrcedit/editor.h b/contrib/utils/wxrcedit/editor.h index ec53c4ef63..a81f2d0892 100644 --- a/contrib/utils/wxrcedit/editor.h +++ b/contrib/utils/wxrcedit/editor.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "editor.h" #endif diff --git a/contrib/utils/wxrcedit/nodehnd.h b/contrib/utils/wxrcedit/nodehnd.h index 27b487bbf3..869c324fc4 100644 --- a/contrib/utils/wxrcedit/nodehnd.h +++ b/contrib/utils/wxrcedit/nodehnd.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "nodehnd.h" #endif diff --git a/contrib/utils/wxrcedit/nodesdb.h b/contrib/utils/wxrcedit/nodesdb.h index ff629f0d1d..9cff136e98 100644 --- a/contrib/utils/wxrcedit/nodesdb.h +++ b/contrib/utils/wxrcedit/nodesdb.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "nodesdb.h" #endif diff --git a/contrib/utils/wxrcedit/pe_adv.h b/contrib/utils/wxrcedit/pe_adv.h index b72c569a02..802dbd52ec 100644 --- a/contrib/utils/wxrcedit/pe_adv.h +++ b/contrib/utils/wxrcedit/pe_adv.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "pe_adv.h" #endif diff --git a/contrib/utils/wxrcedit/pe_basic.h b/contrib/utils/wxrcedit/pe_basic.h index b13d3cc1e9..10ed202739 100644 --- a/contrib/utils/wxrcedit/pe_basic.h +++ b/contrib/utils/wxrcedit/pe_basic.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "pe_basic.h" #endif diff --git a/contrib/utils/wxrcedit/preview.h b/contrib/utils/wxrcedit/preview.h index 538ea3e157..abacbc1578 100644 --- a/contrib/utils/wxrcedit/preview.h +++ b/contrib/utils/wxrcedit/preview.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "preview.h" #endif diff --git a/contrib/utils/wxrcedit/propedit.h b/contrib/utils/wxrcedit/propedit.h index b74371604e..8676a3e262 100644 --- a/contrib/utils/wxrcedit/propedit.h +++ b/contrib/utils/wxrcedit/propedit.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "propedit.h" #endif diff --git a/contrib/utils/wxrcedit/propframe.h b/contrib/utils/wxrcedit/propframe.h index 069654d6c6..8f9cd7c74a 100644 --- a/contrib/utils/wxrcedit/propframe.h +++ b/contrib/utils/wxrcedit/propframe.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "propframe.h" #endif diff --git a/contrib/utils/wxrcedit/splittree.h b/contrib/utils/wxrcedit/splittree.h index 4be4386cda..c5c53b8e0a 100644 --- a/contrib/utils/wxrcedit/splittree.h +++ b/contrib/utils/wxrcedit/splittree.h @@ -14,7 +14,7 @@ #ifndef _WX_SPLITTREE_H_ #define _WX_SPLITTREE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "splittree.h" #endif diff --git a/contrib/utils/wxrcedit/treedt.h b/contrib/utils/wxrcedit/treedt.h index 230e40003f..4360866305 100644 --- a/contrib/utils/wxrcedit/treedt.h +++ b/contrib/utils/wxrcedit/treedt.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "treedt.h" #endif diff --git a/contrib/utils/wxrcedit/xmlhelpr.h b/contrib/utils/wxrcedit/xmlhelpr.h index 893a4b61ed..67300429c2 100644 --- a/contrib/utils/wxrcedit/xmlhelpr.h +++ b/contrib/utils/wxrcedit/xmlhelpr.h @@ -7,7 +7,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xmlhelpr.h" #endif diff --git a/demos/forty/scoredg.cpp b/demos/forty/scoredg.cpp index 9f96c6135d..fddbc0e3c4 100644 --- a/demos/forty/scoredg.cpp +++ b/demos/forty/scoredg.cpp @@ -11,7 +11,7 @@ // Last modified: 22nd July 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index e41e45953c..f5ebd0a32c 100644 --- a/demos/life/dialogs.h +++ b/demos/life/dialogs.h @@ -12,7 +12,7 @@ #ifndef _LIFE_DIALOGS_H_ #define _LIFE_DIALOGS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialogs.h" #endif diff --git a/demos/life/game.h b/demos/life/game.h index 1366c18fec..8605e51376 100644 --- a/demos/life/game.h +++ b/demos/life/game.h @@ -12,7 +12,7 @@ #ifndef _LIFE_GAME_H_ #define _LIFE_GAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "game.h" #endif diff --git a/demos/life/life.h b/demos/life/life.h index 75cd4d23a1..f23d162a93 100644 --- a/demos/life/life.h +++ b/demos/life/life.h @@ -12,7 +12,7 @@ #ifndef _LIFE_APP_H_ #define _LIFE_APP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "life.h" #endif diff --git a/demos/life/reader.h b/demos/life/reader.h index 27a10af30e..803d219637 100644 --- a/demos/life/reader.h +++ b/demos/life/reader.h @@ -12,7 +12,7 @@ #ifndef _LIFE_READER_H_ #define _LIFE_READER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "reader.h" #endif diff --git a/demos/poem/wxpoem.h b/demos/poem/wxpoem.h index 2f65c220ed..b9950e3ed1 100644 --- a/demos/poem/wxpoem.h +++ b/demos/poem/wxpoem.h @@ -14,7 +14,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wxpoem.h" #endif diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index 3beaf8806b..398275be71 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -10,7 +10,7 @@ #ifndef __GTKAPPH__ #define __GTKAPPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index 3de0323615..0e5b85c9d7 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -11,7 +11,7 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 04532e2b2b..0454769f06 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/brush.h b/include/wx/gtk/brush.h index dd20823aed..eabb80bde9 100644 --- a/include/wx/gtk/brush.h +++ b/include/wx/gtk/brush.h @@ -11,7 +11,7 @@ #ifndef __GTKBRUSHH__ #define __GTKBRUSHH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index 0fb15ad031..f6d0a48857 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -10,7 +10,7 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index 408c860413..2d262a0978 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -10,7 +10,7 @@ #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h index 804765173c..19d1ae02ef 100644 --- a/include/wx/gtk/checklst.h +++ b/include/wx/gtk/checklst.h @@ -11,7 +11,7 @@ #ifndef __GTKCHECKLISTH__ #define __GTKCHECKLISTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 279e80d7fb..6acce9a5de 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -10,7 +10,7 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "choice.h" #endif diff --git a/include/wx/gtk/clipbrd.h b/include/wx/gtk/clipbrd.h index 0bc454dc22..bc942af2a5 100644 --- a/include/wx/gtk/clipbrd.h +++ b/include/wx/gtk/clipbrd.h @@ -11,7 +11,7 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index f07bce2d9d..f299ca5949 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -11,7 +11,7 @@ #ifndef __GTKCOLOURH__ #define __GTKCOLOURH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index b0e0bea5e4..3574f6837f 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -12,7 +12,7 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "combobox.h" #endif diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index 7dfa143621..38b59dcf29 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -10,7 +10,7 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/cursor.h b/include/wx/gtk/cursor.h index e91fc3a381..655103113a 100644 --- a/include/wx/gtk/cursor.h +++ b/include/wx/gtk/cursor.h @@ -11,7 +11,7 @@ #ifndef __GTKCURSORH__ #define __GTKCURSORH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/dataobj.h b/include/wx/gtk/dataobj.h index bd6783c977..019d5f657f 100644 --- a/include/wx/gtk/dataobj.h +++ b/include/wx/gtk/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk/dataobj2.h b/include/wx/gtk/dataobj2.h index b118ece2f2..1535030396 100644 --- a/include/wx/gtk/dataobj2.h +++ b/include/wx/gtk/dataobj2.h @@ -11,7 +11,7 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index bf3526f704..1550c268e7 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -11,7 +11,7 @@ #ifndef __GTKDCH__ #define __GTKDCH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index ab21e69e4a..802e60b693 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -10,7 +10,7 @@ #ifndef __GTKDCCLIENTH__ #define __GTKDCCLIENTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index 12f106dac6..a4493740d1 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -11,7 +11,7 @@ #ifndef __GTKDCMEMORYH__ #define __GTKDCMEMORYH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index 79be8d8009..8e1ee24e63 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -11,7 +11,7 @@ #ifndef __GTKDIALOGH__ #define __GTKDIALOGH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/dnd.h b/include/wx/gtk/dnd.h index a733897cb9..9bc4868523 100644 --- a/include/wx/gtk/dnd.h +++ b/include/wx/gtk/dnd.h @@ -11,7 +11,7 @@ #ifndef __GTKDNDH__ #define __GTKDNDH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/filedlg.h b/include/wx/gtk/filedlg.h index 200d5c3dde..db117cfe23 100644 --- a/include/wx/gtk/filedlg.h +++ b/include/wx/gtk/filedlg.h @@ -11,7 +11,7 @@ #ifndef __GTKFILEDLGH__ #define __GTKFILEDLGH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index 90448b3704..9311e7d115 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -10,7 +10,7 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/fontdlg.h b/include/wx/gtk/fontdlg.h index 20a92375e8..f777cbe96f 100644 --- a/include/wx/gtk/fontdlg.h +++ b/include/wx/gtk/fontdlg.h @@ -11,7 +11,7 @@ #ifndef __GTK_FONTDLGH__ #define __GTK_FONTDLGH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "fontdlg.h" #endif diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index 662886cf68..0a14bb20c3 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -11,7 +11,7 @@ #ifndef __GTKFRAMEH__ #define __GTKFRAMEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frame.h" #endif diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index 4d3df31ff4..11ec3318c1 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -11,7 +11,7 @@ #ifndef __GTKGAUGEH__ #define __GTKGAUGEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/gdiobj.h b/include/wx/gtk/gdiobj.h index 12153a1025..12e15f3e0f 100644 --- a/include/wx/gtk/gdiobj.h +++ b/include/wx/gtk/gdiobj.h @@ -13,7 +13,7 @@ #include "wx/object.h" -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index f78a8d8f10..472ba104ff 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index f537cb131f..be2f6be3d8 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/icon.h @@ -11,7 +11,7 @@ #ifndef __GTKICONH__ #define __GTKICONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/joystick.h b/include/wx/gtk/joystick.h index 957c16581a..65c2401aa0 100644 --- a/include/wx/gtk/joystick.h +++ b/include/wx/gtk/joystick.h @@ -12,7 +12,7 @@ #ifndef __JOYSTICKH__ #define __JOYSTICKH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "joystick.h" #endif diff --git a/include/wx/gtk/listbox.h b/include/wx/gtk/listbox.h index 8b35420e5d..f9632f26b1 100644 --- a/include/wx/gtk/listbox.h +++ b/include/wx/gtk/listbox.h @@ -11,7 +11,7 @@ #ifndef __GTKLISTBOXH__ #define __GTKLISTBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listbox.h" #endif diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index 97819e9c1b..f5fea52d5a 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -11,7 +11,7 @@ #ifndef __MDIH__ #define __MDIH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index ee22d137b9..afc85c0a0c 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUH__ #define __GTKMENUH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "menu.h" #endif diff --git a/include/wx/gtk/menuitem.h b/include/wx/gtk/menuitem.h index 0fb1eed49d..e839670539 100644 --- a/include/wx/gtk/menuitem.h +++ b/include/wx/gtk/menuitem.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUITEMH__ #define __GTKMENUITEMH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/minifram.h b/include/wx/gtk/minifram.h index f0edcd4b4d..bedee8e027 100644 --- a/include/wx/gtk/minifram.h +++ b/include/wx/gtk/minifram.h @@ -10,7 +10,7 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index b046c65261..5d6abe9932 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -11,7 +11,7 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/pen.h b/include/wx/gtk/pen.h index 9f9fe6e9c5..3ee44368e2 100644 --- a/include/wx/gtk/pen.h +++ b/include/wx/gtk/pen.h @@ -11,7 +11,7 @@ #ifndef __GTKPENH__ #define __GTKPENH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index 40ad14d746..46a00922d3 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "popupwin.h" #endif diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index dc3792341a..97a318bdcd 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBOXH__ #define __GTKRADIOBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index 32d1a9e189..fc3e0c21b7 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 1b7f06cf85..7c224ab08b 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_REGION_H_ #define _WX_GTK_REGION_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index ddc02ebe9e..455eb42799 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -11,7 +11,7 @@ #ifndef __GTKSCROLLBARH__ #define __GTKSCROLLBARH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/scrolwin.h b/include/wx/gtk/scrolwin.h index e667b760e0..c31179533a 100644 --- a/include/wx/gtk/scrolwin.h +++ b/include/wx/gtk/scrolwin.h @@ -12,7 +12,7 @@ #ifndef _WX_GTK_SCROLLWIN_H_ #define _WX_GTK_SCROLLWIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "scrolwin.h" #endif diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index 5052401004..acc01928b1 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -10,7 +10,7 @@ #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/spinbutt.h b/include/wx/gtk/spinbutt.h index 86f873ec17..0969b157d3 100644 --- a/include/wx/gtk/spinbutt.h +++ b/include/wx/gtk/spinbutt.h @@ -11,7 +11,7 @@ #ifndef _WX_GTK_SPINBUTT_H_ #define _WX_GTK_SPINBUTT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index f3af16601a..5f967589fd 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/statbmp.h b/include/wx/gtk/statbmp.h index 8490ad78a4..d11396a14a 100644 --- a/include/wx/gtk/statbmp.h +++ b/include/wx/gtk/statbmp.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 8b9c296f70..c6e232c525 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/statline.h b/include/wx/gtk/statline.h index d892e1ab61..ae4248f906 100644 --- a/include/wx/gtk/statline.h +++ b/include/wx/gtk/statline.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICLINEH__ #define __GTKSTATICLINEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/stattext.h b/include/wx/gtk/stattext.h index 9ae390b841..614c0af070 100644 --- a/include/wx/gtk/stattext.h +++ b/include/wx/gtk/stattext.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/tbargtk.h b/include/wx/gtk/tbargtk.h index 7c46a9dc34..242b327e9e 100644 --- a/include/wx/gtk/tbargtk.h +++ b/include/wx/gtk/tbargtk.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_TBARGTK_H_ #define _WX_GTK_TBARGTK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "tbargtk.h" #endif diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index 4ecb366c80..cc1f3e68ab 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKTEXTCTRLH__ #define __GTKTEXTCTRLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "textctrl.h" #endif diff --git a/include/wx/gtk/timer.h b/include/wx/gtk/timer.h index 91fbc1002e..6ee7767602 100644 --- a/include/wx/gtk/timer.h +++ b/include/wx/gtk/timer.h @@ -11,7 +11,7 @@ #ifndef __GTKTIMERH__ #define __GTKTIMERH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "timer.h" #endif diff --git a/include/wx/gtk/tooltip.h b/include/wx/gtk/tooltip.h index 9d92dd3f6f..132c98f244 100644 --- a/include/wx/gtk/tooltip.h +++ b/include/wx/gtk/tooltip.h @@ -10,7 +10,7 @@ #ifndef __GTKTOOLTIPH__ #define __GTKTOOLTIPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 29fdcd5f5c..21c5532c76 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -11,7 +11,7 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "toplevel.h" #endif diff --git a/include/wx/gtk/treectrl.h b/include/wx/gtk/treectrl.h index b75456a85e..3c657e0867 100644 --- a/include/wx/gtk/treectrl.h +++ b/include/wx/gtk/treectrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TREECTRL_H_ #define _WX_TREECTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "treectrl.h" #endif diff --git a/include/wx/gtk/wave.h b/include/wx/gtk/wave.h index c75f264084..89ce444943 100644 --- a/include/wx/gtk/wave.h +++ b/include/wx/gtk/wave.h @@ -14,7 +14,7 @@ #if wxUSE_WAVE -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wave.h" #endif diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 730e840c43..7a48f97ffd 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -11,7 +11,7 @@ #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/app.h b/include/wx/gtk1/app.h index 3beaf8806b..398275be71 100644 --- a/include/wx/gtk1/app.h +++ b/include/wx/gtk1/app.h @@ -10,7 +10,7 @@ #ifndef __GTKAPPH__ #define __GTKAPPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/bitmap.h b/include/wx/gtk1/bitmap.h index 3de0323615..0e5b85c9d7 100644 --- a/include/wx/gtk1/bitmap.h +++ b/include/wx/gtk1/bitmap.h @@ -11,7 +11,7 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 04532e2b2b..0454769f06 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index dd20823aed..eabb80bde9 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -11,7 +11,7 @@ #ifndef __GTKBRUSHH__ #define __GTKBRUSHH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 0fb15ad031..f6d0a48857 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -10,7 +10,7 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/checkbox.h b/include/wx/gtk1/checkbox.h index 408c860413..2d262a0978 100644 --- a/include/wx/gtk1/checkbox.h +++ b/include/wx/gtk1/checkbox.h @@ -10,7 +10,7 @@ #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 804765173c..19d1ae02ef 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -11,7 +11,7 @@ #ifndef __GTKCHECKLISTH__ #define __GTKCHECKLISTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 279e80d7fb..6acce9a5de 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -10,7 +10,7 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "choice.h" #endif diff --git a/include/wx/gtk1/clipbrd.h b/include/wx/gtk1/clipbrd.h index 0bc454dc22..bc942af2a5 100644 --- a/include/wx/gtk1/clipbrd.h +++ b/include/wx/gtk1/clipbrd.h @@ -11,7 +11,7 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/colour.h b/include/wx/gtk1/colour.h index f07bce2d9d..f299ca5949 100644 --- a/include/wx/gtk1/colour.h +++ b/include/wx/gtk1/colour.h @@ -11,7 +11,7 @@ #ifndef __GTKCOLOURH__ #define __GTKCOLOURH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index b0e0bea5e4..3574f6837f 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -12,7 +12,7 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "combobox.h" #endif diff --git a/include/wx/gtk1/control.h b/include/wx/gtk1/control.h index 7dfa143621..38b59dcf29 100644 --- a/include/wx/gtk1/control.h +++ b/include/wx/gtk1/control.h @@ -10,7 +10,7 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/cursor.h b/include/wx/gtk1/cursor.h index e91fc3a381..655103113a 100644 --- a/include/wx/gtk1/cursor.h +++ b/include/wx/gtk1/cursor.h @@ -11,7 +11,7 @@ #ifndef __GTKCURSORH__ #define __GTKCURSORH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index bd6783c977..019d5f657f 100644 --- a/include/wx/gtk1/dataobj.h +++ b/include/wx/gtk1/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk1/dataobj2.h b/include/wx/gtk1/dataobj2.h index b118ece2f2..1535030396 100644 --- a/include/wx/gtk1/dataobj2.h +++ b/include/wx/gtk1/dataobj2.h @@ -11,7 +11,7 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index bf3526f704..1550c268e7 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -11,7 +11,7 @@ #ifndef __GTKDCH__ #define __GTKDCH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index ab21e69e4a..802e60b693 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -10,7 +10,7 @@ #ifndef __GTKDCCLIENTH__ #define __GTKDCCLIENTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/dcmemory.h b/include/wx/gtk1/dcmemory.h index 12f106dac6..a4493740d1 100644 --- a/include/wx/gtk1/dcmemory.h +++ b/include/wx/gtk1/dcmemory.h @@ -11,7 +11,7 @@ #ifndef __GTKDCMEMORYH__ #define __GTKDCMEMORYH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index 79be8d8009..8e1ee24e63 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -11,7 +11,7 @@ #ifndef __GTKDIALOGH__ #define __GTKDIALOGH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/dnd.h b/include/wx/gtk1/dnd.h index a733897cb9..9bc4868523 100644 --- a/include/wx/gtk1/dnd.h +++ b/include/wx/gtk1/dnd.h @@ -11,7 +11,7 @@ #ifndef __GTKDNDH__ #define __GTKDNDH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/filedlg.h b/include/wx/gtk1/filedlg.h index 200d5c3dde..db117cfe23 100644 --- a/include/wx/gtk1/filedlg.h +++ b/include/wx/gtk1/filedlg.h @@ -11,7 +11,7 @@ #ifndef __GTKFILEDLGH__ #define __GTKFILEDLGH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index 90448b3704..9311e7d115 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/font.h @@ -10,7 +10,7 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/fontdlg.h b/include/wx/gtk1/fontdlg.h index 20a92375e8..f777cbe96f 100644 --- a/include/wx/gtk1/fontdlg.h +++ b/include/wx/gtk1/fontdlg.h @@ -11,7 +11,7 @@ #ifndef __GTK_FONTDLGH__ #define __GTK_FONTDLGH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "fontdlg.h" #endif diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index 662886cf68..0a14bb20c3 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/frame.h @@ -11,7 +11,7 @@ #ifndef __GTKFRAMEH__ #define __GTKFRAMEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frame.h" #endif diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index 4d3df31ff4..11ec3318c1 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -11,7 +11,7 @@ #ifndef __GTKGAUGEH__ #define __GTKGAUGEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/gdiobj.h b/include/wx/gtk1/gdiobj.h index 12153a1025..12e15f3e0f 100644 --- a/include/wx/gtk1/gdiobj.h +++ b/include/wx/gtk1/gdiobj.h @@ -13,7 +13,7 @@ #include "wx/object.h" -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/glcanvas.h b/include/wx/gtk1/glcanvas.h index f78a8d8f10..472ba104ff 100644 --- a/include/wx/gtk1/glcanvas.h +++ b/include/wx/gtk1/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index f537cb131f..be2f6be3d8 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -11,7 +11,7 @@ #ifndef __GTKICONH__ #define __GTKICONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/joystick.h b/include/wx/gtk1/joystick.h index 957c16581a..65c2401aa0 100644 --- a/include/wx/gtk1/joystick.h +++ b/include/wx/gtk1/joystick.h @@ -12,7 +12,7 @@ #ifndef __JOYSTICKH__ #define __JOYSTICKH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "joystick.h" #endif diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index 8b35420e5d..f9632f26b1 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -11,7 +11,7 @@ #ifndef __GTKLISTBOXH__ #define __GTKLISTBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listbox.h" #endif diff --git a/include/wx/gtk1/mdi.h b/include/wx/gtk1/mdi.h index 97819e9c1b..f5fea52d5a 100644 --- a/include/wx/gtk1/mdi.h +++ b/include/wx/gtk1/mdi.h @@ -11,7 +11,7 @@ #ifndef __MDIH__ #define __MDIH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/menu.h b/include/wx/gtk1/menu.h index ee22d137b9..afc85c0a0c 100644 --- a/include/wx/gtk1/menu.h +++ b/include/wx/gtk1/menu.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUH__ #define __GTKMENUH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "menu.h" #endif diff --git a/include/wx/gtk1/menuitem.h b/include/wx/gtk1/menuitem.h index 0fb1eed49d..e839670539 100644 --- a/include/wx/gtk1/menuitem.h +++ b/include/wx/gtk1/menuitem.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUITEMH__ #define __GTKMENUITEMH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/minifram.h b/include/wx/gtk1/minifram.h index f0edcd4b4d..bedee8e027 100644 --- a/include/wx/gtk1/minifram.h +++ b/include/wx/gtk1/minifram.h @@ -10,7 +10,7 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index b046c65261..5d6abe9932 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -11,7 +11,7 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/pen.h b/include/wx/gtk1/pen.h index 9f9fe6e9c5..3ee44368e2 100644 --- a/include/wx/gtk1/pen.h +++ b/include/wx/gtk1/pen.h @@ -11,7 +11,7 @@ #ifndef __GTKPENH__ #define __GTKPENH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h index 40ad14d746..46a00922d3 100644 --- a/include/wx/gtk1/popupwin.h +++ b/include/wx/gtk1/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "popupwin.h" #endif diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index dc3792341a..97a318bdcd 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/radiobox.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBOXH__ #define __GTKRADIOBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/radiobut.h b/include/wx/gtk1/radiobut.h index 32d1a9e189..fc3e0c21b7 100644 --- a/include/wx/gtk1/radiobut.h +++ b/include/wx/gtk1/radiobut.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 1b7f06cf85..7c224ab08b 100644 --- a/include/wx/gtk1/region.h +++ b/include/wx/gtk1/region.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_REGION_H_ #define _WX_GTK_REGION_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/scrolbar.h b/include/wx/gtk1/scrolbar.h index ddc02ebe9e..455eb42799 100644 --- a/include/wx/gtk1/scrolbar.h +++ b/include/wx/gtk1/scrolbar.h @@ -11,7 +11,7 @@ #ifndef __GTKSCROLLBARH__ #define __GTKSCROLLBARH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/scrolwin.h b/include/wx/gtk1/scrolwin.h index e667b760e0..c31179533a 100644 --- a/include/wx/gtk1/scrolwin.h +++ b/include/wx/gtk1/scrolwin.h @@ -12,7 +12,7 @@ #ifndef _WX_GTK_SCROLLWIN_H_ #define _WX_GTK_SCROLLWIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "scrolwin.h" #endif diff --git a/include/wx/gtk1/slider.h b/include/wx/gtk1/slider.h index 5052401004..acc01928b1 100644 --- a/include/wx/gtk1/slider.h +++ b/include/wx/gtk1/slider.h @@ -10,7 +10,7 @@ #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/spinbutt.h b/include/wx/gtk1/spinbutt.h index 86f873ec17..0969b157d3 100644 --- a/include/wx/gtk1/spinbutt.h +++ b/include/wx/gtk1/spinbutt.h @@ -11,7 +11,7 @@ #ifndef _WX_GTK_SPINBUTT_H_ #define _WX_GTK_SPINBUTT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index f3af16601a..5f967589fd 100644 --- a/include/wx/gtk1/spinctrl.h +++ b/include/wx/gtk1/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/statbmp.h b/include/wx/gtk1/statbmp.h index 8490ad78a4..d11396a14a 100644 --- a/include/wx/gtk1/statbmp.h +++ b/include/wx/gtk1/statbmp.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/statbox.h b/include/wx/gtk1/statbox.h index 8b9c296f70..c6e232c525 100644 --- a/include/wx/gtk1/statbox.h +++ b/include/wx/gtk1/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/statline.h b/include/wx/gtk1/statline.h index d892e1ab61..ae4248f906 100644 --- a/include/wx/gtk1/statline.h +++ b/include/wx/gtk1/statline.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICLINEH__ #define __GTKSTATICLINEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/stattext.h b/include/wx/gtk1/stattext.h index 9ae390b841..614c0af070 100644 --- a/include/wx/gtk1/stattext.h +++ b/include/wx/gtk1/stattext.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/tbargtk.h b/include/wx/gtk1/tbargtk.h index 7c46a9dc34..242b327e9e 100644 --- a/include/wx/gtk1/tbargtk.h +++ b/include/wx/gtk1/tbargtk.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_TBARGTK_H_ #define _WX_GTK_TBARGTK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "tbargtk.h" #endif diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index 4ecb366c80..cc1f3e68ab 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKTEXTCTRLH__ #define __GTKTEXTCTRLH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "textctrl.h" #endif diff --git a/include/wx/gtk1/timer.h b/include/wx/gtk1/timer.h index 91fbc1002e..6ee7767602 100644 --- a/include/wx/gtk1/timer.h +++ b/include/wx/gtk1/timer.h @@ -11,7 +11,7 @@ #ifndef __GTKTIMERH__ #define __GTKTIMERH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "timer.h" #endif diff --git a/include/wx/gtk1/tooltip.h b/include/wx/gtk1/tooltip.h index 9d92dd3f6f..132c98f244 100644 --- a/include/wx/gtk1/tooltip.h +++ b/include/wx/gtk1/tooltip.h @@ -10,7 +10,7 @@ #ifndef __GTKTOOLTIPH__ #define __GTKTOOLTIPH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/gtk1/toplevel.h b/include/wx/gtk1/toplevel.h index 29fdcd5f5c..21c5532c76 100644 --- a/include/wx/gtk1/toplevel.h +++ b/include/wx/gtk1/toplevel.h @@ -11,7 +11,7 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "toplevel.h" #endif diff --git a/include/wx/gtk1/treectrl.h b/include/wx/gtk1/treectrl.h index b75456a85e..3c657e0867 100644 --- a/include/wx/gtk1/treectrl.h +++ b/include/wx/gtk1/treectrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TREECTRL_H_ #define _WX_TREECTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "treectrl.h" #endif diff --git a/include/wx/gtk1/wave.h b/include/wx/gtk1/wave.h index c75f264084..89ce444943 100644 --- a/include/wx/gtk1/wave.h +++ b/include/wx/gtk1/wave.h @@ -14,7 +14,7 @@ #if wxUSE_WAVE -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wave.h" #endif diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 730e840c43..7a48f97ffd 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -11,7 +11,7 @@ #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/xrc/xh_bmp.h b/include/wx/xrc/xh_bmp.h index 9867f1041a..946d15bc73 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_bmp.h" #endif diff --git a/include/wx/xrc/xh_bmpbt.h b/include/wx/xrc/xh_bmpbt.h index 7927585a2d..34862621f3 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_bmpbt.h" #endif diff --git a/include/wx/xrc/xh_bttn.h b/include/wx/xrc/xh_bttn.h index c6c89c34a1..719be7264d 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_bttn.h" #endif diff --git a/include/wx/xrc/xh_cald.h b/include/wx/xrc/xh_cald.h index 51d0cdab9f..5c39f44730 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_cald.h" #endif diff --git a/include/wx/xrc/xh_chckb.h b/include/wx/xrc/xh_chckb.h index 07794b7eb0..3738377b2f 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_chckb.h" #endif diff --git a/include/wx/xrc/xh_chckl.h b/include/wx/xrc/xh_chckl.h index 30247ccf87..f5913dce84 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_chckl.h" #endif diff --git a/include/wx/xrc/xh_choic.h b/include/wx/xrc/xh_choic.h index d2387781c5..1ea5a70182 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_choic.h" #endif diff --git a/include/wx/xrc/xh_combo.h b/include/wx/xrc/xh_combo.h index 2128d953b5..6be381c052 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_combo.h" #endif diff --git a/include/wx/xrc/xh_dlg.h b/include/wx/xrc/xh_dlg.h index 3fd4d51076..a7fb822746 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_dlg.h" #endif diff --git a/include/wx/xrc/xh_frame.h b/include/wx/xrc/xh_frame.h index 47e203114c..a5e824e323 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_frame.h" #endif diff --git a/include/wx/xrc/xh_gauge.h b/include/wx/xrc/xh_gauge.h index 9c2a94017d..50a83dfba1 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_gauge.h" #endif diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index 548ecaf616..c41f1197e6 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_gdctl.h" #endif diff --git a/include/wx/xrc/xh_html.h b/include/wx/xrc/xh_html.h index daaa93dcc7..51e59673f5 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_html.h" #endif diff --git a/include/wx/xrc/xh_listb.h b/include/wx/xrc/xh_listb.h index c080442c8b..35f0b34d2d 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_listb.h" #endif diff --git a/include/wx/xrc/xh_listc.h b/include/wx/xrc/xh_listc.h index 8bd27632b1..9199f594dd 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_listc.h" #endif diff --git a/include/wx/xrc/xh_menu.h b/include/wx/xrc/xh_menu.h index 3ba54e86a6..79ad952ee3 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_menu.h" #endif diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h index bd066d32d5..07f9f1a017 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_notbk.h" #endif diff --git a/include/wx/xrc/xh_panel.h b/include/wx/xrc/xh_panel.h index 817e5ecc76..40459ae752 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_panel.h" #endif diff --git a/include/wx/xrc/xh_radbt.h b/include/wx/xrc/xh_radbt.h index 98dc3c9758..58c1288c12 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_radbt.h" #endif diff --git a/include/wx/xrc/xh_radbx.h b/include/wx/xrc/xh_radbx.h index 4edfd8b905..42cc3f52b8 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_radbx.h" #endif diff --git a/include/wx/xrc/xh_scrol.h b/include/wx/xrc/xh_scrol.h index d5a1f43788..f82e6df7d9 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_scrol.h" #endif diff --git a/include/wx/xrc/xh_sizer.h b/include/wx/xrc/xh_sizer.h index fb5cd23670..0c7d16a4ef 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_sizer.h" #endif diff --git a/include/wx/xrc/xh_slidr.h b/include/wx/xrc/xh_slidr.h index 32fb738b7b..6e3223f959 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_slidr.h" #endif diff --git a/include/wx/xrc/xh_spin.h b/include/wx/xrc/xh_spin.h index 9d44a0ffe9..241039075e 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_spin.h" #endif diff --git a/include/wx/xrc/xh_stbmp.h b/include/wx/xrc/xh_stbmp.h index 34493cfc8e..d22e96f53e 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_stbmp.h" #endif diff --git a/include/wx/xrc/xh_stbox.h b/include/wx/xrc/xh_stbox.h index 509f3ae81c..1773a47f82 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_stbox.h" #endif diff --git a/include/wx/xrc/xh_stlin.h b/include/wx/xrc/xh_stlin.h index 7f7d5d67e7..b8758ca7ce 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_stlin.h" #endif diff --git a/include/wx/xrc/xh_sttxt.h b/include/wx/xrc/xh_sttxt.h index 94683b82f9..e6c88984fa 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_sttxt.h" #endif diff --git a/include/wx/xrc/xh_text.h b/include/wx/xrc/xh_text.h index 6bd2b7d285..84d256916b 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_text.h" #endif diff --git a/include/wx/xrc/xh_toolb.h b/include/wx/xrc/xh_toolb.h index c149b77753..22f53ee935 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_toolb.h" #endif diff --git a/include/wx/xrc/xh_tree.h b/include/wx/xrc/xh_tree.h index 1d49a463dd..985468c054 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_tree.h" #endif diff --git a/include/wx/xrc/xh_unkwn.h b/include/wx/xrc/xh_unkwn.h index 28aa99a251..74e835b108 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xh_unkwn.h" #endif diff --git a/include/wx/xrc/xml.h b/include/wx/xrc/xml.h index 7d5f4e05a6..d7b636c0df 100644 --- a/include/wx/xrc/xml.h +++ b/include/wx/xrc/xml.h @@ -11,7 +11,7 @@ #ifndef _WX_XML_H_ #define _WX_XML_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xml.h" #endif diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 0962b297aa..ca37a9cfa7 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xmlres.h" #endif diff --git a/samples/stc/stctest.cpp b/samples/stc/stctest.cpp index aa98828fb3..b33052c86c 100644 --- a/samples/stc/stctest.cpp +++ b/samples/stc/stctest.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation "stctest.cpp" #pragma interface "stctest.cpp" #endif diff --git a/samples/xrc/custclas.h b/samples/xrc/custclas.h index bce98c906d..e34efa01b7 100644 --- a/samples/xrc/custclas.h +++ b/samples/xrc/custclas.h @@ -18,7 +18,7 @@ // GCC interface //---------------------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "custclas.h" #endif diff --git a/samples/xrc/derivdlg.h b/samples/xrc/derivdlg.h index ca580eed79..2bea8e39ea 100644 --- a/samples/xrc/derivdlg.h +++ b/samples/xrc/derivdlg.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "derivdlg.h" #endif diff --git a/samples/xrc/myframe.h b/samples/xrc/myframe.h index c2246335b5..33ee6bd4bb 100644 --- a/samples/xrc/myframe.h +++ b/samples/xrc/myframe.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "myframe.h" #endif diff --git a/samples/xrc/xrcdemo.h b/samples/xrc/xrcdemo.h index c201be31b4..d41a649ddc 100644 --- a/samples/xrc/xrcdemo.h +++ b/samples/xrc/xrcdemo.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xrcdemo.h" #endif diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index 7c9770730f..505ffa8888 100644 --- a/utils/dialoged/src/dialoged.h +++ b/utils/dialoged/src/dialoged.h @@ -9,7 +9,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialoged.h" #endif diff --git a/utils/dialoged/src/reseditr.h b/utils/dialoged/src/reseditr.h index 2c92b2acde..a57d56d560 100644 --- a/utils/dialoged/src/reseditr.h +++ b/utils/dialoged/src/reseditr.h @@ -14,7 +14,7 @@ #define wxDIALOG_EDITOR_VERSION 2.1 -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "reseditr.h" #endif diff --git a/utils/dialoged/src/symbtabl.h b/utils/dialoged/src/symbtabl.h index b95bc9fa9e..1b4657a5ec 100644 --- a/utils/dialoged/src/symbtabl.h +++ b/utils/dialoged/src/symbtabl.h @@ -12,7 +12,7 @@ #ifndef _SYMBTABL_H_ #define _SYMBTABL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "symbtabl.h" #endif diff --git a/utils/dialoged/src/winprop.h b/utils/dialoged/src/winprop.h index c94458aa79..78ce963960 100644 --- a/utils/dialoged/src/winprop.h +++ b/utils/dialoged/src/winprop.h @@ -12,7 +12,7 @@ #ifndef _WINPROP_H_ #define _WINPROP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "winprop.h" #endif diff --git a/utils/dialoged/src/winstyle.h b/utils/dialoged/src/winstyle.h index 1f59adf01f..9ba788a2a0 100644 --- a/utils/dialoged/src/winstyle.h +++ b/utils/dialoged/src/winstyle.h @@ -12,7 +12,7 @@ #ifndef _DE_WINSTYLE_H_ #define _DE_WINSTYLE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "winstyle.h" #endif diff --git a/utils/helpview/src/helpview.h b/utils/helpview/src/helpview.h index 58040393a3..d4f90414ce 100644 --- a/utils/helpview/src/helpview.h +++ b/utils/helpview/src/helpview.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPVIEW_H_ #define _WX_HELPVIEW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "help.cpp" #endif diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 65a606db6e..23b27952a7 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif