From 12028905135250524409f1e7b9bfa9c55e5ce16b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 9 Aug 2003 12:38:21 +0000 Subject: [PATCH] added support for gcc precompiled headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/access.h | 2 +- include/wx/artprov.h | 2 +- include/wx/bitmap.h | 2 +- include/wx/busyinfo.h | 2 +- include/wx/caret.h | 2 +- include/wx/choice.h | 2 +- include/wx/clipbrd.h | 2 +- include/wx/clntdata.h | 2 +- include/wx/cmdline.h | 2 +- include/wx/cmdproc.h | 2 +- include/wx/cmndata.h | 2 +- include/wx/cocoa/cursor.h | 2 +- include/wx/cocoa/font.h | 2 +- include/wx/cocoa/gdiobj.h | 2 +- include/wx/cocoa/icon.h | 2 +- include/wx/cocoa/region.h | 2 +- include/wx/confbase.h | 2 +- include/wx/containr.h | 2 +- include/wx/control.h | 2 +- include/wx/cshelp.h | 2 +- include/wx/ctrlsub.h | 2 +- include/wx/dataobj.h | 2 +- include/wx/datetime.h | 2 +- include/wx/datstrm.h | 2 +- include/wx/db.h | 2 +- include/wx/dbgrid.h | 2 +- include/wx/dbtable.h | 2 +- include/wx/dc.h | 2 +- include/wx/dcbuffer.h | 2 +- include/wx/defs.h | 2 +- include/wx/dialog.h | 2 +- include/wx/dialup.h | 2 +- include/wx/dir.h | 2 +- include/wx/display.h | 2 +- include/wx/dnd.h | 2 +- include/wx/docmdi.h | 2 +- include/wx/docview.h | 2 +- include/wx/dynarray.h | 2 +- include/wx/dynlib.h | 2 +- include/wx/dynload.h | 2 +- include/wx/effects.h | 2 +- include/wx/encconv.h | 2 +- include/wx/event.h | 2 +- include/wx/evtloop.h | 2 +- include/wx/fdrepdlg.h | 2 +- include/wx/ffile.h | 2 +- include/wx/file.h | 2 +- include/wx/fileconf.h | 2 +- include/wx/filedlg.h | 2 +- include/wx/filefn.h | 2 +- include/wx/filename.h | 2 +- include/wx/filesys.h | 2 +- include/wx/font.h | 2 +- include/wx/fontenum.h | 2 +- include/wx/fontutil.h | 2 +- include/wx/frame.h | 2 +- include/wx/fs_inet.h | 2 +- include/wx/fs_mem.h | 2 +- include/wx/fs_zip.h | 2 +- include/wx/gauge.h | 2 +- include/wx/gdicmn.h | 2 +- include/wx/generic/accel.h | 2 +- include/wx/generic/calctrl.h | 2 +- include/wx/generic/caret.h | 2 +- include/wx/generic/choicdgg.h | 2 +- include/wx/generic/colrdlgg.h | 2 +- include/wx/generic/dcpsg.h | 2 +- include/wx/generic/dirctrlg.h | 2 +- include/wx/generic/dirdlgg.h | 2 +- include/wx/generic/dragimgg.h | 2 +- include/wx/generic/fdrepdlg.h | 2 +- include/wx/generic/filedlgg.h | 2 +- include/wx/generic/fontdlgg.h | 2 +- include/wx/generic/grid.h | 2 +- include/wx/generic/gridctrl.h | 2 +- include/wx/generic/gridsel.h | 2 +- include/wx/generic/helpext.h | 2 +- include/wx/generic/imaglist.h | 2 +- include/wx/generic/laywin.h | 2 +- include/wx/generic/listctrl.h | 2 +- include/wx/generic/logg.h | 2 +- include/wx/generic/mdig.h | 2 +- include/wx/generic/msgdlgg.h | 2 +- include/wx/generic/notebook.h | 2 +- include/wx/generic/paletteg.h | 2 +- include/wx/generic/panelg.h | 2 +- include/wx/generic/printps.h | 2 +- include/wx/generic/prntdlgg.h | 2 +- include/wx/generic/progdlgg.h | 2 +- include/wx/generic/sashwin.h | 2 +- include/wx/generic/scrolwin.h | 2 +- include/wx/generic/spinctlg.h | 2 +- include/wx/generic/splash.h | 2 +- include/wx/generic/splitter.h | 2 +- include/wx/generic/statline.h | 2 +- include/wx/generic/statusbr.h | 2 +- include/wx/generic/tabg.h | 2 +- include/wx/generic/textdlgg.h | 2 +- include/wx/generic/timer.h | 2 +- include/wx/generic/treectlg.h | 2 +- include/wx/generic/wizard.h | 2 +- include/wx/geometry.h | 2 +- include/wx/gifdecod.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/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/msgdlg.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/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/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/msgdlg.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/window.h | 2 +- include/wx/hash.h | 2 +- include/wx/hashmap.h | 2 +- include/wx/helpbase.h | 2 +- include/wx/html/helpctrl.h | 2 +- include/wx/html/helpdata.h | 2 +- include/wx/html/helpfrm.h | 2 +- include/wx/html/htmlcell.h | 2 +- include/wx/html/htmlfilt.h | 2 +- include/wx/html/htmlpars.h | 2 +- include/wx/html/htmlproc.h | 2 +- include/wx/html/htmltag.h | 2 +- include/wx/html/htmlwin.h | 2 +- include/wx/html/htmprint.h | 2 +- include/wx/html/winpars.h | 2 +- include/wx/iconbndl.h | 2 +- include/wx/imagbmp.h | 2 +- include/wx/image.h | 2 +- include/wx/imaggif.h | 2 +- include/wx/imagiff.h | 2 +- include/wx/imagjpeg.h | 2 +- include/wx/imagpcx.h | 2 +- include/wx/imagpng.h | 2 +- include/wx/imagpnm.h | 2 +- include/wx/imagtiff.h | 2 +- include/wx/imagxpm.h | 2 +- include/wx/intl.h | 2 +- include/wx/ipcbase.h | 2 +- include/wx/layout.h | 2 +- include/wx/list.h | 2 +- include/wx/listbase.h | 2 +- include/wx/listbox.h | 2 +- include/wx/listctrl.h | 2 +- include/wx/log.h | 2 +- include/wx/longlong.h | 2 +- include/wx/mac/accel.h | 2 +- include/wx/mac/app.h | 2 +- include/wx/mac/bitmap.h | 2 +- include/wx/mac/bmpbuttn.h | 2 +- include/wx/mac/brush.h | 2 +- include/wx/mac/button.h | 2 +- include/wx/mac/checkbox.h | 2 +- include/wx/mac/checklst.h | 2 +- include/wx/mac/choice.h | 2 +- include/wx/mac/clipbrd.h | 2 +- include/wx/mac/colordlg.h | 2 +- include/wx/mac/colour.h | 2 +- include/wx/mac/combobox.h | 2 +- include/wx/mac/control.h | 2 +- include/wx/mac/cursor.h | 2 +- include/wx/mac/dataobj.h | 2 +- include/wx/mac/dataobj2.h | 2 +- include/wx/mac/dc.h | 2 +- include/wx/mac/dcclient.h | 2 +- include/wx/mac/dcmemory.h | 2 +- include/wx/mac/dcprint.h | 2 +- include/wx/mac/dcscreen.h | 2 +- include/wx/mac/dialog.h | 2 +- include/wx/mac/dirdlg.h | 2 +- include/wx/mac/dnd.h | 2 +- include/wx/mac/filedlg.h | 2 +- include/wx/mac/font.h | 2 +- include/wx/mac/fontdlg.h | 2 +- include/wx/mac/frame.h | 2 +- include/wx/mac/gauge.h | 2 +- include/wx/mac/gdiobj.h | 2 +- include/wx/mac/glcanvas.h | 2 +- include/wx/mac/helpxxxx.h | 2 +- include/wx/mac/icon.h | 2 +- include/wx/mac/imaglist.h | 2 +- include/wx/mac/joystick.h | 2 +- include/wx/mac/listbox.h | 2 +- include/wx/mac/listctrl.h | 2 +- include/wx/mac/mdi.h | 2 +- include/wx/mac/menu.h | 2 +- include/wx/mac/menuitem.h | 2 +- include/wx/mac/mimetype.h | 2 +- include/wx/mac/minifram.h | 2 +- include/wx/mac/msgdlg.h | 2 +- include/wx/mac/notebook.h | 2 +- include/wx/mac/palette.h | 2 +- include/wx/mac/pen.h | 2 +- include/wx/mac/pnghand.h | 2 +- include/wx/mac/pngread.h | 2 +- include/wx/mac/printdlg.h | 2 +- include/wx/mac/printmac.h | 2 +- include/wx/mac/radiobox.h | 2 +- include/wx/mac/radiobut.h | 2 +- include/wx/mac/region.h | 2 +- include/wx/mac/scrolbar.h | 2 +- include/wx/mac/slider.h | 2 +- include/wx/mac/spinbutt.h | 2 +- include/wx/mac/spinctrl.h | 2 +- include/wx/mac/statbmp.h | 2 +- include/wx/mac/statbox.h | 2 +- include/wx/mac/statline.h | 2 +- include/wx/mac/stattext.h | 2 +- include/wx/mac/statusbr.h | 2 +- include/wx/mac/tabctrl.h | 2 +- include/wx/mac/textctrl.h | 2 +- include/wx/mac/timer.h | 2 +- include/wx/mac/toolbar.h | 2 +- include/wx/mac/toplevel.h | 2 +- include/wx/mac/treectrl.h | 2 +- include/wx/mac/wave.h | 2 +- include/wx/mac/window.h | 2 +- include/wx/math.h | 2 +- include/wx/matrix.h | 2 +- include/wx/memory.h | 2 +- include/wx/menu.h | 2 +- include/wx/mgl/app.h | 2 +- include/wx/mgl/bitmap.h | 2 +- include/wx/mgl/brush.h | 2 +- include/wx/mgl/clipbrd.h | 2 +- include/wx/mgl/colour.h | 2 +- include/wx/mgl/cursor.h | 2 +- include/wx/mgl/dc.h | 2 +- include/wx/mgl/dcclient.h | 2 +- include/wx/mgl/dcmemory.h | 2 +- include/wx/mgl/dcscreen.h | 2 +- include/wx/mgl/font.h | 2 +- include/wx/mgl/gdiobj.h | 2 +- include/wx/mgl/icon.h | 2 +- include/wx/mgl/palette.h | 2 +- include/wx/mgl/pen.h | 2 +- include/wx/mgl/region.h | 2 +- include/wx/mgl/toplevel.h | 2 +- include/wx/mgl/window.h | 2 +- include/wx/mimetype.h | 2 +- include/wx/module.h | 2 +- include/wx/motif/accel.h | 2 +- include/wx/motif/bmpbuttn.h | 2 +- include/wx/motif/bmpmotif.h | 2 +- include/wx/motif/button.h | 2 +- include/wx/motif/checkbox.h | 2 +- include/wx/motif/checklst.h | 2 +- include/wx/motif/choice.h | 2 +- include/wx/motif/clipbrd.h | 2 +- include/wx/motif/colour.h | 2 +- include/wx/motif/combobox.h | 2 +- include/wx/motif/control.h | 2 +- include/wx/motif/cursor.h | 2 +- include/wx/motif/dataobj.h | 2 +- include/wx/motif/dataobj2.h | 2 +- include/wx/motif/dc.h | 2 +- include/wx/motif/dcclient.h | 2 +- include/wx/motif/dcmemory.h | 2 +- include/wx/motif/dcprint.h | 2 +- include/wx/motif/dcscreen.h | 2 +- include/wx/motif/dialog.h | 2 +- include/wx/motif/dnd.h | 2 +- include/wx/motif/filedlg.h | 2 +- include/wx/motif/font.h | 2 +- include/wx/motif/frame.h | 2 +- include/wx/motif/gauge.h | 2 +- include/wx/motif/gdiobj.h | 2 +- include/wx/motif/glcanvas.h | 2 +- include/wx/motif/icon.h | 2 +- include/wx/motif/listbox.h | 2 +- include/wx/motif/mdi.h | 2 +- include/wx/motif/menu.h | 2 +- include/wx/motif/menuitem.h | 2 +- include/wx/motif/minifram.h | 2 +- include/wx/motif/msgdlg.h | 2 +- include/wx/motif/palette.h | 2 +- include/wx/motif/print.h | 2 +- include/wx/motif/radiobox.h | 2 +- include/wx/motif/radiobut.h | 2 +- include/wx/motif/region.h | 2 +- include/wx/motif/scrolbar.h | 2 +- include/wx/motif/slider.h | 2 +- include/wx/motif/spinbutt.h | 2 +- include/wx/motif/statbmp.h | 2 +- include/wx/motif/statbox.h | 2 +- include/wx/motif/stattext.h | 2 +- include/wx/motif/textctrl.h | 2 +- include/wx/motif/timer.h | 2 +- include/wx/motif/toolbar.h | 2 +- include/wx/motif/toplevel.h | 2 +- include/wx/motif/window.h | 2 +- include/wx/msgout.h | 2 +- include/wx/msw/accel.h | 2 +- include/wx/msw/app.h | 2 +- include/wx/msw/bitmap.h | 2 +- include/wx/msw/bmpbuttn.h | 2 +- include/wx/msw/brush.h | 2 +- include/wx/msw/button.h | 2 +- include/wx/msw/caret.h | 2 +- include/wx/msw/checkbox.h | 2 +- include/wx/msw/checklst.h | 2 +- include/wx/msw/choice.h | 2 +- include/wx/msw/clipbrd.h | 2 +- include/wx/msw/colordlg.h | 2 +- include/wx/msw/colour.h | 2 +- include/wx/msw/combobox.h | 2 +- include/wx/msw/control.h | 2 +- include/wx/msw/cursor.h | 2 +- include/wx/msw/dc.h | 2 +- include/wx/msw/dcclient.h | 2 +- include/wx/msw/dcmemory.h | 2 +- include/wx/msw/dcprint.h | 2 +- include/wx/msw/dcscreen.h | 2 +- include/wx/msw/dde.h | 2 +- include/wx/msw/dialog.h | 2 +- include/wx/msw/dirdlg.h | 2 +- include/wx/msw/display.h | 2 +- include/wx/msw/dragimag.h | 2 +- include/wx/msw/enhmeta.h | 2 +- include/wx/msw/fdrepdlg.h | 2 +- include/wx/msw/filedlg.h | 2 +- include/wx/msw/font.h | 2 +- include/wx/msw/fontdlg.h | 2 +- include/wx/msw/fontenum.h | 2 +- include/wx/msw/frame.h | 2 +- include/wx/msw/gauge95.h | 2 +- include/wx/msw/gdiimage.h | 2 +- include/wx/msw/gdiobj.h | 2 +- include/wx/msw/glcanvas.h | 2 +- include/wx/msw/helpbest.h | 2 +- include/wx/msw/helpchm.h | 2 +- include/wx/msw/helpwin.h | 2 +- include/wx/msw/icon.h | 2 +- include/wx/msw/imaglist.h | 2 +- include/wx/msw/joystick.h | 2 +- include/wx/msw/listbox.h | 2 +- include/wx/msw/listctrl.h | 2 +- include/wx/msw/mdi.h | 2 +- include/wx/msw/menu.h | 2 +- include/wx/msw/menuitem.h | 2 +- include/wx/msw/metafile.h | 2 +- include/wx/msw/microwin.h | 2 +- include/wx/msw/minifram.h | 2 +- include/wx/msw/msgdlg.h | 2 +- include/wx/msw/notebook.h | 2 +- include/wx/msw/ole/access.h | 2 +- include/wx/msw/ole/automtn.h | 2 +- include/wx/msw/ole/dropsrc.h | 2 +- include/wx/msw/ole/droptgt.h | 2 +- include/wx/msw/ole/oleutils.h | 2 +- include/wx/msw/ole/uuid.h | 2 +- include/wx/msw/palette.h | 2 +- include/wx/msw/pen.h | 2 +- include/wx/msw/popupwin.h | 2 +- include/wx/msw/printdlg.h | 2 +- include/wx/msw/printwin.h | 2 +- include/wx/msw/radiobox.h | 2 +- include/wx/msw/radiobut.h | 2 +- include/wx/msw/regconf.h | 2 +- include/wx/msw/region.h | 2 +- include/wx/msw/registry.h | 2 +- include/wx/msw/scrolbar.h | 2 +- include/wx/msw/slider95.h | 2 +- include/wx/msw/slidrmsw.h | 2 +- include/wx/msw/spinbutt.h | 2 +- include/wx/msw/spinctrl.h | 2 +- include/wx/msw/statbmp.h | 2 +- include/wx/msw/statbox.h | 2 +- include/wx/msw/statbr95.h | 2 +- include/wx/msw/statline.h | 2 +- include/wx/msw/stattext.h | 2 +- include/wx/msw/tabctrl.h | 2 +- include/wx/msw/taskbar.h | 2 +- include/wx/msw/tbar95.h | 2 +- include/wx/msw/tbarmsw.h | 2 +- include/wx/msw/textctrl.h | 2 +- include/wx/msw/timer.h | 2 +- include/wx/msw/toplevel.h | 2 +- include/wx/msw/treectrl.h | 2 +- include/wx/msw/uxtheme.h | 2 +- include/wx/msw/wave.h | 2 +- include/wx/msw/wince/helpwce.h | 2 +- include/wx/msw/wince/tbarwce.h | 2 +- include/wx/msw/window.h | 2 +- include/wx/notebook.h | 2 +- include/wx/object.h | 2 +- include/wx/ownerdrw.h | 2 +- include/wx/paper.h | 2 +- include/wx/popupwin.h | 2 +- include/wx/prntbase.h | 2 +- include/wx/process.h | 2 +- include/wx/protocol/file.h | 2 +- include/wx/protocol/ftp.h | 2 +- include/wx/protocol/protocol.h | 2 +- include/wx/quantize.h | 2 +- include/wx/radiobox.h | 2 +- include/wx/regex.h | 2 +- include/wx/sckaddr.h | 2 +- include/wx/sckipc.h | 2 +- include/wx/sckstrm.h | 2 +- include/wx/set.h | 2 +- include/wx/sizer.h | 2 +- include/wx/snglinst.h | 2 +- include/wx/socket.h | 2 +- include/wx/statbmp.h | 2 +- include/wx/statusbr.h | 2 +- include/wx/strconv.h | 2 +- include/wx/stream.h | 2 +- include/wx/string.h | 2 +- include/wx/tbarbase.h | 2 +- include/wx/tbarsmpl.h | 2 +- include/wx/textbuf.h | 2 +- include/wx/textctrl.h | 2 +- include/wx/textfile.h | 2 +- include/wx/thread.h | 2 +- include/wx/timer.h | 2 +- include/wx/tipdlg.h | 2 +- include/wx/tipwin.h | 2 +- include/wx/tokenzr.h | 2 +- include/wx/toplevel.h | 2 +- include/wx/treebase.h | 2 +- include/wx/txtstrm.h | 2 +- include/wx/types.h | 2 +- include/wx/univ/bmpbuttn.h | 2 +- include/wx/univ/button.h | 2 +- include/wx/univ/checkbox.h | 2 +- include/wx/univ/checklst.h | 2 +- include/wx/univ/choice.h | 2 +- include/wx/univ/colschem.h | 2 +- include/wx/univ/combobox.h | 2 +- include/wx/univ/control.h | 2 +- include/wx/univ/dialog.h | 2 +- include/wx/univ/frame.h | 2 +- include/wx/univ/gauge.h | 2 +- include/wx/univ/inpcons.h | 2 +- include/wx/univ/inphand.h | 2 +- include/wx/univ/listbox.h | 2 +- include/wx/univ/menu.h | 2 +- include/wx/univ/menuitem.h | 2 +- include/wx/univ/notebook.h | 2 +- include/wx/univ/radiobox.h | 2 +- include/wx/univ/radiobut.h | 2 +- include/wx/univ/renderer.h | 2 +- include/wx/univ/scrarrow.h | 2 +- include/wx/univ/scrolbar.h | 2 +- include/wx/univ/scrthumb.h | 2 +- include/wx/univ/slider.h | 2 +- include/wx/univ/spinbutt.h | 2 +- include/wx/univ/statbmp.h | 2 +- include/wx/univ/statbox.h | 2 +- include/wx/univ/statline.h | 2 +- include/wx/univ/stattext.h | 2 +- include/wx/univ/statusbr.h | 2 +- include/wx/univ/textctrl.h | 2 +- include/wx/univ/theme.h | 2 +- include/wx/univ/toolbar.h | 2 +- include/wx/univ/toplevel.h | 2 +- include/wx/univ/window.h | 2 +- include/wx/unix/displayx11.h | 2 +- include/wx/unix/joystick.h | 2 +- include/wx/unix/mimetype.h | 2 +- include/wx/unix/taskbarx11.h | 2 +- include/wx/unix/wave.h | 2 +- include/wx/url.h | 2 +- include/wx/utils.h | 2 +- include/wx/valgen.h | 2 +- include/wx/validate.h | 2 +- include/wx/valtext.h | 2 +- include/wx/variant.h | 2 +- include/wx/volume.h | 2 +- include/wx/vscroll.h | 2 +- include/wx/wfstream.h | 2 +- include/wx/window.h | 2 +- include/wx/wxchar.h | 2 +- include/wx/wxhtml.h | 2 +- include/wx/x11/app.h | 2 +- include/wx/x11/bitmap.h | 2 +- include/wx/x11/brush.h | 2 +- include/wx/x11/clipbrd.h | 2 +- include/wx/x11/colour.h | 2 +- include/wx/x11/cursor.h | 2 +- include/wx/x11/dataobj.h | 2 +- include/wx/x11/dataobj2.h | 2 +- include/wx/x11/dc.h | 2 +- include/wx/x11/dcclient.h | 2 +- include/wx/x11/dcmemory.h | 2 +- include/wx/x11/dcprint.h | 2 +- include/wx/x11/dcscreen.h | 2 +- include/wx/x11/dnd.h | 2 +- include/wx/x11/font.h | 2 +- include/wx/x11/gdiobj.h | 2 +- include/wx/x11/glcanvas.h | 2 +- include/wx/x11/icon.h | 2 +- include/wx/x11/joystick.h | 2 +- include/wx/x11/minifram.h | 2 +- include/wx/x11/palette.h | 2 +- include/wx/x11/pen.h | 2 +- include/wx/x11/popupwin.h | 2 +- include/wx/x11/print.h | 2 +- include/wx/x11/region.h | 2 +- include/wx/x11/reparent.h | 2 +- include/wx/x11/textctrl.h | 2 +- include/wx/x11/toplevel.h | 2 +- include/wx/x11/window.h | 2 +- include/wx/xml/xml.h | 2 +- include/wx/xpmdecod.h | 2 +- include/wx/xti.h | 2 +- include/wx/xtistrm.h | 4 ++-- include/wx/zipstrm.h | 2 +- include/wx/zstream.h | 2 +- 613 files changed, 614 insertions(+), 614 deletions(-) diff --git a/include/wx/access.h b/include/wx/access.h index b7b80b84fa..8b33289c74 100644 --- a/include/wx/access.h +++ b/include/wx/access.h @@ -12,7 +12,7 @@ #ifndef _WX_ACCESSBASE_H_ #define _WX_ACCESSBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "accessbase.h" #endif diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 2863bcbed3..adf181ca4a 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -12,7 +12,7 @@ #ifndef _WX_ARTPROV_H_ #define _WX_ARTPROV_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "artprov.h" #endif diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index 36dda96e2a..83e48ce737 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bitmapbase.h" #endif diff --git a/include/wx/busyinfo.h b/include/wx/busyinfo.h index 2ec17ec88a..f9fddb2ee1 100644 --- a/include/wx/busyinfo.h +++ b/include/wx/busyinfo.h @@ -10,7 +10,7 @@ #ifndef __INFOWIN_H__ #define __INFOWIN_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "busyinfo.h" #endif diff --git a/include/wx/caret.h b/include/wx/caret.h index e34ed29d12..266f6d278d 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -16,7 +16,7 @@ #if wxUSE_CARET -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "caret.h" #endif diff --git a/include/wx/choice.h b/include/wx/choice.h index a86635b080..b6600e3592 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choicebase.h" #endif diff --git a/include/wx/clipbrd.h b/include/wx/clipbrd.h index b57e85afb5..ca72949a5c 100644 --- a/include/wx/clipbrd.h +++ b/include/wx/clipbrd.h @@ -12,7 +12,7 @@ #ifndef _WX_CLIPBRD_H_BASE_ #define _WX_CLIPBRD_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clipboardbase.h" #endif diff --git a/include/wx/clntdata.h b/include/wx/clntdata.h index 7b84d1256d..de4abcfc53 100644 --- a/include/wx/clntdata.h +++ b/include/wx/clntdata.h @@ -12,7 +12,7 @@ #ifndef _WX_CLNTDATAH__ #define _WX_CLNTDATAH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clntdata.h" #endif diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index ccfe008b4e..a6d7a0fa41 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -13,7 +13,7 @@ #ifndef _WX_CMDLINE_H_ #define _WX_CMDLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cmdline.h" #endif diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index 9baf2338c2..1200640d37 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -12,7 +12,7 @@ #ifndef _WX_CMDPROC_H_ #define _WX_CMDPROC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cmdproc.h" #endif diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index eaceebd2b6..fa2a86d914 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -12,7 +12,7 @@ #ifndef _WX_CMNDATA_H_BASE_ #define _WX_CMNDATA_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cmndata.h" #endif diff --git a/include/wx/cocoa/cursor.h b/include/wx/cocoa/cursor.h index ec69b64c02..e51ead594d 100644 --- a/include/wx/cocoa/cursor.h +++ b/include/wx/cocoa/cursor.h @@ -12,7 +12,7 @@ #ifndef _WX_COCOA_CURSOR_H_ #define _WX_COCOA_CURSOR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cursor.h" #endif diff --git a/include/wx/cocoa/font.h b/include/wx/cocoa/font.h index 8068b1e5d2..65b868c80a 100644 --- a/include/wx/cocoa/font.h +++ b/include/wx/cocoa/font.h @@ -12,7 +12,7 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "font.h" #endif diff --git a/include/wx/cocoa/gdiobj.h b/include/wx/cocoa/gdiobj.h index c21d5a01ec..cb4176ce05 100644 --- a/include/wx/cocoa/gdiobj.h +++ b/include/wx/cocoa/gdiobj.h @@ -12,7 +12,7 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/cocoa/icon.h b/include/wx/cocoa/icon.h index d1247f393d..90414c8441 100644 --- a/include/wx/cocoa/icon.h +++ b/include/wx/cocoa/icon.h @@ -12,7 +12,7 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 3ecf89882f..8fb86d856d 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -12,7 +12,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif diff --git a/include/wx/confbase.h b/include/wx/confbase.h index 16b7ba3a88..415c770efd 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -14,7 +14,7 @@ #ifndef _WX_CONFBASE_H_ #define _WX_CONFBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "confbase.h" #endif diff --git a/include/wx/containr.h b/include/wx/containr.h index fd3ba533ce..e5399b71ce 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -13,7 +13,7 @@ #ifndef _WX_CONTAINR_H_ #define _WX_CONTAINR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "containr.h" #endif diff --git a/include/wx/control.h b/include/wx/control.h index 901615d51e..00be04211e 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "controlbase.h" #endif diff --git a/include/wx/cshelp.h b/include/wx/cshelp.h index 2da0ddd5b5..eb21207da1 100644 --- a/include/wx/cshelp.h +++ b/include/wx/cshelp.h @@ -12,7 +12,7 @@ #ifndef _WX_CSHELPH__ #define _WX_CSHELPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cshelp.h" #endif diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index 190156bc97..6cbf031746 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -12,7 +12,7 @@ #ifndef _WX_CTRLSUB_H_BASE_ #define _WX_CTRLSUB_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "controlwithitems.h" #endif diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index 1060acdb59..958db8d706 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -12,7 +12,7 @@ #ifndef _WX_DATAOBJ_H_BASE_ #define _WX_DATAOBJ_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobjbase.h" #endif diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 39c60d954f..1d653b03d2 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -13,7 +13,7 @@ #ifndef _WX_DATETIME_H #define _WX_DATETIME_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "datetime.h" #endif diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index c90ac629f2..18738669d8 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -12,7 +12,7 @@ #ifndef _WX_DATSTREAM_H_ #define _WX_DATSTREAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "datstrm.h" #endif diff --git a/include/wx/db.h b/include/wx/db.h index c21998ed64..7fa3a52bc6 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -43,7 +43,7 @@ #include "wx/version.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "db.h" #endif diff --git a/include/wx/dbgrid.h b/include/wx/dbgrid.h index d13878293c..d389049fef 100644 --- a/include/wx/dbgrid.h +++ b/include/wx/dbgrid.h @@ -14,7 +14,7 @@ #ifndef _WX_GENERIC_DBGRID_H_ #define _WX_GENERIC_DBGRID_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dbgrid.h" #endif diff --git a/include/wx/dbtable.h b/include/wx/dbtable.h index 894a6dfad1..770e73f801 100644 --- a/include/wx/dbtable.h +++ b/include/wx/dbtable.h @@ -30,7 +30,7 @@ #include "wx/version.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dbtable.h" #endif diff --git a/include/wx/dc.h b/include/wx/dc.h index 3cbf773cd7..e073e3cd65 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_BASE_ #define _WX_DC_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcbase.h" #endif diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 3ab1fe3e35..2b5ef0bd09 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -12,7 +12,7 @@ #ifndef _WX_DCBUFFER_H_ #define _WX_DCBUFFER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcbuffer.h" #endif diff --git a/include/wx/defs.h b/include/wx/defs.h index e1b625bfe4..efcb0e7dbb 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -12,7 +12,7 @@ #ifndef _WX_DEFS_H_ #define _WX_DEFS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "defs.h" #endif diff --git a/include/wx/dialog.h b/include/wx/dialog.h index fe3959626e..f9cfb80b71 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_BASE_ #define _WX_DIALOG_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialogbase.h" #endif diff --git a/include/wx/dialup.h b/include/wx/dialup.h index 8f4c5ee83b..d14a6c8870 100644 --- a/include/wx/dialup.h +++ b/include/wx/dialup.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALUP_H #define _WX_DIALUP_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialup.h" #endif diff --git a/include/wx/dir.h b/include/wx/dir.h index 0d68eb59fb..4a49f7c6bc 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -12,7 +12,7 @@ #ifndef _WX_DIR_H_ #define _WX_DIR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dir.h" #endif diff --git a/include/wx/display.h b/include/wx/display.h index 77dddeb6ae..a9eeb86607 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -14,7 +14,7 @@ #if wxUSE_DISPLAY -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "displaybase.h" #endif diff --git a/include/wx/dnd.h b/include/wx/dnd.h index d7a4010276..eb7eea590a 100644 --- a/include/wx/dnd.h +++ b/include/wx/dnd.h @@ -12,7 +12,7 @@ #ifndef _WX_DND_H_BASE_ #define _WX_DND_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dndbase.h" #endif diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index 973f16f5fb..4754b66a67 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -12,7 +12,7 @@ #ifndef _WX_DOCMDI_H_ #define _WX_DOCMDI_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "docmdi.h" #endif diff --git a/include/wx/docview.h b/include/wx/docview.h index ad37b58939..de70706367 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -12,7 +12,7 @@ #ifndef _WX_DOCH__ #define _WX_DOCH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "docview.h" #endif diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 834f6fc4d3..26d7e06540 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -12,7 +12,7 @@ #ifndef _DYNARRAY_H #define _DYNARRAY_H -#if defined(__GNUG__) && !defined(__APPLE__) && \ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && \ !(defined(__MINGW32__) && __GNUC__ == 3 && __GNUC_MINOR__ == 2) #pragma interface "dynarray.h" #endif diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 52f9ddc03b..24592059a5 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -12,7 +12,7 @@ #ifndef _WX_DYNLIB_H__ #define _WX_DYNLIB_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) # pragma interface "dynlib.h" #endif diff --git a/include/wx/dynload.h b/include/wx/dynload.h index 7271c2ea8e..ae8e8e5e34 100644 --- a/include/wx/dynload.h +++ b/include/wx/dynload.h @@ -13,7 +13,7 @@ #ifndef _WX_DYNAMICLOADER_H__ #define _WX_DYNAMICLOADER_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dynload.h" #endif diff --git a/include/wx/effects.h b/include/wx/effects.h index 8357e5449d..a051c857fe 100644 --- a/include/wx/effects.h +++ b/include/wx/effects.h @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "effects.h" #endif diff --git a/include/wx/encconv.h b/include/wx/encconv.h index c4b19562bb..249a514c2a 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -10,7 +10,7 @@ #ifndef _WX_ENCCONV_H_ #define _WX_ENCCONV_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "encconv.h" #endif diff --git a/include/wx/event.h b/include/wx/event.h index eb6b2c6cec..040020fee7 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -12,7 +12,7 @@ #ifndef _WX_EVENT_H__ #define _WX_EVENT_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "event.h" #endif diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index e2ae68ce6c..354a553483 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -12,7 +12,7 @@ #ifndef _WX_EVTLOOP_H_ #define _WX_EVTLOOP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "evtloop.h" #endif diff --git a/include/wx/fdrepdlg.h b/include/wx/fdrepdlg.h index d5688d5090..0cf31e798f 100644 --- a/include/wx/fdrepdlg.h +++ b/include/wx/fdrepdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_FINDREPLACEDLG_H_ #define _WX_FINDREPLACEDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fdrepdlg.h" #endif diff --git a/include/wx/ffile.h b/include/wx/ffile.h index 9e8067b9e2..e9eaf36db7 100644 --- a/include/wx/ffile.h +++ b/include/wx/ffile.h @@ -12,7 +12,7 @@ #ifndef _WX_FFILE_H_ #define _WX_FFILE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "ffile.h" #endif diff --git a/include/wx/file.h b/include/wx/file.h index 8a382583ee..e02c326b1b 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -13,7 +13,7 @@ #ifndef _WX_FILEH__ #define _WX_FILEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "file.h" #endif diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index b00ac59e49..573fbc430f 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -13,7 +13,7 @@ #ifndef _FILECONF_H #define _FILECONF_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fileconf.h" #endif diff --git a/include/wx/filedlg.h b/include/wx/filedlg.h index 8d59f7fb70..afcffa03b8 100644 --- a/include/wx/filedlg.h +++ b/include/wx/filedlg.h @@ -14,7 +14,7 @@ #if wxUSE_FILEDLG -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filedlg.h" #endif diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 3f00a7404f..cdf22ca156 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -12,7 +12,7 @@ #ifndef _FILEFN_H_ #define _FILEFN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filefn.h" #endif diff --git a/include/wx/filename.h b/include/wx/filename.h index 13df3117b2..3d549d2b36 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -12,7 +12,7 @@ #ifndef _WX_FILENAME_H_ #define _WX_FILENAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filename.h" #endif diff --git a/include/wx/filesys.h b/include/wx/filesys.h index 8aca77fc89..73ffd59d62 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -10,7 +10,7 @@ #ifndef __FILESYS_H__ #define __FILESYS_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filesys.h" #endif diff --git a/include/wx/font.h b/include/wx/font.h index e1c2c1044a..83a00873cc 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -12,7 +12,7 @@ #ifndef _WX_FONT_H_BASE_ #define _WX_FONT_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontbase.h" #endif diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 2412f25c46..6da6a74784 100644 --- a/include/wx/fontenum.h +++ b/include/wx/fontenum.h @@ -13,7 +13,7 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontenum.h" #endif diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 93ae30121f..5e9e14c09b 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -16,7 +16,7 @@ #ifndef _WX_FONTUTIL_H_ #define _WX_FONTUTIL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontutil.h" #endif diff --git a/include/wx/frame.h b/include/wx/frame.h index 9c8aa12b15..593f4141c6 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "framebase.h" #endif diff --git a/include/wx/fs_inet.h b/include/wx/fs_inet.h index c2e9bc0e1e..3bafeed289 100644 --- a/include/wx/fs_inet.h +++ b/include/wx/fs_inet.h @@ -21,7 +21,7 @@ limitation) #ifndef _WX_FS_INET_H_ #define _WX_FS_INET_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fs_inet.h" #endif diff --git a/include/wx/fs_mem.h b/include/wx/fs_mem.h index 34531d96ca..be005401ed 100644 --- a/include/wx/fs_mem.h +++ b/include/wx/fs_mem.h @@ -9,7 +9,7 @@ #ifndef _WX_FS_MEM_H_ #define _WX_FS_MEM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fs_mem.h" #endif diff --git a/include/wx/fs_zip.h b/include/wx/fs_zip.h index 938a091e5e..a17141d967 100644 --- a/include/wx/fs_zip.h +++ b/include/wx/fs_zip.h @@ -10,7 +10,7 @@ #ifndef _WX_FS_ZIP_H_ #define _WX_FS_ZIP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fs_zip.h" #endif diff --git a/include/wx/gauge.h b/include/wx/gauge.h index e80001d060..925cca91dd 100644 --- a/include/wx/gauge.h +++ b/include/wx/gauge.h @@ -12,7 +12,7 @@ #ifndef _WX_GAUGE_H_BASE_ #define _WX_GAUGE_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gaugebase.h" #endif diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 392cd820c4..7976c78ecc 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -16,7 +16,7 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdicmn.h" #endif diff --git a/include/wx/generic/accel.h b/include/wx/generic/accel.h index 4ba1dc4300..1d05a92a99 100644 --- a/include/wx/generic/accel.h +++ b/include/wx/generic/accel.h @@ -10,7 +10,7 @@ #ifndef _WX_GENERIC_ACCEL_H_ #define _WX_GENERIC_ACCEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "accel.h" #endif diff --git a/include/wx/generic/calctrl.h b/include/wx/generic/calctrl.h index 60d1dc3945..79d3c132a0 100644 --- a/include/wx/generic/calctrl.h +++ b/include/wx/generic/calctrl.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "calctrl.h" #endif diff --git a/include/wx/generic/caret.h b/include/wx/generic/caret.h index 1fdd096d4e..21effecb58 100644 --- a/include/wx/generic/caret.h +++ b/include/wx/generic/caret.h @@ -12,7 +12,7 @@ #ifndef _WX_CARET_H_ #define _WX_CARET_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "caret.h" #endif diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 430ebe2cd8..ab30717e9b 100644 --- a/include/wx/generic/choicdgg.h +++ b/include/wx/generic/choicdgg.h @@ -12,7 +12,7 @@ #ifndef __CHOICEDLGH_G__ #define __CHOICEDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choicdgg.h" #endif diff --git a/include/wx/generic/colrdlgg.h b/include/wx/generic/colrdlgg.h index ebf0a901f9..1b5bae611b 100644 --- a/include/wx/generic/colrdlgg.h +++ b/include/wx/generic/colrdlgg.h @@ -12,7 +12,7 @@ #ifndef __COLORDLGH_G__ #define __COLORDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colrdlgg.h" #endif diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index b86487bf85..8848f16018 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -11,7 +11,7 @@ #ifndef _WX_DCPSG_H_ #define _WX_DCPSG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcpsg.h" #endif diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index 977b5396a7..43dc914c23 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -15,7 +15,7 @@ #ifndef _WX_DIRCTRL_H_ #define _WX_DIRCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dirctrlg.h" #endif diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index f3377ed0cf..3133ca5ab6 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -15,7 +15,7 @@ #ifndef _WX_DIRDLGG_H_ #define _WX_DIRDLGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dirdlgg.h" #endif diff --git a/include/wx/generic/dragimgg.h b/include/wx/generic/dragimgg.h index 6b2ec08dc8..9c4c55aca1 100644 --- a/include/wx/generic/dragimgg.h +++ b/include/wx/generic/dragimgg.h @@ -13,7 +13,7 @@ #ifndef _WX_DRAGIMGG_H_ #define _WX_DRAGIMGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dragimgg.h" #endif diff --git a/include/wx/generic/fdrepdlg.h b/include/wx/generic/fdrepdlg.h index 1db7e96d7e..3a7bfdb38d 100644 --- a/include/wx/generic/fdrepdlg.h +++ b/include/wx/generic/fdrepdlg.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "genericfdrepdlg.h" #endif diff --git a/include/wx/generic/filedlgg.h b/include/wx/generic/filedlgg.h index 0d9f819d23..22b50f9800 100644 --- a/include/wx/generic/filedlgg.h +++ b/include/wx/generic/filedlgg.h @@ -12,7 +12,7 @@ #ifndef _WX_FILEDLGG_H_ #define _WX_FILEDLGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filedlgg.h" #endif diff --git a/include/wx/generic/fontdlgg.h b/include/wx/generic/fontdlgg.h index fdbd69163e..bc62532311 100644 --- a/include/wx/generic/fontdlgg.h +++ b/include/wx/generic/fontdlgg.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_FONTDLGG_H #define _WX_GENERIC_FONTDLGG_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlgg.h" #endif diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 616eefd72d..f016ad57ff 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -14,7 +14,7 @@ #ifndef __WXGRID_H__ #define __WXGRID_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "grid.h" #endif diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index 5fa5720f03..3a717e2fd8 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_GRIDCTRL_H_ #define _WX_GENERIC_GRIDCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gridctrl.h" #endif diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index 58c110ee57..55af91488c 100644 --- a/include/wx/generic/gridsel.h +++ b/include/wx/generic/gridsel.h @@ -16,7 +16,7 @@ #ifndef __WXGRIDSEL_H__ #define __WXGRIDSEL_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gridsel.h" #endif diff --git a/include/wx/generic/helpext.h b/include/wx/generic/helpext.h index 9711fbc42c..58ef2bb7bc 100644 --- a/include/wx/generic/helpext.h +++ b/include/wx/generic/helpext.h @@ -11,7 +11,7 @@ #if wxUSE_HELP -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) # pragma interface "wxexthlp.h" #endif diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index b11f936160..72c4f68694 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -11,7 +11,7 @@ #ifndef __IMAGELISTH_G__ #define __IMAGELISTH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imaglist.h" #endif diff --git a/include/wx/generic/laywin.h b/include/wx/generic/laywin.h index 68f2f5d7ed..2eed2c6781 100644 --- a/include/wx/generic/laywin.h +++ b/include/wx/generic/laywin.h @@ -15,7 +15,7 @@ #ifndef _WX_LAYWIN_H_G_ #define _WX_LAYWIN_H_G_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "laywin.h" #endif diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 8fd3c33007..d5e35bf832 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -11,7 +11,7 @@ #ifndef __LISTCTRLH_G__ #define __LISTCTRLH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listctrl.h" #endif diff --git a/include/wx/generic/logg.h b/include/wx/generic/logg.h index 1da53e5e6b..5d4a9a008e 100644 --- a/include/wx/generic/logg.h +++ b/include/wx/generic/logg.h @@ -12,7 +12,7 @@ #ifndef _WX_LOGG_H_ #define _WX_LOGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "logg.h" #endif diff --git a/include/wx/generic/mdig.h b/include/wx/generic/mdig.h index 1aff578bf2..4da54e4120 100644 --- a/include/wx/generic/mdig.h +++ b/include/wx/generic/mdig.h @@ -12,7 +12,7 @@ #ifndef _WX_MDIG_H_ #define _WX_MDIG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mdig.h" #endif diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index 864bffd367..521f5586fa 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -12,7 +12,7 @@ #ifndef __MSGDLGH_G__ #define __MSGDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlgg.h" #endif diff --git a/include/wx/generic/notebook.h b/include/wx/generic/notebook.h index 91cc13f725..739230fb2d 100644 --- a/include/wx/generic/notebook.h +++ b/include/wx/generic/notebook.h @@ -11,7 +11,7 @@ #ifndef _WX_NOTEBOOK_H_ #define _WX_NOTEBOOK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "notebook.h" #endif diff --git a/include/wx/generic/paletteg.h b/include/wx/generic/paletteg.h index 0ffcd7a57a..3ff00fbf20 100644 --- a/include/wx/generic/paletteg.h +++ b/include/wx/generic/paletteg.h @@ -12,7 +12,7 @@ #ifndef __WX_PALETTEG_H__ #define __WX_PALETTEG_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "paletteg.h" #endif diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 947d9a4b22..b79a59e0f4 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_PANEL_H_ #define _WX_GENERIC_PANEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "panelg.h" #endif diff --git a/include/wx/generic/printps.h b/include/wx/generic/printps.h index c3d16a02f5..bb60929d0f 100644 --- a/include/wx/generic/printps.h +++ b/include/wx/generic/printps.h @@ -13,7 +13,7 @@ #ifndef __PRINTPSH__ #define __PRINTPSH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "printps.h" #endif diff --git a/include/wx/generic/prntdlgg.h b/include/wx/generic/prntdlgg.h index ddc6b4fd2c..d0114adf29 100644 --- a/include/wx/generic/prntdlgg.h +++ b/include/wx/generic/prntdlgg.h @@ -13,7 +13,7 @@ #ifndef __PRINTDLGH_G_ #define __PRINTDLGH_G_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "prntdlgg.h" #endif diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 125e2d2d38..9fc06a25bf 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -12,7 +12,7 @@ #ifndef __PROGDLGH_G__ #define __PROGDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "progdlgg.h" #endif diff --git a/include/wx/generic/sashwin.h b/include/wx/generic/sashwin.h index dc7c8a6a2e..f5c9a9a575 100644 --- a/include/wx/generic/sashwin.h +++ b/include/wx/generic/sashwin.h @@ -14,7 +14,7 @@ #ifndef _WX_SASHWIN_H_G_ #define _WX_SASHWIN_H_G_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "sashwin.h" #endif diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index 85cd9e8e06..263a4d949c 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_SCROLLWIN_H_ #define _WX_GENERIC_SCROLLWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "genscrolwin.h" #endif diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index d6d9a4043b..2d4e3e400d 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -22,7 +22,7 @@ #if wxUSE_SPINBTN -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinctlg.h" #endif diff --git a/include/wx/generic/splash.h b/include/wx/generic/splash.h index fc4112bc86..498eee8eec 100644 --- a/include/wx/generic/splash.h +++ b/include/wx/generic/splash.h @@ -9,7 +9,7 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "splash.h" #endif diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 38420cdd65..bff0c970c3 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -12,7 +12,7 @@ #ifndef __SPLITTERH_G__ #define __SPLITTERH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "splitter.h" #endif diff --git a/include/wx/generic/statline.h b/include/wx/generic/statline.h index 5e5b13c24f..3ba19ec310 100644 --- a/include/wx/generic/statline.h +++ b/include/wx/generic/statline.h @@ -11,7 +11,7 @@ #ifndef _WX_GENERIC_STATLINE_H_ #define _WX_GENERIC_STATLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statline.h" #endif diff --git a/include/wx/generic/statusbr.h b/include/wx/generic/statusbr.h index fcca524216..c36a0c7cdc 100644 --- a/include/wx/generic/statusbr.h +++ b/include/wx/generic/statusbr.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_STATUSBR_H_ #define _WX_GENERIC_STATUSBR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statusbr.h" #endif diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 047cd38779..effb98ce4c 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -12,7 +12,7 @@ #ifndef __TABGH_G__ #define __TABGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tabg.h" #endif diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index 9c2284ac28..d9cbafc1b7 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -12,7 +12,7 @@ #ifndef __TEXTDLGH_G__ #define __TEXTDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textdlgg.h" #endif diff --git a/include/wx/generic/timer.h b/include/wx/generic/timer.h index efe303411c..acfed178ce 100644 --- a/include/wx/generic/timer.h +++ b/include/wx/generic/timer.h @@ -11,7 +11,7 @@ #ifndef __WX_TIMER_H__ #define __WX_TIMER_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index e257190faf..e4e7ecbceb 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -12,7 +12,7 @@ #ifndef _GENERIC_TREECTRL_H_ #define _GENERIC_TREECTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treectlg.h" #endif diff --git a/include/wx/generic/wizard.h b/include/wx/generic/wizard.h index f6e3e6509e..be0b991c38 100644 --- a/include/wx/generic/wizard.h +++ b/include/wx/generic/wizard.h @@ -13,7 +13,7 @@ // wxWizard // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wizardg.h" #endif diff --git a/include/wx/geometry.h b/include/wx/geometry.h index 7f1bc382a7..18fa889e1b 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -12,7 +12,7 @@ #ifndef _WX_GEOMETRY_H_ #define _WX_GEOMETRY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "geometry.cpp" #endif diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index fac5e45639..e524466c0d 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -11,7 +11,7 @@ #ifndef _WX_GIFDECOD_H #define _WX_GIFDECOD_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gifdecod.h" #endif diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index fc603dafb7..ac03484769 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -10,7 +10,7 @@ #ifndef __GTKAPPH__ #define __GTKAPPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index 25b7778b1c..5ba80bf85f 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -11,7 +11,7 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 0454769f06..5a27135aba 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/brush.h b/include/wx/gtk/brush.h index e185621697..de6bf6f62a 100644 --- a/include/wx/gtk/brush.h +++ b/include/wx/gtk/brush.h @@ -11,7 +11,7 @@ #ifndef __GTKBRUSHH__ #define __GTKBRUSHH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index 5b895a059e..84b20b81a0 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -10,7 +10,7 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index 2d262a0978..11f89e0a47 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -10,7 +10,7 @@ #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h index 19d1ae02ef..aa26886c0f 100644 --- a/include/wx/gtk/checklst.h +++ b/include/wx/gtk/checklst.h @@ -11,7 +11,7 @@ #ifndef __GTKCHECKLISTH__ #define __GTKCHECKLISTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 19a4defb5a..a6e0ecd1be 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -10,7 +10,7 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choice.h" #endif diff --git a/include/wx/gtk/clipbrd.h b/include/wx/gtk/clipbrd.h index bc942af2a5..38f7c427c9 100644 --- a/include/wx/gtk/clipbrd.h +++ b/include/wx/gtk/clipbrd.h @@ -11,7 +11,7 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index de243d30a7..0ae6594930 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -11,7 +11,7 @@ #ifndef __GTKCOLOURH__ #define __GTKCOLOURH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 9dfb9e9c2e..fc16eb9a39 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -12,7 +12,7 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index 17db76e571..623133c461 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -10,7 +10,7 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/cursor.h b/include/wx/gtk/cursor.h index 655103113a..5886b6e20f 100644 --- a/include/wx/gtk/cursor.h +++ b/include/wx/gtk/cursor.h @@ -11,7 +11,7 @@ #ifndef __GTKCURSORH__ #define __GTKCURSORH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/dataobj.h b/include/wx/gtk/dataobj.h index e468a12470..fa14819b17 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk/dataobj2.h b/include/wx/gtk/dataobj2.h index 2c05728baa..dc7bc94bb7 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index 1550c268e7..23650e5c0c 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -11,7 +11,7 @@ #ifndef __GTKDCH__ #define __GTKDCH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index c2a6fa43c8..fc7e52885e 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -10,7 +10,7 @@ #ifndef __GTKDCCLIENTH__ #define __GTKDCCLIENTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index 78b712ef42..8658a250eb 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -11,7 +11,7 @@ #ifndef __GTKDCMEMORYH__ #define __GTKDCMEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index 8e1ee24e63..9f30a1c8d8 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -11,7 +11,7 @@ #ifndef __GTKDIALOGH__ #define __GTKDIALOGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/dnd.h b/include/wx/gtk/dnd.h index 86ec39b1d2..c2210c23a3 100644 --- a/include/wx/gtk/dnd.h +++ b/include/wx/gtk/dnd.h @@ -11,7 +11,7 @@ #ifndef __GTKDNDH__ #define __GTKDNDH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/filedlg.h b/include/wx/gtk/filedlg.h index 308016297d..2b3fd479f7 100644 --- a/include/wx/gtk/filedlg.h +++ b/include/wx/gtk/filedlg.h @@ -11,7 +11,7 @@ #ifndef __GTKFILEDLGH__ #define __GTKFILEDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index 9f23bd9017..2465dc3554 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -10,7 +10,7 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/fontdlg.h b/include/wx/gtk/fontdlg.h index f777cbe96f..901f458fa2 100644 --- a/include/wx/gtk/fontdlg.h +++ b/include/wx/gtk/fontdlg.h @@ -11,7 +11,7 @@ #ifndef __GTK_FONTDLGH__ #define __GTK_FONTDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlg.h" #endif diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index fa9430007a..3c452d5451 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -11,7 +11,7 @@ #ifndef __GTKFRAMEH__ #define __GTKFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "frame.h" #endif diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index c1d22c1a98..f014fcf379 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -11,7 +11,7 @@ #ifndef __GTKGAUGEH__ #define __GTKGAUGEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/gdiobj.h b/include/wx/gtk/gdiobj.h index 12e15f3e0f..d87d6b9542 100644 --- a/include/wx/gtk/gdiobj.h +++ b/include/wx/gtk/gdiobj.h @@ -13,7 +13,7 @@ #include "wx/object.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index 29f3deabc3..96ca1ffffd 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index 93dd3b354b..c784b646e4 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/icon.h @@ -11,7 +11,7 @@ #ifndef __GTKICONH__ #define __GTKICONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/listbox.h b/include/wx/gtk/listbox.h index 1976ebf2a2..3a91c721c7 100644 --- a/include/wx/gtk/listbox.h +++ b/include/wx/gtk/listbox.h @@ -11,7 +11,7 @@ #ifndef __GTKLISTBOXH__ #define __GTKLISTBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listbox.h" #endif diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index f5fea52d5a..69104769f2 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -11,7 +11,7 @@ #ifndef __MDIH__ #define __MDIH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index d2d836ed7e..f482d01644 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUH__ #define __GTKMENUH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menu.h" #endif diff --git a/include/wx/gtk/menuitem.h b/include/wx/gtk/menuitem.h index 3158958722..790aa61847 100644 --- a/include/wx/gtk/menuitem.h +++ b/include/wx/gtk/menuitem.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUITEMH__ #define __GTKMENUITEMH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/minifram.h b/include/wx/gtk/minifram.h index bedee8e027..6c2e4cedf3 100644 --- a/include/wx/gtk/minifram.h +++ b/include/wx/gtk/minifram.h @@ -10,7 +10,7 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/msgdlg.h b/include/wx/gtk/msgdlg.h index 8d310153e9..6e74529d83 100644 --- a/include/wx/gtk/msgdlg.h +++ b/include/wx/gtk/msgdlg.h @@ -12,7 +12,7 @@ #ifndef __MSGDLG_H__ #define __MSGDLG_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlg.h" #endif diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index 2151aa93c5..54b260bba5 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -11,7 +11,7 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/pen.h b/include/wx/gtk/pen.h index 461950255d..e71e01253f 100644 --- a/include/wx/gtk/pen.h +++ b/include/wx/gtk/pen.h @@ -11,7 +11,7 @@ #ifndef __GTKPENH__ #define __GTKPENH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index 46a00922d3..e40673b4e6 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "popupwin.h" #endif diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index 97a318bdcd..e0e45b054e 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBOXH__ #define __GTKRADIOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index fc3e0c21b7..af716335ea 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 5ec51def18..90356ba2ea 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index 672334a1de..4f43d99e7e 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -11,7 +11,7 @@ #ifndef __GTKSCROLLBARH__ #define __GTKSCROLLBARH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolbar.h" #endif diff --git a/include/wx/gtk/scrolwin.h b/include/wx/gtk/scrolwin.h index cf8854cf56..5e86b9f26a 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolwin.h" #endif diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index e653f37efc..945c726ede 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -10,7 +10,7 @@ #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/spinbutt.h b/include/wx/gtk/spinbutt.h index 0969b157d3..ce80a907e5 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 5f967589fd..b02797c3e7 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/statbmp.h b/include/wx/gtk/statbmp.h index d11396a14a..642e708448 100644 --- a/include/wx/gtk/statbmp.h +++ b/include/wx/gtk/statbmp.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index c6e232c525..fa4d65228a 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/statline.h b/include/wx/gtk/statline.h index ae4248f906..2324b01204 100644 --- a/include/wx/gtk/statline.h +++ b/include/wx/gtk/statline.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICLINEH__ #define __GTKSTATICLINEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/stattext.h b/include/wx/gtk/stattext.h index 614c0af070..30b0424934 100644 --- a/include/wx/gtk/stattext.h +++ b/include/wx/gtk/stattext.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/tbargtk.h b/include/wx/gtk/tbargtk.h index 242b327e9e..c3c585be05 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbargtk.h" #endif diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index a7fdeb1201..a8730f89fd 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKTEXTCTRLH__ #define __GTKTEXTCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif diff --git a/include/wx/gtk/timer.h b/include/wx/gtk/timer.h index 6ee7767602..5d006be202 100644 --- a/include/wx/gtk/timer.h +++ b/include/wx/gtk/timer.h @@ -11,7 +11,7 @@ #ifndef __GTKTIMERH__ #define __GTKTIMERH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif diff --git a/include/wx/gtk/tooltip.h b/include/wx/gtk/tooltip.h index 06d1df3b32..39b2f82fa0 100644 --- a/include/wx/gtk/tooltip.h +++ b/include/wx/gtk/tooltip.h @@ -10,7 +10,7 @@ #ifndef __GTKTOOLTIPH__ #define __GTKTOOLTIPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 0271b4c353..e95ee0f11c 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -11,7 +11,7 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/gtk/treectrl.h b/include/wx/gtk/treectrl.h index d85c0952d7..2d715c2c1d 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treectrl.h" #endif diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 13adf9b21f..40685ab806 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -11,7 +11,7 @@ #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/app.h b/include/wx/gtk1/app.h index fc603dafb7..ac03484769 100644 --- a/include/wx/gtk1/app.h +++ b/include/wx/gtk1/app.h @@ -10,7 +10,7 @@ #ifndef __GTKAPPH__ #define __GTKAPPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/bitmap.h b/include/wx/gtk1/bitmap.h index 25b7778b1c..5ba80bf85f 100644 --- a/include/wx/gtk1/bitmap.h +++ b/include/wx/gtk1/bitmap.h @@ -11,7 +11,7 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 0454769f06..5a27135aba 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index e185621697..de6bf6f62a 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -11,7 +11,7 @@ #ifndef __GTKBRUSHH__ #define __GTKBRUSHH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 5b895a059e..84b20b81a0 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -10,7 +10,7 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/checkbox.h b/include/wx/gtk1/checkbox.h index 2d262a0978..11f89e0a47 100644 --- a/include/wx/gtk1/checkbox.h +++ b/include/wx/gtk1/checkbox.h @@ -10,7 +10,7 @@ #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 19d1ae02ef..aa26886c0f 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -11,7 +11,7 @@ #ifndef __GTKCHECKLISTH__ #define __GTKCHECKLISTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 19a4defb5a..a6e0ecd1be 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -10,7 +10,7 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choice.h" #endif diff --git a/include/wx/gtk1/clipbrd.h b/include/wx/gtk1/clipbrd.h index bc942af2a5..38f7c427c9 100644 --- a/include/wx/gtk1/clipbrd.h +++ b/include/wx/gtk1/clipbrd.h @@ -11,7 +11,7 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/colour.h b/include/wx/gtk1/colour.h index de243d30a7..0ae6594930 100644 --- a/include/wx/gtk1/colour.h +++ b/include/wx/gtk1/colour.h @@ -11,7 +11,7 @@ #ifndef __GTKCOLOURH__ #define __GTKCOLOURH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 9dfb9e9c2e..fc16eb9a39 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -12,7 +12,7 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif diff --git a/include/wx/gtk1/control.h b/include/wx/gtk1/control.h index 17db76e571..623133c461 100644 --- a/include/wx/gtk1/control.h +++ b/include/wx/gtk1/control.h @@ -10,7 +10,7 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/cursor.h b/include/wx/gtk1/cursor.h index 655103113a..5886b6e20f 100644 --- a/include/wx/gtk1/cursor.h +++ b/include/wx/gtk1/cursor.h @@ -11,7 +11,7 @@ #ifndef __GTKCURSORH__ #define __GTKCURSORH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index e468a12470..fa14819b17 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk1/dataobj2.h b/include/wx/gtk1/dataobj2.h index 2c05728baa..dc7bc94bb7 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index 1550c268e7..23650e5c0c 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -11,7 +11,7 @@ #ifndef __GTKDCH__ #define __GTKDCH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index c2a6fa43c8..fc7e52885e 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -10,7 +10,7 @@ #ifndef __GTKDCCLIENTH__ #define __GTKDCCLIENTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/dcmemory.h b/include/wx/gtk1/dcmemory.h index 78b712ef42..8658a250eb 100644 --- a/include/wx/gtk1/dcmemory.h +++ b/include/wx/gtk1/dcmemory.h @@ -11,7 +11,7 @@ #ifndef __GTKDCMEMORYH__ #define __GTKDCMEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index 8e1ee24e63..9f30a1c8d8 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -11,7 +11,7 @@ #ifndef __GTKDIALOGH__ #define __GTKDIALOGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/dnd.h b/include/wx/gtk1/dnd.h index 86ec39b1d2..c2210c23a3 100644 --- a/include/wx/gtk1/dnd.h +++ b/include/wx/gtk1/dnd.h @@ -11,7 +11,7 @@ #ifndef __GTKDNDH__ #define __GTKDNDH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/filedlg.h b/include/wx/gtk1/filedlg.h index 308016297d..2b3fd479f7 100644 --- a/include/wx/gtk1/filedlg.h +++ b/include/wx/gtk1/filedlg.h @@ -11,7 +11,7 @@ #ifndef __GTKFILEDLGH__ #define __GTKFILEDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index 9f23bd9017..2465dc3554 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/font.h @@ -10,7 +10,7 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/fontdlg.h b/include/wx/gtk1/fontdlg.h index f777cbe96f..901f458fa2 100644 --- a/include/wx/gtk1/fontdlg.h +++ b/include/wx/gtk1/fontdlg.h @@ -11,7 +11,7 @@ #ifndef __GTK_FONTDLGH__ #define __GTK_FONTDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlg.h" #endif diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index fa9430007a..3c452d5451 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/frame.h @@ -11,7 +11,7 @@ #ifndef __GTKFRAMEH__ #define __GTKFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "frame.h" #endif diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index c1d22c1a98..f014fcf379 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -11,7 +11,7 @@ #ifndef __GTKGAUGEH__ #define __GTKGAUGEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/gdiobj.h b/include/wx/gtk1/gdiobj.h index 12e15f3e0f..d87d6b9542 100644 --- a/include/wx/gtk1/gdiobj.h +++ b/include/wx/gtk1/gdiobj.h @@ -13,7 +13,7 @@ #include "wx/object.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/glcanvas.h b/include/wx/gtk1/glcanvas.h index 29f3deabc3..96ca1ffffd 100644 --- a/include/wx/gtk1/glcanvas.h +++ b/include/wx/gtk1/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index 93dd3b354b..c784b646e4 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -11,7 +11,7 @@ #ifndef __GTKICONH__ #define __GTKICONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index 1976ebf2a2..3a91c721c7 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -11,7 +11,7 @@ #ifndef __GTKLISTBOXH__ #define __GTKLISTBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listbox.h" #endif diff --git a/include/wx/gtk1/mdi.h b/include/wx/gtk1/mdi.h index f5fea52d5a..69104769f2 100644 --- a/include/wx/gtk1/mdi.h +++ b/include/wx/gtk1/mdi.h @@ -11,7 +11,7 @@ #ifndef __MDIH__ #define __MDIH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/menu.h b/include/wx/gtk1/menu.h index d2d836ed7e..f482d01644 100644 --- a/include/wx/gtk1/menu.h +++ b/include/wx/gtk1/menu.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUH__ #define __GTKMENUH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menu.h" #endif diff --git a/include/wx/gtk1/menuitem.h b/include/wx/gtk1/menuitem.h index 3158958722..790aa61847 100644 --- a/include/wx/gtk1/menuitem.h +++ b/include/wx/gtk1/menuitem.h @@ -10,7 +10,7 @@ #ifndef __GTKMENUITEMH__ #define __GTKMENUITEMH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/minifram.h b/include/wx/gtk1/minifram.h index bedee8e027..6c2e4cedf3 100644 --- a/include/wx/gtk1/minifram.h +++ b/include/wx/gtk1/minifram.h @@ -10,7 +10,7 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/msgdlg.h b/include/wx/gtk1/msgdlg.h index 8d310153e9..6e74529d83 100644 --- a/include/wx/gtk1/msgdlg.h +++ b/include/wx/gtk1/msgdlg.h @@ -12,7 +12,7 @@ #ifndef __MSGDLG_H__ #define __MSGDLG_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlg.h" #endif diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index 2151aa93c5..54b260bba5 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -11,7 +11,7 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/pen.h b/include/wx/gtk1/pen.h index 461950255d..e71e01253f 100644 --- a/include/wx/gtk1/pen.h +++ b/include/wx/gtk1/pen.h @@ -11,7 +11,7 @@ #ifndef __GTKPENH__ #define __GTKPENH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h index 46a00922d3..e40673b4e6 100644 --- a/include/wx/gtk1/popupwin.h +++ b/include/wx/gtk1/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "popupwin.h" #endif diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index 97a318bdcd..e0e45b054e 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/radiobox.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBOXH__ #define __GTKRADIOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/radiobut.h b/include/wx/gtk1/radiobut.h index fc3e0c21b7..af716335ea 100644 --- a/include/wx/gtk1/radiobut.h +++ b/include/wx/gtk1/radiobut.h @@ -11,7 +11,7 @@ #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 5ec51def18..90356ba2ea 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/scrolbar.h b/include/wx/gtk1/scrolbar.h index 672334a1de..4f43d99e7e 100644 --- a/include/wx/gtk1/scrolbar.h +++ b/include/wx/gtk1/scrolbar.h @@ -11,7 +11,7 @@ #ifndef __GTKSCROLLBARH__ #define __GTKSCROLLBARH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolbar.h" #endif diff --git a/include/wx/gtk1/scrolwin.h b/include/wx/gtk1/scrolwin.h index cf8854cf56..5e86b9f26a 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolwin.h" #endif diff --git a/include/wx/gtk1/slider.h b/include/wx/gtk1/slider.h index e653f37efc..945c726ede 100644 --- a/include/wx/gtk1/slider.h +++ b/include/wx/gtk1/slider.h @@ -10,7 +10,7 @@ #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/spinbutt.h b/include/wx/gtk1/spinbutt.h index 0969b157d3..ce80a907e5 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index 5f967589fd..b02797c3e7 100644 --- a/include/wx/gtk1/spinctrl.h +++ b/include/wx/gtk1/spinctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/statbmp.h b/include/wx/gtk1/statbmp.h index d11396a14a..642e708448 100644 --- a/include/wx/gtk1/statbmp.h +++ b/include/wx/gtk1/statbmp.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/statbox.h b/include/wx/gtk1/statbox.h index c6e232c525..fa4d65228a 100644 --- a/include/wx/gtk1/statbox.h +++ b/include/wx/gtk1/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/statline.h b/include/wx/gtk1/statline.h index ae4248f906..2324b01204 100644 --- a/include/wx/gtk1/statline.h +++ b/include/wx/gtk1/statline.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICLINEH__ #define __GTKSTATICLINEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/stattext.h b/include/wx/gtk1/stattext.h index 614c0af070..30b0424934 100644 --- a/include/wx/gtk1/stattext.h +++ b/include/wx/gtk1/stattext.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/tbargtk.h b/include/wx/gtk1/tbargtk.h index 242b327e9e..c3c585be05 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbargtk.h" #endif diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index a7fdeb1201..a8730f89fd 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -11,7 +11,7 @@ #ifndef __GTKTEXTCTRLH__ #define __GTKTEXTCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif diff --git a/include/wx/gtk1/timer.h b/include/wx/gtk1/timer.h index 6ee7767602..5d006be202 100644 --- a/include/wx/gtk1/timer.h +++ b/include/wx/gtk1/timer.h @@ -11,7 +11,7 @@ #ifndef __GTKTIMERH__ #define __GTKTIMERH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif diff --git a/include/wx/gtk1/tooltip.h b/include/wx/gtk1/tooltip.h index 06d1df3b32..39b2f82fa0 100644 --- a/include/wx/gtk1/tooltip.h +++ b/include/wx/gtk1/tooltip.h @@ -10,7 +10,7 @@ #ifndef __GTKTOOLTIPH__ #define __GTKTOOLTIPH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/gtk1/toplevel.h b/include/wx/gtk1/toplevel.h index 0271b4c353..e95ee0f11c 100644 --- a/include/wx/gtk1/toplevel.h +++ b/include/wx/gtk1/toplevel.h @@ -11,7 +11,7 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/gtk1/treectrl.h b/include/wx/gtk1/treectrl.h index d85c0952d7..2d715c2c1d 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treectrl.h" #endif diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 13adf9b21f..40685ab806 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -11,7 +11,7 @@ #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/hash.h b/include/wx/hash.h index cc03625dc4..9415394e1a 100644 --- a/include/wx/hash.h +++ b/include/wx/hash.h @@ -12,7 +12,7 @@ #ifndef _WX_HASH_H__ #define _WX_HASH_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "hash.h" #endif diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index 4ac35a37e0..5924d71576 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -12,7 +12,7 @@ #ifndef _WX_HASHMAP_H_ #define _WX_HASHMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "hashmap.h" #endif diff --git a/include/wx/helpbase.h b/include/wx/helpbase.h index 2dad25c4e8..3d1d60965c 100644 --- a/include/wx/helpbase.h +++ b/include/wx/helpbase.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPBASEH__ #define _WX_HELPBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpbase.h" #endif diff --git a/include/wx/html/helpctrl.h b/include/wx/html/helpctrl.h index 573641ac23..d0b8691ca1 100644 --- a/include/wx/html/helpctrl.h +++ b/include/wx/html/helpctrl.h @@ -14,7 +14,7 @@ #include "wx/defs.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpctrl.h" #endif diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index ee861f43e2..f03914cc18 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPDATA_H_ #define _WX_HELPDATA_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpdata.h" #endif diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index f85e36ee5d..7912e48af9 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPFRM_H_ #define _WX_HELPFRM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpfrm.h" #endif diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 06a553cf2a..e3b1abce93 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -12,7 +12,7 @@ #ifndef _WX_HTMLCELL_H_ #define _WX_HTMLCELL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmlcell.h" #endif diff --git a/include/wx/html/htmlfilt.h b/include/wx/html/htmlfilt.h index f3bf253ba1..39435ac74f 100644 --- a/include/wx/html/htmlfilt.h +++ b/include/wx/html/htmlfilt.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLFILT_H_ #define _WX_HTMLFILT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmlfilt.h" #endif diff --git a/include/wx/html/htmlpars.h b/include/wx/html/htmlpars.h index bebe5ec47e..3188d4925a 100644 --- a/include/wx/html/htmlpars.h +++ b/include/wx/html/htmlpars.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLPARS_H_ #define _WX_HTMLPARS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmlpars.h" #endif diff --git a/include/wx/html/htmlproc.h b/include/wx/html/htmlproc.h index f0bd12235b..4b148ecbca 100644 --- a/include/wx/html/htmlproc.h +++ b/include/wx/html/htmlproc.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLPREP_H_ #define _WX_HTMLPREP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmlproc.h" // (implementation is in htmlwin.cpp, there's no htmlprep.cpp!) #endif diff --git a/include/wx/html/htmltag.h b/include/wx/html/htmltag.h index f681056d58..f09efd74b1 100644 --- a/include/wx/html/htmltag.h +++ b/include/wx/html/htmltag.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLTAG_H_ #define _WX_HTMLTAG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmltag.h" #endif diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index f23709848d..101e6fa938 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLWIN_H_ #define _WX_HTMLWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmlwin.h" #endif diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index 5b7c72db7b..d71509834d 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMPRINT_H_ #define _WX_HTMPRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "htmprint.h" #endif diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h index fc687c495d..d25621df77 100644 --- a/include/wx/html/winpars.h +++ b/include/wx/html/winpars.h @@ -11,7 +11,7 @@ #ifndef _WX_WINPARS_H_ #define _WX_WINPARS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "winpars.h" #endif diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index 8f04625360..f73684f75d 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -12,7 +12,7 @@ #ifndef _WX_ICONBNDL_H_ #define _WX_ICONBNDL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "iconbndl.h" #endif diff --git a/include/wx/imagbmp.h b/include/wx/imagbmp.h index 7ddbd1c3f5..78a63204f4 100644 --- a/include/wx/imagbmp.h +++ b/include/wx/imagbmp.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGBMP_H_ #define _WX_IMAGBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagbmp.h" #endif diff --git a/include/wx/image.h b/include/wx/image.h index 0d8f947e3c..778de29404 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGE_H_ #define _WX_IMAGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "image.h" #endif diff --git a/include/wx/imaggif.h b/include/wx/imaggif.h index 5af07e4072..2a6affdda7 100644 --- a/include/wx/imaggif.h +++ b/include/wx/imaggif.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGGIF_H_ #define _WX_IMAGGIF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imaggif.h" #endif diff --git a/include/wx/imagiff.h b/include/wx/imagiff.h index 3591d7570e..93c3822466 100644 --- a/include/wx/imagiff.h +++ b/include/wx/imagiff.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGE_IFF_H_ #define _WX_IMAGE_IFF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagiff.h" #endif diff --git a/include/wx/imagjpeg.h b/include/wx/imagjpeg.h index 7c9a82de9d..70e9541d59 100644 --- a/include/wx/imagjpeg.h +++ b/include/wx/imagjpeg.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGJPEG_H_ #define _WX_IMAGJPEG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagjpeg.h" #endif diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index 40d3ca7c7e..76807996b2 100644 --- a/include/wx/imagpcx.h +++ b/include/wx/imagpcx.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGPCX_H_ #define _WX_IMAGPCX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagpcx.h" #endif diff --git a/include/wx/imagpng.h b/include/wx/imagpng.h index 1183280c11..2e0d07be7c 100644 --- a/include/wx/imagpng.h +++ b/include/wx/imagpng.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGPNG_H_ #define _WX_IMAGPNG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagpng.h" #endif diff --git a/include/wx/imagpnm.h b/include/wx/imagpnm.h index 12f184f587..2d1222ed3b 100644 --- a/include/wx/imagpnm.h +++ b/include/wx/imagpnm.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGPNM_H_ #define _WX_IMAGPNM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagpnm.h" #endif diff --git a/include/wx/imagtiff.h b/include/wx/imagtiff.h index 1f953b3f4a..e027ff0b64 100644 --- a/include/wx/imagtiff.h +++ b/include/wx/imagtiff.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGTIFF_H_ #define _WX_IMAGTIFF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagtiff.h" #endif diff --git a/include/wx/imagxpm.h b/include/wx/imagxpm.h index f8825308c2..c4ae5e262b 100644 --- a/include/wx/imagxpm.h +++ b/include/wx/imagxpm.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGXPM_H_ #define _WX_IMAGXPM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagxpm.h" #endif diff --git a/include/wx/intl.h b/include/wx/intl.h index 0ef2de8e3c..d08acae0c9 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -12,7 +12,7 @@ #ifndef _WX_INTL_H_ #define _WX_INTL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "intl.h" #endif diff --git a/include/wx/ipcbase.h b/include/wx/ipcbase.h index 997293cc5d..61969b4de3 100644 --- a/include/wx/ipcbase.h +++ b/include/wx/ipcbase.h @@ -12,7 +12,7 @@ #ifndef _WX_IPCBASEH__ #define _WX_IPCBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "ipcbase.h" #endif diff --git a/include/wx/layout.h b/include/wx/layout.h index c46241c1d8..d321287720 100644 --- a/include/wx/layout.h +++ b/include/wx/layout.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "layout.h" #endif diff --git a/include/wx/list.h b/include/wx/list.h index 93ea9a13ac..e5eef865c2 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -25,7 +25,7 @@ #ifndef _WX_LISTH__ #define _WX_LISTH__ -#if defined(__GNUG__) && !defined(__APPLE__) && \ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && \ !(defined(__MINGW32__) && __GNUC__ == 3 && __GNUC_MINOR__ == 2) #pragma interface "list.h" #endif diff --git a/include/wx/listbase.h b/include/wx/listbase.h index 04f6efd971..06ba020d11 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -12,7 +12,7 @@ #ifndef _WX_LISTBASE_H_BASE_ #define _WX_LISTBASE_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) // #pragma interface "listctrlbase.h" #endif diff --git a/include/wx/listbox.h b/include/wx/listbox.h index ef66d8ea3c..66f39ed4bf 100644 --- a/include/wx/listbox.h +++ b/include/wx/listbox.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listboxbase.h" #endif diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 6d1f51802b..02da28c588 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_LISTCTRL_H_BASE_ #define _WX_LISTCTRL_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listctrlbase.h" #endif diff --git a/include/wx/log.h b/include/wx/log.h index a2f304a907..758c44e6e8 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -12,7 +12,7 @@ #ifndef _WX_LOG_H_ #define _WX_LOG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "log.h" #endif diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 725ff72c66..c99255946d 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -13,7 +13,7 @@ #ifndef _WX_LONGLONG_H #define _WX_LONGLONG_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "longlong.h" #endif diff --git a/include/wx/mac/accel.h b/include/wx/mac/accel.h index f4e5530320..25acc73bea 100644 --- a/include/wx/mac/accel.h +++ b/include/wx/mac/accel.h @@ -12,7 +12,7 @@ #ifndef _WX_ACCEL_H_ #define _WX_ACCEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "accel.h" #endif diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index 7269c6e0d7..3b9d29880f 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -12,7 +12,7 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "app.h" #endif diff --git a/include/wx/mac/bitmap.h b/include/wx/mac/bitmap.h index 27a729ccc9..759cccfe1b 100644 --- a/include/wx/mac/bitmap.h +++ b/include/wx/mac/bitmap.h @@ -12,7 +12,7 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bitmap.h" #endif diff --git a/include/wx/mac/bmpbuttn.h b/include/wx/mac/bmpbuttn.h index a9da719241..178c273ee9 100644 --- a/include/wx/mac/bmpbuttn.h +++ b/include/wx/mac/bmpbuttn.h @@ -12,7 +12,7 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bmpbuttn.h" #endif diff --git a/include/wx/mac/brush.h b/include/wx/mac/brush.h index 68d1249860..12e60e06d1 100644 --- a/include/wx/mac/brush.h +++ b/include/wx/mac/brush.h @@ -12,7 +12,7 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "brush.h" #endif diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index 3b000943de..23e9044f00 100644 --- a/include/wx/mac/button.h +++ b/include/wx/mac/button.h @@ -12,7 +12,7 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "button.h" #endif diff --git a/include/wx/mac/checkbox.h b/include/wx/mac/checkbox.h index e969d100ac..4677f5dd66 100644 --- a/include/wx/mac/checkbox.h +++ b/include/wx/mac/checkbox.h @@ -12,7 +12,7 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif diff --git a/include/wx/mac/checklst.h b/include/wx/mac/checklst.h index 76d9514edc..3bf972d7a2 100644 --- a/include/wx/mac/checklst.h +++ b/include/wx/mac/checklst.h @@ -13,7 +13,7 @@ #ifndef _WX_CHECKLST_H_ #define _WX_CHECKLST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checklst.h" #endif diff --git a/include/wx/mac/choice.h b/include/wx/mac/choice.h index 3f9909e031..ea9756f1a4 100644 --- a/include/wx/mac/choice.h +++ b/include/wx/mac/choice.h @@ -12,7 +12,7 @@ #ifndef _WX_CHOICE_H_ #define _WX_CHOICE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choice.h" #endif diff --git a/include/wx/mac/clipbrd.h b/include/wx/mac/clipbrd.h index 2e350a4924..34bb3e3129 100644 --- a/include/wx/mac/clipbrd.h +++ b/include/wx/mac/clipbrd.h @@ -15,7 +15,7 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clipbrd.h" #endif diff --git a/include/wx/mac/colordlg.h b/include/wx/mac/colordlg.h index af93ad7c6b..443ba6fd68 100644 --- a/include/wx/mac/colordlg.h +++ b/include/wx/mac/colordlg.h @@ -13,7 +13,7 @@ #ifndef _WX_COLORDLG_H_ #define _WX_COLORDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colordlg.h" #endif diff --git a/include/wx/mac/colour.h b/include/wx/mac/colour.h index 08c8fed907..b75929d1ce 100644 --- a/include/wx/mac/colour.h +++ b/include/wx/mac/colour.h @@ -12,7 +12,7 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colour.h" #endif diff --git a/include/wx/mac/combobox.h b/include/wx/mac/combobox.h index 3da2f84e6a..fcdba4fef3 100644 --- a/include/wx/mac/combobox.h +++ b/include/wx/mac/combobox.h @@ -12,7 +12,7 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index ddad4ae07d..148c8e7297 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -12,7 +12,7 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "control.h" #endif diff --git a/include/wx/mac/cursor.h b/include/wx/mac/cursor.h index 7f1a8ea8b4..c8414a4ee0 100644 --- a/include/wx/mac/cursor.h +++ b/include/wx/mac/cursor.h @@ -12,7 +12,7 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cursor.h" #endif diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index 7141cd93fa..15b58e3a37 100644 --- a/include/wx/mac/dataobj.h +++ b/include/wx/mac/dataobj.h @@ -12,7 +12,7 @@ #ifndef _WX_MAC_DATAOBJ_H_ #define _WX_MAC_DATAOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/mac/dataobj2.h b/include/wx/mac/dataobj2.h index 6f8ae4178e..64b0ac084a 100644 --- a/include/wx/mac/dataobj2.h +++ b/include/wx/mac/dataobj2.h @@ -12,7 +12,7 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index 78b1338950..6411ccaf56 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif diff --git a/include/wx/mac/dcclient.h b/include/wx/mac/dcclient.h index 02407e0602..8e01314084 100644 --- a/include/wx/mac/dcclient.h +++ b/include/wx/mac/dcclient.h @@ -12,7 +12,7 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif diff --git a/include/wx/mac/dcmemory.h b/include/wx/mac/dcmemory.h index 21a5d3ba8c..c8ea44e5ad 100644 --- a/include/wx/mac/dcmemory.h +++ b/include/wx/mac/dcmemory.h @@ -12,7 +12,7 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcmemory.h" #endif diff --git a/include/wx/mac/dcprint.h b/include/wx/mac/dcprint.h index c7eb0a1fed..0e2b5bcf0d 100644 --- a/include/wx/mac/dcprint.h +++ b/include/wx/mac/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif diff --git a/include/wx/mac/dcscreen.h b/include/wx/mac/dcscreen.h index 4da100c327..ab83b37618 100644 --- a/include/wx/mac/dcscreen.h +++ b/include/wx/mac/dcscreen.h @@ -12,7 +12,7 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index 24a6464f5d..4d75cb15ef 100644 --- a/include/wx/mac/dialog.h +++ b/include/wx/mac/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialog.h" #endif diff --git a/include/wx/mac/dirdlg.h b/include/wx/mac/dirdlg.h index ff7d71f942..734292ade3 100644 --- a/include/wx/mac/dirdlg.h +++ b/include/wx/mac/dirdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_DIRDLG_H_ #define _WX_DIRDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dirdlg.h" #endif diff --git a/include/wx/mac/dnd.h b/include/wx/mac/dnd.h index 463cd6d44e..989a977628 100644 --- a/include/wx/mac/dnd.h +++ b/include/wx/mac/dnd.h @@ -10,7 +10,7 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dnd.h" #endif diff --git a/include/wx/mac/filedlg.h b/include/wx/mac/filedlg.h index ae87c1511f..19309ddd96 100644 --- a/include/wx/mac/filedlg.h +++ b/include/wx/mac/filedlg.h @@ -12,7 +12,7 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filedlg.h" #endif diff --git a/include/wx/mac/font.h b/include/wx/mac/font.h index a49236c636..d57d048e9b 100644 --- a/include/wx/mac/font.h +++ b/include/wx/mac/font.h @@ -12,7 +12,7 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "font.h" #endif diff --git a/include/wx/mac/fontdlg.h b/include/wx/mac/fontdlg.h index b5274588a7..3d654b56c8 100644 --- a/include/wx/mac/fontdlg.h +++ b/include/wx/mac/fontdlg.h @@ -13,7 +13,7 @@ #ifndef _WX_FONTDLG_H_ #define _WX_FONTDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlg.h" #endif diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index aa21b150ee..f92f7196fc 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "frame.h" #endif diff --git a/include/wx/mac/gauge.h b/include/wx/mac/gauge.h index 1a72c563bc..4eb5db3a69 100644 --- a/include/wx/mac/gauge.h +++ b/include/wx/mac/gauge.h @@ -12,7 +12,7 @@ #ifndef _WX_GAUGE_H_ #define _WX_GAUGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gauge.h" #endif diff --git a/include/wx/mac/gdiobj.h b/include/wx/mac/gdiobj.h index 4030aa8d41..1ad618bf84 100644 --- a/include/wx/mac/gdiobj.h +++ b/include/wx/mac/gdiobj.h @@ -12,7 +12,7 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/mac/glcanvas.h b/include/wx/mac/glcanvas.h index a94814f6a6..6f044609c3 100644 --- a/include/wx/mac/glcanvas.h +++ b/include/wx/mac/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) # pragma interface "glcanvas.h" #endif diff --git a/include/wx/mac/helpxxxx.h b/include/wx/mac/helpxxxx.h index 9351360ce3..1511557c78 100644 --- a/include/wx/mac/helpxxxx.h +++ b/include/wx/mac/helpxxxx.h @@ -13,7 +13,7 @@ #ifndef _WX_HELPXXXX_H_ #define _WX_HELPXXXX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpxxxx.h" #endif diff --git a/include/wx/mac/icon.h b/include/wx/mac/icon.h index 88b40740cc..bdc0ff755f 100644 --- a/include/wx/mac/icon.h +++ b/include/wx/mac/icon.h @@ -12,7 +12,7 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif diff --git a/include/wx/mac/imaglist.h b/include/wx/mac/imaglist.h index c8fd746177..e8fbf6e713 100644 --- a/include/wx/mac/imaglist.h +++ b/include/wx/mac/imaglist.h @@ -14,7 +14,7 @@ #ifndef _WX_IMAGLIST_H_ #define _WX_IMAGLIST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imaglist.h" #endif diff --git a/include/wx/mac/joystick.h b/include/wx/mac/joystick.h index e1138391be..6db596e3b3 100644 --- a/include/wx/mac/joystick.h +++ b/include/wx/mac/joystick.h @@ -12,7 +12,7 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "joystick.h" #endif diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index 9e0bd5af33..d1ca11ca7a 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -13,7 +13,7 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listbox.h" #endif diff --git a/include/wx/mac/listctrl.h b/include/wx/mac/listctrl.h index ee6f1e3df9..196f97add1 100644 --- a/include/wx/mac/listctrl.h +++ b/include/wx/mac/listctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_LISTCTRL_H_ #define _WX_LISTCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listctrl.h" #endif diff --git a/include/wx/mac/mdi.h b/include/wx/mac/mdi.h index d92254fe4d..1114ee525d 100644 --- a/include/wx/mac/mdi.h +++ b/include/wx/mac/mdi.h @@ -14,7 +14,7 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mdi.h" #endif diff --git a/include/wx/mac/menu.h b/include/wx/mac/menu.h index c401f7f140..40595ae24f 100644 --- a/include/wx/mac/menu.h +++ b/include/wx/mac/menu.h @@ -12,7 +12,7 @@ #ifndef _WX_MENU_H_ #define _WX_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menu.h" #endif diff --git a/include/wx/mac/menuitem.h b/include/wx/mac/menuitem.h index 4c9cd9f5d4..7e78a57f63 100644 --- a/include/wx/mac/menuitem.h +++ b/include/wx/mac/menuitem.h @@ -12,7 +12,7 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menuitem.h" #endif diff --git a/include/wx/mac/mimetype.h b/include/wx/mac/mimetype.h index 4f71b9e045..a65acd964c 100644 --- a/include/wx/mac/mimetype.h +++ b/include/wx/mac/mimetype.h @@ -12,7 +12,7 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mimetype.h" #endif diff --git a/include/wx/mac/minifram.h b/include/wx/mac/minifram.h index 6f606cd82f..7f43f953b3 100644 --- a/include/wx/mac/minifram.h +++ b/include/wx/mac/minifram.h @@ -14,7 +14,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "minifram.h" #endif diff --git a/include/wx/mac/msgdlg.h b/include/wx/mac/msgdlg.h index 63bce5cd2e..1a869f0855 100644 --- a/include/wx/mac/msgdlg.h +++ b/include/wx/mac/msgdlg.h @@ -13,7 +13,7 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlg.h" #endif diff --git a/include/wx/mac/notebook.h b/include/wx/mac/notebook.h index 76f43438eb..6b6108a10a 100644 --- a/include/wx/mac/notebook.h +++ b/include/wx/mac/notebook.h @@ -11,7 +11,7 @@ #ifndef _WX_NOTEBOOK_H_ #define _WX_NOTEBOOK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "notebook.h" #endif diff --git a/include/wx/mac/palette.h b/include/wx/mac/palette.h index 56962e91f3..74f9a4dd30 100644 --- a/include/wx/mac/palette.h +++ b/include/wx/mac/palette.h @@ -12,7 +12,7 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "palette.h" #endif diff --git a/include/wx/mac/pen.h b/include/wx/mac/pen.h index bf10157048..50afa0d9c4 100644 --- a/include/wx/mac/pen.h +++ b/include/wx/mac/pen.h @@ -12,7 +12,7 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif diff --git a/include/wx/mac/pnghand.h b/include/wx/mac/pnghand.h index e75688c75e..19271c4705 100644 --- a/include/wx/mac/pnghand.h +++ b/include/wx/mac/pnghand.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pnghand.h" #endif diff --git a/include/wx/mac/pngread.h b/include/wx/mac/pngread.h index a761a8470e..d1a8b96a5a 100644 --- a/include/wx/mac/pngread.h +++ b/include/wx/mac/pngread.h @@ -11,7 +11,7 @@ #ifndef _WX_PNGREAD__ #define _WX_PNGREAD__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pngread.h" #endif diff --git a/include/wx/mac/printdlg.h b/include/wx/mac/printdlg.h index 28d3581946..6bb45dad2f 100644 --- a/include/wx/mac/printdlg.h +++ b/include/wx/mac/printdlg.h @@ -14,7 +14,7 @@ #ifndef _WX_PRINTDLG_H_ #define _WX_PRINTDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "printdlg.h" #endif diff --git a/include/wx/mac/printmac.h b/include/wx/mac/printmac.h index 388f4dc796..c5eb431026 100644 --- a/include/wx/mac/printmac.h +++ b/include/wx/mac/printmac.h @@ -12,7 +12,7 @@ #ifndef _WX_PRINTWIN_H_ #define _WX_PRINTWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "printwin.h" #endif diff --git a/include/wx/mac/radiobox.h b/include/wx/mac/radiobox.h index f2262eea38..79bd01c0ac 100644 --- a/include/wx/mac/radiobox.h +++ b/include/wx/mac/radiobox.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radiobox.h" #endif diff --git a/include/wx/mac/radiobut.h b/include/wx/mac/radiobut.h index a6999516bb..22fe9c1bda 100644 --- a/include/wx/mac/radiobut.h +++ b/include/wx/mac/radiobut.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radiobut.h" #endif diff --git a/include/wx/mac/region.h b/include/wx/mac/region.h index 008ed6aa28..ab04dd8975 100644 --- a/include/wx/mac/region.h +++ b/include/wx/mac/region.h @@ -12,7 +12,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif diff --git a/include/wx/mac/scrolbar.h b/include/wx/mac/scrolbar.h index bac1fca239..633b615ced 100644 --- a/include/wx/mac/scrolbar.h +++ b/include/wx/mac/scrolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolbar.h" #endif diff --git a/include/wx/mac/slider.h b/include/wx/mac/slider.h index db747cda72..7c49d1ff0c 100644 --- a/include/wx/mac/slider.h +++ b/include/wx/mac/slider.h @@ -12,7 +12,7 @@ #ifndef _WX_SLIDER_H_ #define _WX_SLIDER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "slider.h" #endif diff --git a/include/wx/mac/spinbutt.h b/include/wx/mac/spinbutt.h index c51e358897..3b33a8d5ad 100644 --- a/include/wx/mac/spinbutt.h +++ b/include/wx/mac/spinbutt.h @@ -12,7 +12,7 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinbutt.h" #endif diff --git a/include/wx/mac/spinctrl.h b/include/wx/mac/spinctrl.h index 746dac82c4..9ffd5d1ee2 100755 --- a/include/wx/mac/spinctrl.h +++ b/include/wx/mac/spinctrl.h @@ -22,7 +22,7 @@ #if wxUSE_SPINBTN -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinctlg.h" #endif diff --git a/include/wx/mac/statbmp.h b/include/wx/mac/statbmp.h index 55879e17fb..8a16726c57 100644 --- a/include/wx/mac/statbmp.h +++ b/include/wx/mac/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbmp.h" #endif diff --git a/include/wx/mac/statbox.h b/include/wx/mac/statbox.h index 8f4bb1400a..9f73a539ed 100644 --- a/include/wx/mac/statbox.h +++ b/include/wx/mac/statbox.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbox.h" #endif diff --git a/include/wx/mac/statline.h b/include/wx/mac/statline.h index 4651d04557..911e9f535c 100644 --- a/include/wx/mac/statline.h +++ b/include/wx/mac/statline.h @@ -11,7 +11,7 @@ #ifndef _WX_GENERIC_STATLINE_H_ #define _WX_GENERIC_STATLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statline.h" #endif diff --git a/include/wx/mac/stattext.h b/include/wx/mac/stattext.h index 2105314cb8..17ecf98ad0 100644 --- a/include/wx/mac/stattext.h +++ b/include/wx/mac/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "stattext.h" #endif diff --git a/include/wx/mac/statusbr.h b/include/wx/mac/statusbr.h index 011cd8e2c6..959c4e618d 100644 --- a/include/wx/mac/statusbr.h +++ b/include/wx/mac/statusbr.h @@ -13,7 +13,7 @@ #ifndef _WX_STATBAR_H_ #define _WX_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbrma.h" #endif diff --git a/include/wx/mac/tabctrl.h b/include/wx/mac/tabctrl.h index a05d73e83f..7a6e14300a 100644 --- a/include/wx/mac/tabctrl.h +++ b/include/wx/mac/tabctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TABCTRL_H_ #define _WX_TABCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tabctrl.h" #endif diff --git a/include/wx/mac/textctrl.h b/include/wx/mac/textctrl.h index baa7ab853d..6801d6d0b9 100644 --- a/include/wx/mac/textctrl.h +++ b/include/wx/mac/textctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif diff --git a/include/wx/mac/timer.h b/include/wx/mac/timer.h index 3cc7bcd76d..1d01ea91a4 100644 --- a/include/wx/mac/timer.h +++ b/include/wx/mac/timer.h @@ -12,7 +12,7 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif diff --git a/include/wx/mac/toolbar.h b/include/wx/mac/toolbar.h index c6c02dfed0..1849125750 100644 --- a/include/wx/mac/toolbar.h +++ b/include/wx/mac/toolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toolbar.h" #endif diff --git a/include/wx/mac/toplevel.h b/include/wx/mac/toplevel.h index c0705c0cd6..8efec137fb 100644 --- a/include/wx/mac/toplevel.h +++ b/include/wx/mac/toplevel.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/mac/treectrl.h b/include/wx/mac/treectrl.h index 058b5653e5..306a0105a5 100644 --- a/include/wx/mac/treectrl.h +++ b/include/wx/mac/treectrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TREECTRL_H_ #define _WX_TREECTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treectrl.h" #endif diff --git a/include/wx/mac/wave.h b/include/wx/mac/wave.h index 9a9c17ca5f..dcd8095e72 100644 --- a/include/wx/mac/wave.h +++ b/include/wx/mac/wave.h @@ -13,7 +13,7 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wave.h" #endif diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index c9dcce20c7..92f5bbb7b1 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -12,7 +12,7 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "window.h" #endif diff --git a/include/wx/math.h b/include/wx/math.h index c83b67642a..15a1021b1a 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -12,7 +12,7 @@ #ifndef _WX_MATH_H_ #define _WX_MATH_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "math.h" #endif diff --git a/include/wx/matrix.h b/include/wx/matrix.h index 786815b158..c2698b3058 100644 --- a/include/wx/matrix.h +++ b/include/wx/matrix.h @@ -12,7 +12,7 @@ #ifndef _WX_MATRIXH__ #define _WX_MATRIXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "matrix.h" #endif diff --git a/include/wx/memory.h b/include/wx/memory.h index ab82ae3acd..6b1bed37cd 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -12,7 +12,7 @@ #ifndef _WX_MEMORYH__ #define _WX_MEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "memory.h" #endif diff --git a/include/wx/menu.h b/include/wx/menu.h index 5fe2232e8f..ba839faa69 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -12,7 +12,7 @@ #ifndef _WX_MENU_H_BASE_ #define _WX_MENU_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menubase.h" #endif diff --git a/include/wx/mgl/app.h b/include/wx/mgl/app.h index e3bb8a3b38..c400519cfb 100644 --- a/include/wx/mgl/app.h +++ b/include/wx/mgl/app.h @@ -10,7 +10,7 @@ #ifndef __WX_APP_H__ #define __WX_APP_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "app.h" #endif diff --git a/include/wx/mgl/bitmap.h b/include/wx/mgl/bitmap.h index 51400743f6..35cebd4e22 100644 --- a/include/wx/mgl/bitmap.h +++ b/include/wx/mgl/bitmap.h @@ -10,7 +10,7 @@ #ifndef __WX_BITMAP_H__ #define __WX_BITMAP_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bitmap.h" #endif diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index f1c3b76eff..7787c2c407 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -11,7 +11,7 @@ #ifndef __WX_BRUSH_H__ #define __WX_BRUSH_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "brush.h" #endif diff --git a/include/wx/mgl/clipbrd.h b/include/wx/mgl/clipbrd.h index 595f5f43e0..7e1ee2ddfa 100644 --- a/include/wx/mgl/clipbrd.h +++ b/include/wx/mgl/clipbrd.h @@ -11,7 +11,7 @@ #ifndef __WX_CLIPBOARD_H__ #define __WX_CLIPBOARD_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clipbrd.h" #endif diff --git a/include/wx/mgl/colour.h b/include/wx/mgl/colour.h index 74810827b9..4050f37c2a 100644 --- a/include/wx/mgl/colour.h +++ b/include/wx/mgl/colour.h @@ -12,7 +12,7 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colour.h" #endif #include "wx/object.h" diff --git a/include/wx/mgl/cursor.h b/include/wx/mgl/cursor.h index 026f5ead50..d7ec246c75 100644 --- a/include/wx/mgl/cursor.h +++ b/include/wx/mgl/cursor.h @@ -11,7 +11,7 @@ #ifndef __WX_CURSOR_H__ #define __WX_CURSOR_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cursor.h" #endif diff --git a/include/wx/mgl/dc.h b/include/wx/mgl/dc.h index 9e0cccd454..aa9d55875f 100644 --- a/include/wx/mgl/dc.h +++ b/include/wx/mgl/dc.h @@ -11,7 +11,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif diff --git a/include/wx/mgl/dcclient.h b/include/wx/mgl/dcclient.h index c66fce5141..deb5905bd5 100644 --- a/include/wx/mgl/dcclient.h +++ b/include/wx/mgl/dcclient.h @@ -10,7 +10,7 @@ #ifndef __WX_DCCLIENT_H__ #define __WX_DCCLIENT_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif diff --git a/include/wx/mgl/dcmemory.h b/include/wx/mgl/dcmemory.h index 8e85ffe722..96ad1a3c1c 100644 --- a/include/wx/mgl/dcmemory.h +++ b/include/wx/mgl/dcmemory.h @@ -11,7 +11,7 @@ #ifndef __WX_DCMEMORY_H__ #define __WX_DCMEMORY_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcmemory.h" #endif diff --git a/include/wx/mgl/dcscreen.h b/include/wx/mgl/dcscreen.h index 08c5e7bbca..1bc300e86e 100644 --- a/include/wx/mgl/dcscreen.h +++ b/include/wx/mgl/dcscreen.h @@ -10,7 +10,7 @@ #ifndef __WX_DCSCREEN_H__ #define __WX_DCSCREEN_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif diff --git a/include/wx/mgl/font.h b/include/wx/mgl/font.h index e4a56a874b..5381f3184d 100644 --- a/include/wx/mgl/font.h +++ b/include/wx/mgl/font.h @@ -9,7 +9,7 @@ #ifndef __WX_FONT_H__ #define __WX_FONT_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "font.h" #endif diff --git a/include/wx/mgl/gdiobj.h b/include/wx/mgl/gdiobj.h index 228f5508b7..d148b14306 100644 --- a/include/wx/mgl/gdiobj.h +++ b/include/wx/mgl/gdiobj.h @@ -12,7 +12,7 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/mgl/icon.h b/include/wx/mgl/icon.h index e79f001ae2..40ed949c92 100644 --- a/include/wx/mgl/icon.h +++ b/include/wx/mgl/icon.h @@ -11,7 +11,7 @@ #ifndef __WX_ICON_H__ #define __WX_ICON_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h index 1851dec883..a11f8bf9a5 100644 --- a/include/wx/mgl/palette.h +++ b/include/wx/mgl/palette.h @@ -12,7 +12,7 @@ #ifndef __WX_PALETTE_H__ #define __WX_PALETTE_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "palette.h" #endif diff --git a/include/wx/mgl/pen.h b/include/wx/mgl/pen.h index 974edb4872..3b69b3d054 100644 --- a/include/wx/mgl/pen.h +++ b/include/wx/mgl/pen.h @@ -11,7 +11,7 @@ #ifndef __WX_PEN_H__ #define __WX_PEN_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif diff --git a/include/wx/mgl/region.h b/include/wx/mgl/region.h index 440d26c7f5..ec8f4474a2 100644 --- a/include/wx/mgl/region.h +++ b/include/wx/mgl/region.h @@ -11,7 +11,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif diff --git a/include/wx/mgl/toplevel.h b/include/wx/mgl/toplevel.h index a3c2b60024..f7c47f5c6b 100644 --- a/include/wx/mgl/toplevel.h +++ b/include/wx/mgl/toplevel.h @@ -11,7 +11,7 @@ #ifndef __WX_TOPLEVEL_H__ #define __WX_TOPLEVEL_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/mgl/window.h b/include/wx/mgl/window.h index 80a2853909..b5231f1644 100644 --- a/include/wx/mgl/window.h +++ b/include/wx/mgl/window.h @@ -14,7 +14,7 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "window.h" #endif diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index e2eec1777e..5aa2438f8c 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -13,7 +13,7 @@ #ifndef _WX_MIMETYPE_H_ #define _WX_MIMETYPE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mimetypebase.h" #endif // __GNUG__ diff --git a/include/wx/module.h b/include/wx/module.h index bbdfd7a428..852b341db4 100644 --- a/include/wx/module.h +++ b/include/wx/module.h @@ -12,7 +12,7 @@ #ifndef _WX_MODULEH__ #define _WX_MODULEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "module.h" #endif diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index 8bb9608a63..41dea67575 100644 --- a/include/wx/motif/accel.h +++ b/include/wx/motif/accel.h @@ -12,7 +12,7 @@ #ifndef _WX_ACCEL_H_ #define _WX_ACCEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "accel.h" #endif diff --git a/include/wx/motif/bmpbuttn.h b/include/wx/motif/bmpbuttn.h index b70b1bf6dd..af3237a0df 100644 --- a/include/wx/motif/bmpbuttn.h +++ b/include/wx/motif/bmpbuttn.h @@ -12,7 +12,7 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bmpbuttn.h" #endif diff --git a/include/wx/motif/bmpmotif.h b/include/wx/motif/bmpmotif.h index 99e570c26d..1e88d23c75 100644 --- a/include/wx/motif/bmpmotif.h +++ b/include/wx/motif/bmpmotif.h @@ -12,7 +12,7 @@ #ifndef _WX_BMPMOTIF_H_ #define _WX_BMPMOTIF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bmpmotif.h" #endif diff --git a/include/wx/motif/button.h b/include/wx/motif/button.h index d9bb8faedc..8a5044d68b 100644 --- a/include/wx/motif/button.h +++ b/include/wx/motif/button.h @@ -12,7 +12,7 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "button.h" #endif diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index 397fff2e11..cbb6fd7d37 100644 --- a/include/wx/motif/checkbox.h +++ b/include/wx/motif/checkbox.h @@ -12,7 +12,7 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif diff --git a/include/wx/motif/checklst.h b/include/wx/motif/checklst.h index 6e77410f18..32370ab30c 100644 --- a/include/wx/motif/checklst.h +++ b/include/wx/motif/checklst.h @@ -13,7 +13,7 @@ #ifndef _WX_CHECKLST_H_ #define _WX_CHECKLST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checklst.h" #endif diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index e2ce50b03c..b5a2f3c1a0 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -12,7 +12,7 @@ #ifndef _WX_CHOICE_H_ #define _WX_CHOICE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choice.h" #endif diff --git a/include/wx/motif/clipbrd.h b/include/wx/motif/clipbrd.h index 1e16040456..f4e98c9899 100644 --- a/include/wx/motif/clipbrd.h +++ b/include/wx/motif/clipbrd.h @@ -12,7 +12,7 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clipbrd.h" #endif diff --git a/include/wx/motif/colour.h b/include/wx/motif/colour.h index 2d0ab28c15..bc53874835 100644 --- a/include/wx/motif/colour.h +++ b/include/wx/motif/colour.h @@ -12,7 +12,7 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colour.h" #endif diff --git a/include/wx/motif/combobox.h b/include/wx/motif/combobox.h index cbe6c90819..c3f748e0fe 100644 --- a/include/wx/motif/combobox.h +++ b/include/wx/motif/combobox.h @@ -12,7 +12,7 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif diff --git a/include/wx/motif/control.h b/include/wx/motif/control.h index 84afdf5eae..4aae5b7a96 100644 --- a/include/wx/motif/control.h +++ b/include/wx/motif/control.h @@ -12,7 +12,7 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "control.h" #endif diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index d5ccf28f7a..2cfc1ff3d1 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -12,7 +12,7 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cursor.h" #endif diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 3b330787ca..6a59078483 100644 --- a/include/wx/motif/dataobj.h +++ b/include/wx/motif/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_MOTIF_DATAOBJ_H_ #define _WX_MOTIF_DATAOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/motif/dataobj2.h b/include/wx/motif/dataobj2.h index 3bd2a50a3f..840586a1e5 100644 --- a/include/wx/motif/dataobj2.h +++ b/include/wx/motif/dataobj2.h @@ -11,7 +11,7 @@ #ifndef _WX_MOTIF_DATAOBJ2_H_ #define _WX_MOTIF_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/motif/dc.h b/include/wx/motif/dc.h index ae62ca7ab8..d6252f6492 100644 --- a/include/wx/motif/dc.h +++ b/include/wx/motif/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index ef1fabd10b..ed8539615b 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -12,7 +12,7 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif diff --git a/include/wx/motif/dcmemory.h b/include/wx/motif/dcmemory.h index 9410bd9b5a..c6fa2faf9d 100644 --- a/include/wx/motif/dcmemory.h +++ b/include/wx/motif/dcmemory.h @@ -12,7 +12,7 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcmemory.h" #endif diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 466a0f8d95..91812557e6 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif diff --git a/include/wx/motif/dcscreen.h b/include/wx/motif/dcscreen.h index d66674a33e..16b498aa71 100644 --- a/include/wx/motif/dcscreen.h +++ b/include/wx/motif/dcscreen.h @@ -12,7 +12,7 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif diff --git a/include/wx/motif/dialog.h b/include/wx/motif/dialog.h index 65f3ed28f4..c9611bc084 100644 --- a/include/wx/motif/dialog.h +++ b/include/wx/motif/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialog.h" #endif diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index 86701b9f7b..1af3bacce2 100644 --- a/include/wx/motif/dnd.h +++ b/include/wx/motif/dnd.h @@ -11,7 +11,7 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/motif/filedlg.h b/include/wx/motif/filedlg.h index d799a4c85b..df9bc061f0 100644 --- a/include/wx/motif/filedlg.h +++ b/include/wx/motif/filedlg.h @@ -12,7 +12,7 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filedlg.h" #endif diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index ebb88d97b4..62be50f08e 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -12,7 +12,7 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "font.h" #endif diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index abafe0237b..7f555c1f65 100644 --- a/include/wx/motif/frame.h +++ b/include/wx/motif/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_MOTIF_FRAME_H_ #define _WX_MOTIF_FRAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "frame.h" #endif diff --git a/include/wx/motif/gauge.h b/include/wx/motif/gauge.h index be736436b9..b5f5dd4cd3 100644 --- a/include/wx/motif/gauge.h +++ b/include/wx/motif/gauge.h @@ -12,7 +12,7 @@ #ifndef _WX_GAUGE_H_ #define _WX_GAUGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gauge.h" #endif diff --git a/include/wx/motif/gdiobj.h b/include/wx/motif/gdiobj.h index b532e20fd0..14293b5841 100644 --- a/include/wx/motif/gdiobj.h +++ b/include/wx/motif/gdiobj.h @@ -14,7 +14,7 @@ #include "wx/object.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/motif/glcanvas.h b/include/wx/motif/glcanvas.h index a99d009046..1e5d5fe1de 100644 --- a/include/wx/motif/glcanvas.h +++ b/include/wx/motif/glcanvas.h @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/motif/icon.h b/include/wx/motif/icon.h index eea99e4055..eba9735f4d 100644 --- a/include/wx/motif/icon.h +++ b/include/wx/motif/icon.h @@ -12,7 +12,7 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif diff --git a/include/wx/motif/listbox.h b/include/wx/motif/listbox.h index ae350046c3..93a3fac24c 100644 --- a/include/wx/motif/listbox.h +++ b/include/wx/motif/listbox.h @@ -12,7 +12,7 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listbox.h" #endif diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index 8130198732..91106240ee 100644 --- a/include/wx/motif/mdi.h +++ b/include/wx/motif/mdi.h @@ -12,7 +12,7 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mdi.h" #endif diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index e130a1257b..5bc831d69f 100644 --- a/include/wx/motif/menu.h +++ b/include/wx/motif/menu.h @@ -12,7 +12,7 @@ #ifndef _WX_MOTIF_MENU_H_ #define _WX_MOTIF_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menu.h" #endif diff --git a/include/wx/motif/menuitem.h b/include/wx/motif/menuitem.h index 762ccdd7ce..9ef377a38c 100644 --- a/include/wx/motif/menuitem.h +++ b/include/wx/motif/menuitem.h @@ -12,7 +12,7 @@ #ifndef _WX_MOTIF_MENUITEM_H #define _WX_MOTIF_MENUITEM_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menuitem.h" #endif diff --git a/include/wx/motif/minifram.h b/include/wx/motif/minifram.h index b7d4f89fa6..dcfb2d3173 100644 --- a/include/wx/motif/minifram.h +++ b/include/wx/motif/minifram.h @@ -14,7 +14,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "minifram.h" #endif diff --git a/include/wx/motif/msgdlg.h b/include/wx/motif/msgdlg.h index dca5d61fee..b8724d271f 100644 --- a/include/wx/motif/msgdlg.h +++ b/include/wx/motif/msgdlg.h @@ -13,7 +13,7 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlg.h" #endif diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index 1294689992..bff484a85e 100644 --- a/include/wx/motif/palette.h +++ b/include/wx/motif/palette.h @@ -12,7 +12,7 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "palette.h" #endif diff --git a/include/wx/motif/print.h b/include/wx/motif/print.h index 17417a4092..64b50ef0a6 100644 --- a/include/wx/motif/print.h +++ b/include/wx/motif/print.h @@ -12,7 +12,7 @@ #ifndef _WX_PRINT_H_ #define _WX_PRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "print.h" #endif diff --git a/include/wx/motif/radiobox.h b/include/wx/motif/radiobox.h index 56705a5780..0cce3f51c1 100644 --- a/include/wx/motif/radiobox.h +++ b/include/wx/motif/radiobox.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radiobox.h" #endif diff --git a/include/wx/motif/radiobut.h b/include/wx/motif/radiobut.h index 574aab83d1..e15aaa6eed 100644 --- a/include/wx/motif/radiobut.h +++ b/include/wx/motif/radiobut.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radiobut.h" #endif diff --git a/include/wx/motif/region.h b/include/wx/motif/region.h index e71632d1af..dff5fb83f3 100644 --- a/include/wx/motif/region.h +++ b/include/wx/motif/region.h @@ -12,7 +12,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif diff --git a/include/wx/motif/scrolbar.h b/include/wx/motif/scrolbar.h index bb1099e0f6..3ab5970f78 100644 --- a/include/wx/motif/scrolbar.h +++ b/include/wx/motif/scrolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolbar.h" #endif diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h index 7da780dec0..f46acf7dba 100644 --- a/include/wx/motif/slider.h +++ b/include/wx/motif/slider.h @@ -12,7 +12,7 @@ #ifndef _WX_SLIDER_H_ #define _WX_SLIDER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "slider.h" #endif diff --git a/include/wx/motif/spinbutt.h b/include/wx/motif/spinbutt.h index f5149b3cb5..b2bef6bb0c 100644 --- a/include/wx/motif/spinbutt.h +++ b/include/wx/motif/spinbutt.h @@ -12,7 +12,7 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinbutt.h" #endif diff --git a/include/wx/motif/statbmp.h b/include/wx/motif/statbmp.h index cc13cfa02b..fc2a64a478 100644 --- a/include/wx/motif/statbmp.h +++ b/include/wx/motif/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbmp.h" #endif diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index eca2ce40f8..59549a5327 100644 --- a/include/wx/motif/statbox.h +++ b/include/wx/motif/statbox.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbox.h" #endif diff --git a/include/wx/motif/stattext.h b/include/wx/motif/stattext.h index 4857cc4473..1bff85cc95 100644 --- a/include/wx/motif/stattext.h +++ b/include/wx/motif/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "stattext.h" #endif diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 7e6a733fa3..201d5e7e26 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif diff --git a/include/wx/motif/timer.h b/include/wx/motif/timer.h index 3262a3d5f3..184d6a3e3d 100644 --- a/include/wx/motif/timer.h +++ b/include/wx/motif/timer.h @@ -12,7 +12,7 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index 14cd50c0ee..6bb1e36d64 100644 --- a/include/wx/motif/toolbar.h +++ b/include/wx/motif/toolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toolbar.h" #endif diff --git a/include/wx/motif/toplevel.h b/include/wx/motif/toplevel.h index d5145cd330..827b853690 100644 --- a/include/wx/motif/toplevel.h +++ b/include/wx/motif/toplevel.h @@ -12,7 +12,7 @@ #ifndef __MOTIFTOPLEVELH__ #define __MOTIFTOPLEVELH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index 51b393236d..500cbfe9d4 100644 --- a/include/wx/motif/window.h +++ b/include/wx/motif/window.h @@ -12,7 +12,7 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "window.h" #endif diff --git a/include/wx/msgout.h b/include/wx/msgout.h index b82c3b72a8..f5bee59ac8 100755 --- a/include/wx/msgout.h +++ b/include/wx/msgout.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgout.h" #endif diff --git a/include/wx/msw/accel.h b/include/wx/msw/accel.h index 7d07af2c57..b3fa62a00a 100644 --- a/include/wx/msw/accel.h +++ b/include/wx/msw/accel.h @@ -12,7 +12,7 @@ #ifndef _WX_ACCEL_H_ #define _WX_ACCEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "accel.h" #endif diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index a66a531090..e73040eded 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -12,7 +12,7 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "app.h" #endif diff --git a/include/wx/msw/bitmap.h b/include/wx/msw/bitmap.h index 0daef6ee89..017578e016 100644 --- a/include/wx/msw/bitmap.h +++ b/include/wx/msw/bitmap.h @@ -12,7 +12,7 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bitmap.h" #endif diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index c2ebd22f76..b879552788 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -12,7 +12,7 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bmpbuttn.h" #endif diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index c51b948fed..4b0b124af4 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -12,7 +12,7 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "brush.h" #endif diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 15bdaf3482..77df19e446 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -12,7 +12,7 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "button.h" #endif diff --git a/include/wx/msw/caret.h b/include/wx/msw/caret.h index 19d91f4bcf..f1075aa471 100644 --- a/include/wx/msw/caret.h +++ b/include/wx/msw/caret.h @@ -12,7 +12,7 @@ #ifndef _WX_CARET_H_ #define _WX_CARET_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "caret.h" #endif diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 803084bdcf..f3504693bc 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -12,7 +12,7 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif diff --git a/include/wx/msw/checklst.h b/include/wx/msw/checklst.h index 7bb7852532..96df78ad12 100644 --- a/include/wx/msw/checklst.h +++ b/include/wx/msw/checklst.h @@ -12,7 +12,7 @@ #ifndef __CHECKLST__H_ #define __CHECKLST__H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checklst.h" #endif diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index f637232317..c2b47f69c5 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -12,7 +12,7 @@ #ifndef _WX_CHOICE_H_ #define _WX_CHOICE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choice.h" #endif diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index c4a2594970..7d8b873c11 100644 --- a/include/wx/msw/clipbrd.h +++ b/include/wx/msw/clipbrd.h @@ -12,7 +12,7 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clipbrd.h" #endif diff --git a/include/wx/msw/colordlg.h b/include/wx/msw/colordlg.h index 86d4b3b983..1f6679b8b9 100644 --- a/include/wx/msw/colordlg.h +++ b/include/wx/msw/colordlg.h @@ -12,7 +12,7 @@ #ifndef _WX_COLORDLG_H_ #define _WX_COLORDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colordlg.h" #endif diff --git a/include/wx/msw/colour.h b/include/wx/msw/colour.h index ffa90e8ea4..3b5ae1eef2 100644 --- a/include/wx/msw/colour.h +++ b/include/wx/msw/colour.h @@ -12,7 +12,7 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colour.h" #endif #include "wx/object.h" diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index 7a36ba1db0..a369165d75 100644 --- a/include/wx/msw/combobox.h +++ b/include/wx/msw/combobox.h @@ -12,7 +12,7 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index 9ba8a0c3a7..515193a109 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -12,7 +12,7 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "control.h" #endif diff --git a/include/wx/msw/cursor.h b/include/wx/msw/cursor.h index 46b39045ca..66f082b141 100644 --- a/include/wx/msw/cursor.h +++ b/include/wx/msw/cursor.h @@ -12,7 +12,7 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cursor.h" #endif diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index 51c3bfdf94..1271d458c3 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif diff --git a/include/wx/msw/dcclient.h b/include/wx/msw/dcclient.h index bad4cf72f2..1b021ba8e9 100644 --- a/include/wx/msw/dcclient.h +++ b/include/wx/msw/dcclient.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index ce32f1f5da..19ad43e384 100644 --- a/include/wx/msw/dcmemory.h +++ b/include/wx/msw/dcmemory.h @@ -12,7 +12,7 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcmemory.h" #endif diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 08601a2dbf..68e1e2d10c 100644 --- a/include/wx/msw/dcprint.h +++ b/include/wx/msw/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif diff --git a/include/wx/msw/dcscreen.h b/include/wx/msw/dcscreen.h index d17960062b..f45f903d06 100644 --- a/include/wx/msw/dcscreen.h +++ b/include/wx/msw/dcscreen.h @@ -12,7 +12,7 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif diff --git a/include/wx/msw/dde.h b/include/wx/msw/dde.h index 75f75ca524..d2d9bea68c 100644 --- a/include/wx/msw/dde.h +++ b/include/wx/msw/dde.h @@ -12,7 +12,7 @@ #ifndef _WX_DDE_H_ #define _WX_DDE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dde.h" #endif diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index c14daec8d2..559d1708ee 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialog.h" #endif diff --git a/include/wx/msw/dirdlg.h b/include/wx/msw/dirdlg.h index ad213bdacd..bf31a0063a 100644 --- a/include/wx/msw/dirdlg.h +++ b/include/wx/msw/dirdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_DIRDLG_H_ #define _WX_DIRDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dirdlg.h" #endif diff --git a/include/wx/msw/display.h b/include/wx/msw/display.h index 4f4c72e306..a49805f463 100644 --- a/include/wx/msw/display.h +++ b/include/wx/msw/display.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "display.h" #endif diff --git a/include/wx/msw/dragimag.h b/include/wx/msw/dragimag.h index 90477b6ab4..88192d97f2 100644 --- a/include/wx/msw/dragimag.h +++ b/include/wx/msw/dragimag.h @@ -13,7 +13,7 @@ #ifndef _WX_DRAGIMAG_H_ #define _WX_DRAGIMAG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dragimag.h" #endif diff --git a/include/wx/msw/enhmeta.h b/include/wx/msw/enhmeta.h index efbaafd617..0d4689648c 100644 --- a/include/wx/msw/enhmeta.h +++ b/include/wx/msw/enhmeta.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_ENHMETA_H_ #define _WX_MSW_ENHMETA_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "enhmeta.h" #endif diff --git a/include/wx/msw/fdrepdlg.h b/include/wx/msw/fdrepdlg.h index 2e84c9567b..903404224c 100644 --- a/include/wx/msw/fdrepdlg.h +++ b/include/wx/msw/fdrepdlg.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mswfdrepdlg.h" #endif diff --git a/include/wx/msw/filedlg.h b/include/wx/msw/filedlg.h index 3013be4204..1ba36bce96 100644 --- a/include/wx/msw/filedlg.h +++ b/include/wx/msw/filedlg.h @@ -12,7 +12,7 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "filedlg.h" #endif diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index b1d31e2fb1..69acbfcc63 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -12,7 +12,7 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "font.h" #endif diff --git a/include/wx/msw/fontdlg.h b/include/wx/msw/fontdlg.h index 0d0d5b6873..b68bb6ccf2 100644 --- a/include/wx/msw/fontdlg.h +++ b/include/wx/msw/fontdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_FONTDLG_H_ #define _WX_MSW_FONTDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontdlg.h" #endif diff --git a/include/wx/msw/fontenum.h b/include/wx/msw/fontenum.h index c5cc84c9ba..38b7e08eca 100644 --- a/include/wx/msw/fontenum.h +++ b/include/wx/msw/fontenum.h @@ -12,7 +12,7 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fontenum.h" #endif diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 7222108b45..21b6badf86 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "frame.h" #endif diff --git a/include/wx/msw/gauge95.h b/include/wx/msw/gauge95.h index 2681094ee9..13abb8a915 100644 --- a/include/wx/msw/gauge95.h +++ b/include/wx/msw/gauge95.h @@ -12,7 +12,7 @@ #ifndef _GAUGE95_H_ #define _GAUGE95_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gauge95.h" #endif diff --git a/include/wx/msw/gdiimage.h b/include/wx/msw/gdiimage.h index 895212538e..d950f81b0b 100644 --- a/include/wx/msw/gdiimage.h +++ b/include/wx/msw/gdiimage.h @@ -16,7 +16,7 @@ #ifndef _WX_MSW_GDIIMAGE_H_ #define _WX_MSW_GDIIMAGE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiimage.h" #endif diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index 7ea71fbec2..4b085fce52 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -12,7 +12,7 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index a12a47b6c1..f709f3ef3c 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/msw/helpbest.h b/include/wx/msw/helpbest.h index 0169e06262..c5a6d72f7e 100644 --- a/include/wx/msw/helpbest.h +++ b/include/wx/msw/helpbest.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPBEST_H_ #define _WX_HELPBEST_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpbest.h" #endif diff --git a/include/wx/msw/helpchm.h b/include/wx/msw/helpchm.h index 776902520c..6c3cb03747 100644 --- a/include/wx/msw/helpchm.h +++ b/include/wx/msw/helpchm.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPCHM_H_ #define _WX_HELPCHM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpchm.h" #endif diff --git a/include/wx/msw/helpwin.h b/include/wx/msw/helpwin.h index 3de4b65a73..d0203d57e6 100644 --- a/include/wx/msw/helpwin.h +++ b/include/wx/msw/helpwin.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPWIN_H_ #define _WX_HELPWIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpwin.h" #endif diff --git a/include/wx/msw/icon.h b/include/wx/msw/icon.h index f9a08a3c91..ac8695bdb7 100644 --- a/include/wx/msw/icon.h +++ b/include/wx/msw/icon.h @@ -12,7 +12,7 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif diff --git a/include/wx/msw/imaglist.h b/include/wx/msw/imaglist.h index bef31bd242..075127ae19 100644 --- a/include/wx/msw/imaglist.h +++ b/include/wx/msw/imaglist.h @@ -12,7 +12,7 @@ #ifndef _WX_IMAGLIST_H_ #define _WX_IMAGLIST_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imaglist.h" #endif diff --git a/include/wx/msw/joystick.h b/include/wx/msw/joystick.h index 1f3bd5cb1f..f158816b3f 100644 --- a/include/wx/msw/joystick.h +++ b/include/wx/msw/joystick.h @@ -12,7 +12,7 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "joystick.h" #endif diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 3a187be870..ad18e8530e 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -12,7 +12,7 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listbox.h" #endif diff --git a/include/wx/msw/listctrl.h b/include/wx/msw/listctrl.h index eaf82c0cd6..7131dcc647 100644 --- a/include/wx/msw/listctrl.h +++ b/include/wx/msw/listctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_LISTCTRL_H_ #define _WX_LISTCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "listctrl.h" #endif diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index 031c8fd743..7e2297986f 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -12,7 +12,7 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mdi.h" #endif diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 8ef7acf09a..424d98971d 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -12,7 +12,7 @@ #ifndef _WX_MENU_H_ #define _WX_MENU_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menu.h" #endif diff --git a/include/wx/msw/menuitem.h b/include/wx/msw/menuitem.h index d89e821603..6cd72cb989 100644 --- a/include/wx/msw/menuitem.h +++ b/include/wx/msw/menuitem.h @@ -12,7 +12,7 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "menuitem.h" #endif diff --git a/include/wx/msw/metafile.h b/include/wx/msw/metafile.h index c1a648fd24..8b8afe2bd3 100644 --- a/include/wx/msw/metafile.h +++ b/include/wx/msw/metafile.h @@ -12,7 +12,7 @@ #ifndef _WX_METAFIILE_H_ #define _WX_METAFIILE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "metafile.h" #endif diff --git a/include/wx/msw/microwin.h b/include/wx/msw/microwin.h index 6f9098c434..69bb4e1385 100644 --- a/include/wx/msw/microwin.h +++ b/include/wx/msw/microwin.h @@ -13,7 +13,7 @@ #ifndef _WX_MICROWIN_H_ #define _WX_MICROWIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "microwin.h" #endif diff --git a/include/wx/msw/minifram.h b/include/wx/msw/minifram.h index be1154d9e2..ac32099044 100644 --- a/include/wx/msw/minifram.h +++ b/include/wx/msw/minifram.h @@ -12,7 +12,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "minifram.h" #endif diff --git a/include/wx/msw/msgdlg.h b/include/wx/msw/msgdlg.h index 52720f1296..a82784cff6 100644 --- a/include/wx/msw/msgdlg.h +++ b/include/wx/msw/msgdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "msgdlg.h" #endif diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index ca756a6477..ea1d1c1243 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -11,7 +11,7 @@ #ifndef _NOTEBOOK_H #define _NOTEBOOK_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "notebook.h" #endif diff --git a/include/wx/msw/ole/access.h b/include/wx/msw/ole/access.h index 03ee91a3c6..42eba96b7a 100644 --- a/include/wx/msw/ole/access.h +++ b/include/wx/msw/ole/access.h @@ -12,7 +12,7 @@ #ifndef _WX_ACCESS_H_ #define _WX_ACCESS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/msw/ole/automtn.h b/include/wx/msw/ole/automtn.h index 083cbef370..81ef363be2 100644 --- a/include/wx/msw/ole/automtn.h +++ b/include/wx/msw/ole/automtn.h @@ -9,7 +9,7 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "automtn.h" #endif diff --git a/include/wx/msw/ole/dropsrc.h b/include/wx/msw/ole/dropsrc.h index 7090d31b1c..bdc972b732 100644 --- a/include/wx/msw/ole/dropsrc.h +++ b/include/wx/msw/ole/dropsrc.h @@ -12,7 +12,7 @@ #ifndef _WX_OLEDROPSRC_H #define _WX_OLEDROPSRC_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/msw/ole/droptgt.h b/include/wx/msw/ole/droptgt.h index 2d3c84c5bd..55e0040d73 100644 --- a/include/wx/msw/ole/droptgt.h +++ b/include/wx/msw/ole/droptgt.h @@ -12,7 +12,7 @@ #ifndef _WX_OLEDROPTGT_H #define _WX_OLEDROPTGT_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "droptgt.h" #endif diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index 157ec93a44..f8ac24f78e 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -12,7 +12,7 @@ #ifndef _WX_OLEUTILS_H #define _WX_OLEUTILS_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "oleutils.h" #endif diff --git a/include/wx/msw/ole/uuid.h b/include/wx/msw/ole/uuid.h index b70672d3e3..5b0875fe32 100644 --- a/include/wx/msw/ole/uuid.h +++ b/include/wx/msw/ole/uuid.h @@ -14,7 +14,7 @@ #ifndef _WX_OLEUUID_H #define _WX_OLEUUID_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "uuid.h" #endif #include "wx/wxchar.h" diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index 3eaa3ac4ef..7a0270a6aa 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -12,7 +12,7 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "palette.h" #endif diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index 41d7ae761c..0e4be5f858 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -12,7 +12,7 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif diff --git a/include/wx/msw/popupwin.h b/include/wx/msw/popupwin.h index 6175150627..3a1f9f1732 100644 --- a/include/wx/msw/popupwin.h +++ b/include/wx/msw/popupwin.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_POPUPWIN_H_ #define _WX_MSW_POPUPWIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "popup.h" #endif diff --git a/include/wx/msw/printdlg.h b/include/wx/msw/printdlg.h index eea912b333..041b389a8e 100644 --- a/include/wx/msw/printdlg.h +++ b/include/wx/msw/printdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_PRINTDLG_H_ #define _WX_PRINTDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "printdlg.h" #endif diff --git a/include/wx/msw/printwin.h b/include/wx/msw/printwin.h index b3cd849f03..f14cb044a4 100644 --- a/include/wx/msw/printwin.h +++ b/include/wx/msw/printwin.h @@ -12,7 +12,7 @@ #ifndef _WX_PRINTWIN_H_ #define _WX_PRINTWIN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "printwin.h" #endif diff --git a/include/wx/msw/radiobox.h b/include/wx/msw/radiobox.h index 34a460902f..0cab158a27 100644 --- a/include/wx/msw/radiobox.h +++ b/include/wx/msw/radiobox.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radiobox.h" #endif diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index 723a99ba72..4294d847c2 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radiobut.h" #endif diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index f34b265170..666547a35d 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -12,7 +12,7 @@ #ifndef _REGCONF_H #define _REGCONF_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "regconf.h" #endif diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index b07561340d..df0762fee5 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -12,7 +12,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif diff --git a/include/wx/msw/registry.h b/include/wx/msw/registry.h index 3e51d738eb..5f4c818aa6 100644 --- a/include/wx/msw/registry.h +++ b/include/wx/msw/registry.h @@ -12,7 +12,7 @@ #ifndef _REGISTRY_H #define _REGISTRY_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "registry.h" #endif diff --git a/include/wx/msw/scrolbar.h b/include/wx/msw/scrolbar.h index b99cbf77e4..3c606e1030 100644 --- a/include/wx/msw/scrolbar.h +++ b/include/wx/msw/scrolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "scrolbar.h" #endif diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index 626efc0125..d1efb04d8c 100644 --- a/include/wx/msw/slider95.h +++ b/include/wx/msw/slider95.h @@ -12,7 +12,7 @@ #ifndef _SLIDER95_H_ #define _SLIDER95_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "slider95.h" #endif diff --git a/include/wx/msw/slidrmsw.h b/include/wx/msw/slidrmsw.h index 5dd73da601..9409797ccc 100644 --- a/include/wx/msw/slidrmsw.h +++ b/include/wx/msw/slidrmsw.h @@ -12,7 +12,7 @@ #ifndef _SLIDRMSW_H_ #define _SLIDRMSW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "slidrmsw.h" #endif diff --git a/include/wx/msw/spinbutt.h b/include/wx/msw/spinbutt.h index 721ae2017a..6e1931bfa3 100644 --- a/include/wx/msw/spinbutt.h +++ b/include/wx/msw/spinbutt.h @@ -12,7 +12,7 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinbutt.h" #endif diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index ad6ef12dfa..1034191b6d 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_SPINCTRL_H_ #define _WX_MSW_SPINCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinctrl.h" #endif diff --git a/include/wx/msw/statbmp.h b/include/wx/msw/statbmp.h index 55e2aa35b7..8920d1be7e 100644 --- a/include/wx/msw/statbmp.h +++ b/include/wx/msw/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbmp.h" #endif diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index 56556a4c06..5bce253763 100644 --- a/include/wx/msw/statbox.h +++ b/include/wx/msw/statbox.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbox.h" #endif diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index fa5866e19b..66446448db 100644 --- a/include/wx/msw/statbr95.h +++ b/include/wx/msw/statbr95.h @@ -12,7 +12,7 @@ #ifndef _STATBR95_H #define _STATBR95_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbr95.h" #endif diff --git a/include/wx/msw/statline.h b/include/wx/msw/statline.h index 3deda43eac..9f711377a3 100644 --- a/include/wx/msw/statline.h +++ b/include/wx/msw/statline.h @@ -11,7 +11,7 @@ #ifndef _WX_MSW_STATLINE_H_ #define _WX_MSW_STATLINE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 80d3f50a54..0ceef4c977 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "stattext.h" #endif diff --git a/include/wx/msw/tabctrl.h b/include/wx/msw/tabctrl.h index ef3e50fa9c..4571967de8 100644 --- a/include/wx/msw/tabctrl.h +++ b/include/wx/msw/tabctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TABCTRL_H_ #define _WX_TABCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tabctrl.h" #endif diff --git a/include/wx/msw/taskbar.h b/include/wx/msw/taskbar.h index aaef76d710..9aa9bd1b33 100644 --- a/include/wx/msw/taskbar.h +++ b/include/wx/msw/taskbar.h @@ -13,7 +13,7 @@ #ifndef _TASKBAR_H_ #define _TASKBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "taskbar.h" #endif diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index b06b0fa46f..e184cd87c5 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -12,7 +12,7 @@ #ifndef _WX_TBAR95_H_ #define _WX_TBAR95_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbar95.h" #endif diff --git a/include/wx/msw/tbarmsw.h b/include/wx/msw/tbarmsw.h index 53874e300a..aa0b9dc33d 100644 --- a/include/wx/msw/tbarmsw.h +++ b/include/wx/msw/tbarmsw.h @@ -12,7 +12,7 @@ #ifndef _WX_TBARMSW_H_ #define _WX_TBARMSW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarmsw.h" #endif diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index bc47dbd9f8..9fdc395d7f 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif diff --git a/include/wx/msw/timer.h b/include/wx/msw/timer.h index afcd4c21e6..116e02e303 100644 --- a/include/wx/msw/timer.h +++ b/include/wx/msw/timer.h @@ -12,7 +12,7 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index 9b7871c4a6..213538d3c1 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -12,7 +12,7 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index bd5e07c5d0..e19e87a1a1 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treectrl.h" #endif diff --git a/include/wx/msw/uxtheme.h b/include/wx/msw/uxtheme.h index 1aabd0d0c1..f85b33bacc 100644 --- a/include/wx/msw/uxtheme.h +++ b/include/wx/msw/uxtheme.h @@ -12,7 +12,7 @@ #ifndef _WX_UXTHEME_H_ #define _WX_UXTHEME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "uxtheme.h" #endif diff --git a/include/wx/msw/wave.h b/include/wx/msw/wave.h index b8c248c6e8..af07fc412c 100644 --- a/include/wx/msw/wave.h +++ b/include/wx/msw/wave.h @@ -12,7 +12,7 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wave.h" #endif diff --git a/include/wx/msw/wince/helpwce.h b/include/wx/msw/wince/helpwce.h index f1de58b632..f3ccfc4410 100644 --- a/include/wx/msw/wince/helpwce.h +++ b/include/wx/msw/wince/helpwce.h @@ -12,7 +12,7 @@ #ifndef _WX_HELPWCE_H_ #define _WX_HELPWCE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "helpwce.cpp" #endif diff --git a/include/wx/msw/wince/tbarwce.h b/include/wx/msw/wince/tbarwce.h index 938559aca3..e1a7346294 100644 --- a/include/wx/msw/wince/tbarwce.h +++ b/include/wx/msw/wince/tbarwce.h @@ -12,7 +12,7 @@ #ifndef _WX_BARWCE_H_ #define _WX_BARWCE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarwce.h" #endif diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 63cdaf66dd..b6a76b4544 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -17,7 +17,7 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "window.h" #endif diff --git a/include/wx/notebook.h b/include/wx/notebook.h index aac71c2032..371065064c 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -12,7 +12,7 @@ #ifndef _WX_NOTEBOOK_H_BASE_ #define _WX_NOTEBOOK_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "notebookbase.h" #endif diff --git a/include/wx/object.h b/include/wx/object.h index 23f2359656..7b954025e5 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -13,7 +13,7 @@ #ifndef _WX_OBJECTH__ #define _WX_OBJECTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "object.h" #endif diff --git a/include/wx/ownerdrw.h b/include/wx/ownerdrw.h index 2392e532e9..b2b144c9bd 100644 --- a/include/wx/ownerdrw.h +++ b/include/wx/ownerdrw.h @@ -14,7 +14,7 @@ #if wxUSE_OWNER_DRAWN -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "ownerdrw.h" #endif diff --git a/include/wx/paper.h b/include/wx/paper.h index d6703eb299..973a73312d 100644 --- a/include/wx/paper.h +++ b/include/wx/paper.h @@ -12,7 +12,7 @@ #ifndef _WX_PAPERH__ #define _WX_PAPERH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "paper.h" #endif diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index b9a7df5155..82979bafa9 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -12,7 +12,7 @@ #ifndef _WX_POPUPWIN_H_BASE_ #define _WX_POPUPWIN_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "popupwinbase.h" #endif diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index 4e13fcd4ac..d7ed29ed22 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -12,7 +12,7 @@ #ifndef _WX_PRNTBASEH__ #define _WX_PRNTBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "prntbase.h" #endif diff --git a/include/wx/process.h b/include/wx/process.h index 4c3b1b1c74..843e6b20ab 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -12,7 +12,7 @@ #ifndef _WX_PROCESSH__ #define _WX_PROCESSH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "process.h" #endif diff --git a/include/wx/protocol/file.h b/include/wx/protocol/file.h index f277beb912..ebd8093d93 100644 --- a/include/wx/protocol/file.h +++ b/include/wx/protocol/file.h @@ -12,7 +12,7 @@ #ifndef __WX_PROTO_FILE_H__ #define __WX_PROTO_FILE_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "sckfile.h" #endif diff --git a/include/wx/protocol/ftp.h b/include/wx/protocol/ftp.h index 5356267702..e52f2d2e14 100644 --- a/include/wx/protocol/ftp.h +++ b/include/wx/protocol/ftp.h @@ -13,7 +13,7 @@ #ifndef __WX_FTP_H__ #define __WX_FTP_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "ftp.h" #endif diff --git a/include/wx/protocol/protocol.h b/include/wx/protocol/protocol.h index aa119b09c4..8d76485032 100644 --- a/include/wx/protocol/protocol.h +++ b/include/wx/protocol/protocol.h @@ -12,7 +12,7 @@ #ifndef _WX_PROTOCOL_PROTOCOL_H #define _WX_PROTOCOL_PROTOCOL_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/quantize.h b/include/wx/quantize.h index bb935dbcd7..7fdeb1d2d5 100644 --- a/include/wx/quantize.h +++ b/include/wx/quantize.h @@ -17,7 +17,7 @@ * For conditions of distribution and use, see the accompanying README file. */ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "quantize.h" #endif diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index ae289ad9c3..0a18908021 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -12,7 +12,7 @@ #ifndef _WX_RADIOBOX_H_BASE_ #define _WX_RADIOBOX_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "radioboxbase.h" #endif diff --git a/include/wx/regex.h b/include/wx/regex.h index 99197c0bc0..78224ca942 100644 --- a/include/wx/regex.h +++ b/include/wx/regex.h @@ -12,7 +12,7 @@ #ifndef _WX_REGEX_H_ #define _WX_REGEX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "regex.h" #endif diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index 8e7067b086..fb165f0885 100644 --- a/include/wx/sckaddr.h +++ b/include/wx/sckaddr.h @@ -12,7 +12,7 @@ #ifndef _WX_NETWORK_ADDRESS_H #define _WX_NETWORK_ADDRESS_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "sckaddr.h" #endif diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 0c159f1e54..9a49fb98ca 100644 --- a/include/wx/sckipc.h +++ b/include/wx/sckipc.h @@ -16,7 +16,7 @@ #ifndef _WX_SCKIPC_H #define _WX_SCKIPC_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "sckipc.h" #endif diff --git a/include/wx/sckstrm.h b/include/wx/sckstrm.h index af1785542e..a987d8c15e 100644 --- a/include/wx/sckstrm.h +++ b/include/wx/sckstrm.h @@ -11,7 +11,7 @@ #ifndef __SCK_STREAM_H__ #define __SCK_STREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/set.h b/include/wx/set.h index a530a99a53..7457b0f97d 100644 --- a/include/wx/set.h +++ b/include/wx/set.h @@ -12,7 +12,7 @@ #ifndef _WX_SETH__ #define _WX_SETH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "set.h" #endif diff --git a/include/wx/sizer.h b/include/wx/sizer.h index a9b4295653..96024f1559 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -12,7 +12,7 @@ #ifndef __WXSIZER_H__ #define __WXSIZER_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "sizer.h" #endif diff --git a/include/wx/snglinst.h b/include/wx/snglinst.h index 4c2a2b32f7..9351b9eb5d 100644 --- a/include/wx/snglinst.h +++ b/include/wx/snglinst.h @@ -13,7 +13,7 @@ #ifndef _WX_SNGLINST_H_ #define _WX_SNGLINST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "snglinst.h" #endif diff --git a/include/wx/socket.h b/include/wx/socket.h index b3ce8ced2c..184414bb25 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -12,7 +12,7 @@ #ifndef _WX_NETWORK_SOCKET_H #define _WX_NETWORK_SOCKET_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "socket.h" #endif diff --git a/include/wx/statbmp.h b/include/wx/statbmp.h index 3c81aa4781..02f5c7ef05 100644 --- a/include/wx/statbmp.h +++ b/include/wx/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_STATBMP_H_BASE_ #define _WX_STATBMP_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbmpbase.h" #endif diff --git a/include/wx/statusbr.h b/include/wx/statusbr.h index 626b57de70..515417d7ad 100644 --- a/include/wx/statusbr.h +++ b/include/wx/statusbr.h @@ -12,7 +12,7 @@ #ifndef _WX_STATUSBR_H_BASE_ #define _WX_STATUSBR_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "statbar.h" #endif diff --git a/include/wx/strconv.h b/include/wx/strconv.h index dd127751dd..16be8b1aee 100644 --- a/include/wx/strconv.h +++ b/include/wx/strconv.h @@ -12,7 +12,7 @@ #ifndef _WX_WXSTRCONVH__ #define _WX_WXSTRCONVH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "strconv.h" #endif diff --git a/include/wx/stream.h b/include/wx/stream.h index 264db502b0..c868ddb17b 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -12,7 +12,7 @@ #ifndef _WX_WXSTREAM_H__ #define _WX_WXSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "stream.h" #endif diff --git a/include/wx/string.h b/include/wx/string.h index 6e9003595b..618b51f855 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -18,7 +18,7 @@ #ifndef _WX_WXSTRINGH__ #define _WX_WXSTRINGH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "string.h" #endif diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index 5992b11817..da66b49a12 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarbase.h" #endif diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index b2522caca5..4e8976e08b 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -12,7 +12,7 @@ #ifndef _WX_TBARSMPLH__ #define _WX_TBARSMPLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarsmpl.h" #endif diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index 753c11d104..170c28b931 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -12,7 +12,7 @@ #ifndef _WX_TEXTBUFFER_H #define _WX_TEXTBUFFER_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textbuf.h" #endif diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 06c1ee23d6..325205a455 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrlbase.h" #endif diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 8481707a92..a898f11543 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -14,7 +14,7 @@ #ifndef _WX_TEXTFILE_H #define _WX_TEXTFILE_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textfile.h" #endif diff --git a/include/wx/thread.h b/include/wx/thread.h index 543f16ceda..018542edcd 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -23,7 +23,7 @@ #if wxUSE_THREADS // only for wxUSE_THREADS - otherwise we'd get undefined symbols -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "thread.h" #endif diff --git a/include/wx/timer.h b/include/wx/timer.h index cc33886ea1..877a320899 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -13,7 +13,7 @@ #ifndef _WX_TIMER_H_BASE_ #define _WX_TIMER_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timerbase.h" #endif diff --git a/include/wx/tipdlg.h b/include/wx/tipdlg.h index ab9aef0a46..97c53eeb24 100644 --- a/include/wx/tipdlg.h +++ b/include/wx/tipdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_TIPDLG_H_ #define _WX_TIPDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tipdlg.h" #endif diff --git a/include/wx/tipwin.h b/include/wx/tipwin.h index e322d6c41c..6866687ec7 100644 --- a/include/wx/tipwin.h +++ b/include/wx/tipwin.h @@ -13,7 +13,7 @@ #ifndef _WX_TIPWIN_H_ #define _WX_TIPWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tipwin.h" #endif diff --git a/include/wx/tokenzr.h b/include/wx/tokenzr.h index 08d39f0938..dde0752f0b 100644 --- a/include/wx/tokenzr.h +++ b/include/wx/tokenzr.h @@ -12,7 +12,7 @@ #ifndef _WX_TOKENZRH #define _WX_TOKENZRH -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tokenzr.h" #endif diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 40bb3a49d6..db7ce01967 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -14,7 +14,7 @@ #ifndef _WX_TOPLEVEL_BASE_H_ #define _WX_TOPLEVEL_BASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevelbase.h" #endif diff --git a/include/wx/treebase.h b/include/wx/treebase.h index 6cc27b33d2..a8af88d7d8 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -12,7 +12,7 @@ #ifndef _WX_TREEBASE_H_ #define _WX_TREEBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "treebase.h" #endif diff --git a/include/wx/txtstrm.h b/include/wx/txtstrm.h index 2e880a8ac2..313c7d6c69 100644 --- a/include/wx/txtstrm.h +++ b/include/wx/txtstrm.h @@ -12,7 +12,7 @@ #ifndef _WX_TXTSTREAM_H_ #define _WX_TXTSTREAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "txtstrm.h" #endif diff --git a/include/wx/types.h b/include/wx/types.h index 0c20d3d6fc..2c3c965512 100644 --- a/include/wx/types.h +++ b/include/wx/types.h @@ -12,7 +12,7 @@ #ifndef _WX_TYPESH__ #define _WX_TYPESH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) // #pragma interface "types.h" #endif diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index 07a07b89bb..34c09b3e3e 100644 --- a/include/wx/univ/bmpbuttn.h +++ b/include/wx/univ/bmpbuttn.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_BMPBUTTN_H_ #define _WX_UNIV_BMPBUTTN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univbmpbuttn.h" #endif diff --git a/include/wx/univ/button.h b/include/wx/univ/button.h index 18831518d1..e6bb4f0355 100644 --- a/include/wx/univ/button.h +++ b/include/wx/univ/button.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_BUTTON_H_ #define _WX_UNIV_BUTTON_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univbutton.h" #endif diff --git a/include/wx/univ/checkbox.h b/include/wx/univ/checkbox.h index e1f9daff12..b37ff5b637 100644 --- a/include/wx/univ/checkbox.h +++ b/include/wx/univ/checkbox.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_CHECKBOX_H_ #define _WX_UNIV_CHECKBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univcheckbox.h" #endif diff --git a/include/wx/univ/checklst.h b/include/wx/univ/checklst.h index 6382c16363..ee62327925 100644 --- a/include/wx/univ/checklst.h +++ b/include/wx/univ/checklst.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_CHECKLST_H_ #define _WX_UNIV_CHECKLST_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univchecklst.h" #endif diff --git a/include/wx/univ/choice.h b/include/wx/univ/choice.h index 134192b4a3..a96d443d02 100644 --- a/include/wx/univ/choice.h +++ b/include/wx/univ/choice.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_CHOICE_H_ #define _WX_UNIV_CHOICE_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univchoice.h" #endif diff --git a/include/wx/univ/colschem.h b/include/wx/univ/colschem.h index e7d24d2265..32e35af467 100644 --- a/include/wx/univ/colschem.h +++ b/include/wx/univ/colschem.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_COLSCHEM_H_ #define _WX_UNIV_COLSCHEM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colschem.h" #endif diff --git a/include/wx/univ/combobox.h b/include/wx/univ/combobox.h index b77d640564..c92cea953e 100644 --- a/include/wx/univ/combobox.h +++ b/include/wx/univ/combobox.h @@ -36,7 +36,7 @@ #ifndef _WX_UNIV_COMBOBOX_H_ #define _WX_UNIV_COMBOBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univcombobox.h" #endif diff --git a/include/wx/univ/control.h b/include/wx/univ/control.h index c2511deda4..710e6307fd 100644 --- a/include/wx/univ/control.h +++ b/include/wx/univ/control.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_CONTROL_H_ #define _WX_UNIV_CONTROL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "control.h" #endif diff --git a/include/wx/univ/dialog.h b/include/wx/univ/dialog.h index d31707d6e6..fe7dfe7003 100644 --- a/include/wx/univ/dialog.h +++ b/include/wx/univ/dialog.h @@ -11,7 +11,7 @@ #ifndef _WX_UNIV_DIALOG_H_ #define _WX_UNIV_DIALOG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univdialog.h" #endif diff --git a/include/wx/univ/frame.h b/include/wx/univ/frame.h index cbd7760d41..e30d470a49 100644 --- a/include/wx/univ/frame.h +++ b/include/wx/univ/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_FRAME_H_ #define _WX_UNIV_FRAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univframe.h" #endif diff --git a/include/wx/univ/gauge.h b/include/wx/univ/gauge.h index c113328e07..ae80f68767 100644 --- a/include/wx/univ/gauge.h +++ b/include/wx/univ/gauge.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gaugeuniv.h" #endif diff --git a/include/wx/univ/inpcons.h b/include/wx/univ/inpcons.h index 15325534fc..e370a4f6f6 100644 --- a/include/wx/univ/inpcons.h +++ b/include/wx/univ/inpcons.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_INPCONS_H_ #define _WX_UNIV_INPCONS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "inpcons.h" #endif diff --git a/include/wx/univ/inphand.h b/include/wx/univ/inphand.h index fa95bb9243..a28e976693 100644 --- a/include/wx/univ/inphand.h +++ b/include/wx/univ/inphand.h @@ -13,7 +13,7 @@ #ifndef _WX_UNIV_INPHAND_H_ #define _WX_UNIV_INPHAND_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "inphand.h" #endif diff --git a/include/wx/univ/listbox.h b/include/wx/univ/listbox.h index 72c9fc48aa..6f00f1d6c2 100644 --- a/include/wx/univ/listbox.h +++ b/include/wx/univ/listbox.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_LISTBOX_H_ #define _WX_UNIV_LISTBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univlistbox.h" #endif diff --git a/include/wx/univ/menu.h b/include/wx/univ/menu.h index 6cfeceac98..774ef724bd 100644 --- a/include/wx/univ/menu.h +++ b/include/wx/univ/menu.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_MENU_H_ #define _WX_UNIV_MENU_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univmenu.h" #endif diff --git a/include/wx/univ/menuitem.h b/include/wx/univ/menuitem.h index eff0730a0c..9f8e533067 100644 --- a/include/wx/univ/menuitem.h +++ b/include/wx/univ/menuitem.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_MENUITEM_H_ #define _WX_UNIV_MENUITEM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univmenuitem.h" #endif diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index ffc19b1f77..771f744b09 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_NOTEBOOK_H_ #define _WX_UNIV_NOTEBOOK_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univnotebook.h" #endif diff --git a/include/wx/univ/radiobox.h b/include/wx/univ/radiobox.h index a2b06b67d7..5eef0b7d7a 100644 --- a/include/wx/univ/radiobox.h +++ b/include/wx/univ/radiobox.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_RADIOBOX_H_ #define _WX_UNIV_RADIOBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univradiobox.h" #endif diff --git a/include/wx/univ/radiobut.h b/include/wx/univ/radiobut.h index 39ad91618b..5d78b3e9a3 100644 --- a/include/wx/univ/radiobut.h +++ b/include/wx/univ/radiobut.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_RADIOBUT_H_ #define _WX_UNIV_RADIOBUT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univradiobut.h" #endif diff --git a/include/wx/univ/renderer.h b/include/wx/univ/renderer.h index d45e65ae0e..390338dafd 100644 --- a/include/wx/univ/renderer.h +++ b/include/wx/univ/renderer.h @@ -25,7 +25,7 @@ implementation of the latter or reimplement itself). */ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "renderer.h" #endif diff --git a/include/wx/univ/scrarrow.h b/include/wx/univ/scrarrow.h index 226f27a50f..c1d355fd50 100644 --- a/include/wx/univ/scrarrow.h +++ b/include/wx/univ/scrarrow.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_SCRARROW_H_ #define _WX_UNIV_SCRARROW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univscrarrow.h" #endif diff --git a/include/wx/univ/scrolbar.h b/include/wx/univ/scrolbar.h index 5f1c0fca9c..4cfb891169 100644 --- a/include/wx/univ/scrolbar.h +++ b/include/wx/univ/scrolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_SCROLBAR_H_ #define _WX_UNIV_SCROLBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univscrolbar.h" #endif diff --git a/include/wx/univ/scrthumb.h b/include/wx/univ/scrthumb.h index 1e4fbf4874..c8b0eb255a 100644 --- a/include/wx/univ/scrthumb.h +++ b/include/wx/univ/scrthumb.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_SCRTHUMB_H_ #define _WX_UNIV_SCRTHUMB_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univscrthumb.h" #endif diff --git a/include/wx/univ/slider.h b/include/wx/univ/slider.h index 729f68b562..69fe989edb 100644 --- a/include/wx/univ/slider.h +++ b/include/wx/univ/slider.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univslider.h" #endif diff --git a/include/wx/univ/spinbutt.h b/include/wx/univ/spinbutt.h index 3fe2215171..6f2ec38af0 100644 --- a/include/wx/univ/spinbutt.h +++ b/include/wx/univ/spinbutt.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_SPINBUTT_H_ #define _WX_UNIV_SPINBUTT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univspinbutt.h" #endif diff --git a/include/wx/univ/statbmp.h b/include/wx/univ/statbmp.h index fcfdf802ae..60ad9441fa 100644 --- a/include/wx/univ/statbmp.h +++ b/include/wx/univ/statbmp.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_STATBMP_H_ #define _WX_UNIV_STATBMP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univstatbmp.h" #endif diff --git a/include/wx/univ/statbox.h b/include/wx/univ/statbox.h index 2e49e1a9db..fd8ff41262 100644 --- a/include/wx/univ/statbox.h +++ b/include/wx/univ/statbox.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_STATBOX_H_ #define _WX_UNIV_STATBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univstatbox.h" #endif diff --git a/include/wx/univ/statline.h b/include/wx/univ/statline.h index ffee40b952..3965165d92 100644 --- a/include/wx/univ/statline.h +++ b/include/wx/univ/statline.h @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univstatline.h" #endif diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index fc17b58df8..3c882c69c3 100644 --- a/include/wx/univ/stattext.h +++ b/include/wx/univ/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_STATTEXT_H_ #define _WX_UNIV_STATTEXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univstattext.h" #endif diff --git a/include/wx/univ/statusbr.h b/include/wx/univ/statusbr.h index 7e3a7aac26..85baa6e44f 100644 --- a/include/wx/univ/statusbr.h +++ b/include/wx/univ/statusbr.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_STATUSBR_H_ #define _WX_UNIV_STATUSBR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univstatusbr.h" #endif diff --git a/include/wx/univ/textctrl.h b/include/wx/univ/textctrl.h index 3dbaa38f8e..85b1717f61 100644 --- a/include/wx/univ/textctrl.h +++ b/include/wx/univ/textctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_TEXTCTRL_H_ #define _WX_UNIV_TEXTCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univtextctrl.h" #endif diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index ab00b081e7..ac22a2c6be 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -14,7 +14,7 @@ #ifndef _WX_UNIV_THEME_H_ #define _WX_UNIV_THEME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "theme.h" #endif diff --git a/include/wx/univ/toolbar.h b/include/wx/univ/toolbar.h index da2db7f4d8..73b35cb0a6 100644 --- a/include/wx/univ/toolbar.h +++ b/include/wx/univ/toolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_TOOLBAR_H_ #define _WX_UNIV_TOOLBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univtoolbar.h" #endif diff --git a/include/wx/univ/toplevel.h b/include/wx/univ/toplevel.h index e9265722ee..9790eb6ca9 100644 --- a/include/wx/univ/toplevel.h +++ b/include/wx/univ/toplevel.h @@ -11,7 +11,7 @@ #ifndef __WX_UNIV_TOPLEVEL_H__ #define __WX_UNIV_TOPLEVEL_H__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univtoplevel.h" #endif diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index 4912a7c897..7c5ee59230 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -14,7 +14,7 @@ #ifndef _WX_UNIV_WINDOW_H_ #define _WX_UNIV_WINDOW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univwindow.h" #endif diff --git a/include/wx/unix/displayx11.h b/include/wx/unix/displayx11.h index 2edc3d1fca..969049129f 100644 --- a/include/wx/unix/displayx11.h +++ b/include/wx/unix/displayx11.h @@ -14,7 +14,7 @@ #if wxUSE_DISPLAY -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "display.h" #endif diff --git a/include/wx/unix/joystick.h b/include/wx/unix/joystick.h index 65c2401aa0..131851f117 100644 --- a/include/wx/unix/joystick.h +++ b/include/wx/unix/joystick.h @@ -12,7 +12,7 @@ #ifndef __JOYSTICKH__ #define __JOYSTICKH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "joystick.h" #endif diff --git a/include/wx/unix/mimetype.h b/include/wx/unix/mimetype.h index 3f03cf0483..f3f259175d 100644 --- a/include/wx/unix/mimetype.h +++ b/include/wx/unix/mimetype.h @@ -12,7 +12,7 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mimetype.h" #endif diff --git a/include/wx/unix/taskbarx11.h b/include/wx/unix/taskbarx11.h index 0c924b7b78..ce9b661a85 100644 --- a/include/wx/unix/taskbarx11.h +++ b/include/wx/unix/taskbarx11.h @@ -12,7 +12,7 @@ #ifndef _TASKBAR_H_ #define _TASKBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "taskbarx11.h" #endif diff --git a/include/wx/unix/wave.h b/include/wx/unix/wave.h index 92d678dab4..82393b6d96 100644 --- a/include/wx/unix/wave.h +++ b/include/wx/unix/wave.h @@ -16,7 +16,7 @@ #if wxUSE_WAVE -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wave.h" #endif diff --git a/include/wx/url.h b/include/wx/url.h index 09e5b8d52a..dc220b8a5f 100644 --- a/include/wx/url.h +++ b/include/wx/url.h @@ -12,7 +12,7 @@ #ifndef _WX_URL_H #define _WX_URL_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "url.h" #endif diff --git a/include/wx/utils.h b/include/wx/utils.h index a6582b7679..c25c3efe53 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "utils.h" #endif diff --git a/include/wx/valgen.h b/include/wx/valgen.h index fadac6da7e..9da6b104c2 100644 --- a/include/wx/valgen.h +++ b/include/wx/valgen.h @@ -12,7 +12,7 @@ #ifndef _WX_VALGENH__ #define _WX_VALGENH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "valgen.h" #endif diff --git a/include/wx/validate.h b/include/wx/validate.h index abc83188e1..90774c0788 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -12,7 +12,7 @@ #ifndef _WX_VALIDATEH__ #define _WX_VALIDATEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "validate.h" #endif diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 06a235ae54..47ed43d83d 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -12,7 +12,7 @@ #ifndef _WX_VALTEXTH__ #define _WX_VALTEXTH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "valtext.h" #endif diff --git a/include/wx/variant.h b/include/wx/variant.h index eda1afbb89..569793c5d3 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -12,7 +12,7 @@ #ifndef _WX_VARIANT_H_ #define _WX_VARIANT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "variant.h" #endif diff --git a/include/wx/volume.h b/include/wx/volume.h index e0dcb78f9b..17645ade60 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -16,7 +16,7 @@ #ifndef _WX_FSVOLUME_H_ #define _WX_FSVOLUME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "fsvolume.h" #endif diff --git a/include/wx/vscroll.h b/include/wx/vscroll.h index 38f3a9a615..d04ba462d4 100644 --- a/include/wx/vscroll.h +++ b/include/wx/vscroll.h @@ -12,7 +12,7 @@ #ifndef _WX_VSCROLL_H_ #define _WX_VSCROLL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "vscroll.h" #endif diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index 9778a6cda9..a0cb69e11e 100644 --- a/include/wx/wfstream.h +++ b/include/wx/wfstream.h @@ -12,7 +12,7 @@ #ifndef _WX_WXFSTREAM_H__ #define _WX_WXFSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wfstream.h" #endif diff --git a/include/wx/window.h b/include/wx/window.h index d61eac27d8..e8767aae8c 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -12,7 +12,7 @@ #ifndef _WX_WINDOW_H_BASE_ #define _WX_WINDOW_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "windowbase.h" #endif diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 1809db0dc5..c7e516acf3 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -12,7 +12,7 @@ #ifndef _WX_WXCHAR_H_ #define _WX_WXCHAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "wxchar.h" #endif diff --git a/include/wx/wxhtml.h b/include/wx/wxhtml.h index f1311201b7..cc4353fed1 100644 --- a/include/wx/wxhtml.h +++ b/include/wx/wxhtml.h @@ -10,7 +10,7 @@ #ifndef _WX_HTML_H_ #define _WX_HTML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index d1de31870d..fb7e97cffc 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -12,7 +12,7 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "app.h" #endif diff --git a/include/wx/x11/bitmap.h b/include/wx/x11/bitmap.h index 9438522880..c7a746e2e7 100644 --- a/include/wx/x11/bitmap.h +++ b/include/wx/x11/bitmap.h @@ -12,7 +12,7 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "bitmap.h" #endif diff --git a/include/wx/x11/brush.h b/include/wx/x11/brush.h index 7b9fef1a17..4ea94c15fc 100644 --- a/include/wx/x11/brush.h +++ b/include/wx/x11/brush.h @@ -12,7 +12,7 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "brush.h" #endif diff --git a/include/wx/x11/clipbrd.h b/include/wx/x11/clipbrd.h index 7565b1f1e9..981aab4690 100644 --- a/include/wx/x11/clipbrd.h +++ b/include/wx/x11/clipbrd.h @@ -11,7 +11,7 @@ #ifndef __X11CLIPBOARDH__ #define __X11CLIPBOARDH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/x11/colour.h b/include/wx/x11/colour.h index b915ac4022..d2ab262420 100644 --- a/include/wx/x11/colour.h +++ b/include/wx/x11/colour.h @@ -12,7 +12,7 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colour.h" #endif diff --git a/include/wx/x11/cursor.h b/include/wx/x11/cursor.h index e259aa1773..e914316b8a 100644 --- a/include/wx/x11/cursor.h +++ b/include/wx/x11/cursor.h @@ -12,7 +12,7 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "cursor.h" #endif diff --git a/include/wx/x11/dataobj.h b/include/wx/x11/dataobj.h index b4cf0cb3b4..885dc31145 100644 --- a/include/wx/x11/dataobj.h +++ b/include/wx/x11/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_X11_DATAOBJ_H_ #define _WX_X11_DATAOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/x11/dataobj2.h b/include/wx/x11/dataobj2.h index 670b82641d..db3da090d9 100644 --- a/include/wx/x11/dataobj2.h +++ b/include/wx/x11/dataobj2.h @@ -11,7 +11,7 @@ #ifndef _WX_X11_DATAOBJ2_H_ #define _WX_X11_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif diff --git a/include/wx/x11/dc.h b/include/wx/x11/dc.h index c75ef56522..40b107c806 100644 --- a/include/wx/x11/dc.h +++ b/include/wx/x11/dc.h @@ -12,7 +12,7 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif diff --git a/include/wx/x11/dcclient.h b/include/wx/x11/dcclient.h index cf2c5c8c5f..af67b3ddf2 100644 --- a/include/wx/x11/dcclient.h +++ b/include/wx/x11/dcclient.h @@ -12,7 +12,7 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcclient.h" #endif diff --git a/include/wx/x11/dcmemory.h b/include/wx/x11/dcmemory.h index aec644d440..50259bbdf6 100644 --- a/include/wx/x11/dcmemory.h +++ b/include/wx/x11/dcmemory.h @@ -12,7 +12,7 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcmemory.h" #endif diff --git a/include/wx/x11/dcprint.h b/include/wx/x11/dcprint.h index 466a0f8d95..91812557e6 100644 --- a/include/wx/x11/dcprint.h +++ b/include/wx/x11/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif diff --git a/include/wx/x11/dcscreen.h b/include/wx/x11/dcscreen.h index 67fd3d6df2..b1c32801f5 100644 --- a/include/wx/x11/dcscreen.h +++ b/include/wx/x11/dcscreen.h @@ -12,7 +12,7 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif diff --git a/include/wx/x11/dnd.h b/include/wx/x11/dnd.h index 86701b9f7b..1af3bacce2 100644 --- a/include/wx/x11/dnd.h +++ b/include/wx/x11/dnd.h @@ -11,7 +11,7 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif diff --git a/include/wx/x11/font.h b/include/wx/x11/font.h index 05db8914e7..4887c66551 100644 --- a/include/wx/x11/font.h +++ b/include/wx/x11/font.h @@ -12,7 +12,7 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "font.h" #endif diff --git a/include/wx/x11/gdiobj.h b/include/wx/x11/gdiobj.h index b532e20fd0..14293b5841 100644 --- a/include/wx/x11/gdiobj.h +++ b/include/wx/x11/gdiobj.h @@ -14,7 +14,7 @@ #include "wx/object.h" -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/x11/glcanvas.h b/include/wx/x11/glcanvas.h index a99d009046..1e5d5fe1de 100644 --- a/include/wx/x11/glcanvas.h +++ b/include/wx/x11/glcanvas.h @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/x11/icon.h b/include/wx/x11/icon.h index 1c51c79318..c9f867a6a7 100644 --- a/include/wx/x11/icon.h +++ b/include/wx/x11/icon.h @@ -12,7 +12,7 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "icon.h" #endif diff --git a/include/wx/x11/joystick.h b/include/wx/x11/joystick.h index cf3b0313a2..b4d3024919 100644 --- a/include/wx/x11/joystick.h +++ b/include/wx/x11/joystick.h @@ -12,7 +12,7 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "joystick.h" #endif diff --git a/include/wx/x11/minifram.h b/include/wx/x11/minifram.h index b7d4f89fa6..dcfb2d3173 100644 --- a/include/wx/x11/minifram.h +++ b/include/wx/x11/minifram.h @@ -14,7 +14,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "minifram.h" #endif diff --git a/include/wx/x11/palette.h b/include/wx/x11/palette.h index 5611a697b1..975ec7584c 100644 --- a/include/wx/x11/palette.h +++ b/include/wx/x11/palette.h @@ -12,7 +12,7 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "palette.h" #endif diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index 86151f9db4..7b7937c264 100644 --- a/include/wx/x11/pen.h +++ b/include/wx/x11/pen.h @@ -12,7 +12,7 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif diff --git a/include/wx/x11/popupwin.h b/include/wx/x11/popupwin.h index 19c01e248b..3e023e06ce 100644 --- a/include/wx/x11/popupwin.h +++ b/include/wx/x11/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "popupwin.h" #endif diff --git a/include/wx/x11/print.h b/include/wx/x11/print.h index 17417a4092..64b50ef0a6 100644 --- a/include/wx/x11/print.h +++ b/include/wx/x11/print.h @@ -12,7 +12,7 @@ #ifndef _WX_PRINT_H_ #define _WX_PRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "print.h" #endif diff --git a/include/wx/x11/region.h b/include/wx/x11/region.h index ca7e628dce..0b3c967d3c 100644 --- a/include/wx/x11/region.h +++ b/include/wx/x11/region.h @@ -12,7 +12,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif diff --git a/include/wx/x11/reparent.h b/include/wx/x11/reparent.h index 055e0456a8..b98f70c918 100644 --- a/include/wx/x11/reparent.h +++ b/include/wx/x11/reparent.h @@ -12,7 +12,7 @@ #ifndef _WX_REPARENT_H_ #define _WX_REPARENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "reparent.h" #endif diff --git a/include/wx/x11/textctrl.h b/include/wx/x11/textctrl.h index 0f1706da59..3b4b48ac40 100644 --- a/include/wx/x11/textctrl.h +++ b/include/wx/x11/textctrl.h @@ -19,7 +19,7 @@ #include "wx/univ/textctrl.h" #else -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif diff --git a/include/wx/x11/toplevel.h b/include/wx/x11/toplevel.h index e94060f208..4a32d658a1 100644 --- a/include/wx/x11/toplevel.h +++ b/include/wx/x11/toplevel.h @@ -12,7 +12,7 @@ #ifndef _WX_X11_TOPLEVEL_H_ #define _WX_X11_TOPLEVEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toplevel.h" #endif diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index ef09a5ff93..df8d37553f 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -12,7 +12,7 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "window.h" #endif diff --git a/include/wx/xml/xml.h b/include/wx/xml/xml.h index a288989d2e..5eede8757d 100644 --- a/include/wx/xml/xml.h +++ b/include/wx/xml/xml.h @@ -22,7 +22,7 @@ #ifndef _WX_XML_H_ #define _WX_XML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xml.h" #endif diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index 99c9895eb5..807f2ed2d2 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -10,7 +10,7 @@ #ifndef _WX_XPMDECOD_H_ #define _WX_XPMDECOD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xpmdecod.h" #endif diff --git a/include/wx/xti.h b/include/wx/xti.h index e8ff0102b2..8dfab5f7c2 100644 --- a/include/wx/xti.h +++ b/include/wx/xti.h @@ -13,7 +13,7 @@ #ifndef _WX_XTIH__ #define _WX_XTIH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xti.h" #endif diff --git a/include/wx/xtistrm.h b/include/wx/xtistrm.h index 3cabaebb99..2ac6ecf6fa 100644 --- a/include/wx/xtistrm.h +++ b/include/wx/xtistrm.h @@ -12,7 +12,7 @@ #ifndef _WX_XTISTRMH__ #define _WX_XTISTRMH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xtistrm.h" #endif @@ -376,4 +376,4 @@ public: #endif // wxUSE_EXTENDED_RTTI -#endif \ No newline at end of file +#endif diff --git a/include/wx/zipstrm.h b/include/wx/zipstrm.h index b8a098c0e0..f6b276b6ec 100644 --- a/include/wx/zipstrm.h +++ b/include/wx/zipstrm.h @@ -9,7 +9,7 @@ #ifndef __ZIPSTREAM_H__ #define __ZIPSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "zipstrm.h" #endif diff --git a/include/wx/zstream.h b/include/wx/zstream.h index 7433079e3f..165ea240d2 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -11,7 +11,7 @@ #ifndef _WX_WXZSTREAM_H__ #define _WX_WXZSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "zstream.h" #endif -- 2.45.2