From 3399051ee9fa4dfa5fa7ac2dd9034062f4414d64 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 11 May 2003 17:57:23 +0000 Subject: [PATCH] disable use of #pragma interface under Mac OS X GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates contain a bug concerning #pragma interface handling that can only be worked around by not using them (and they are not necessary anyways) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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/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/window.h | 2 +- 48 files changed, 48 insertions(+), 48 deletions(-) diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index fa2b70bed8..8bb9608a63 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "accel.h" #endif diff --git a/include/wx/motif/bmpbuttn.h b/include/wx/motif/bmpbuttn.h index 30f3d86636..84df78e5c2 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "bmpbuttn.h" #endif diff --git a/include/wx/motif/bmpmotif.h b/include/wx/motif/bmpmotif.h index d0003b7df6..99e570c26d 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "bmpmotif.h" #endif diff --git a/include/wx/motif/button.h b/include/wx/motif/button.h index dd046850d8..0389589398 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "button.h" #endif diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index 9f9ca5851e..94a504384a 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "checkbox.h" #endif diff --git a/include/wx/motif/checklst.h b/include/wx/motif/checklst.h index 85d12339e6..6e77410f18 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "checklst.h" #endif diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index a0a51e42e3..8d1a30846e 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "choice.h" #endif diff --git a/include/wx/motif/clipbrd.h b/include/wx/motif/clipbrd.h index c1a91626b5..5a420ed322 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "clipbrd.h" #endif diff --git a/include/wx/motif/colour.h b/include/wx/motif/colour.h index 0a3409aa7b..2d0ab28c15 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "colour.h" #endif diff --git a/include/wx/motif/combobox.h b/include/wx/motif/combobox.h index 84389e24c5..b203dcb775 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "combobox.h" #endif diff --git a/include/wx/motif/control.h b/include/wx/motif/control.h index 33e5fcf509..08c2738af1 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "control.h" #endif diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index 87a19dadc9..fd5e67dcfa 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "cursor.h" #endif diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 042cf6c63b..3b330787ca 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif diff --git a/include/wx/motif/dc.h b/include/wx/motif/dc.h index f456f8d57f..ae62ca7ab8 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dc.h" #endif diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index a92cc083cb..52d6d9db66 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dcclient.h" #endif diff --git a/include/wx/motif/dcmemory.h b/include/wx/motif/dcmemory.h index 5d85ded03e..9410bd9b5a 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dcmemory.h" #endif diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 2454826e8e..466a0f8d95 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dcprint.h" #endif diff --git a/include/wx/motif/dcscreen.h b/include/wx/motif/dcscreen.h index 27cf673db2..d66674a33e 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dcscreen.h" #endif diff --git a/include/wx/motif/dialog.h b/include/wx/motif/dialog.h index 0e3b7980f6..f80406c514 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialog.h" #endif diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index fa392bd9d8..86701b9f7b 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif diff --git a/include/wx/motif/filedlg.h b/include/wx/motif/filedlg.h index 10fae98744..0ab2851820 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "filedlg.h" #endif diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index 1cd7ea239f..ebb88d97b4 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "font.h" #endif diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index 7a63af17e4..31a2f2a80c 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frame.h" #endif diff --git a/include/wx/motif/gauge.h b/include/wx/motif/gauge.h index 3925e94b0b..2a05ba8cb7 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gauge.h" #endif diff --git a/include/wx/motif/gdiobj.h b/include/wx/motif/gdiobj.h index f55c95cec7..b532e20fd0 100644 --- a/include/wx/motif/gdiobj.h +++ b/include/wx/motif/gdiobj.h @@ -14,7 +14,7 @@ #include "wx/object.h" -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gdiobj.h" #endif diff --git a/include/wx/motif/glcanvas.h b/include/wx/motif/glcanvas.h index 1932fef522..a99d009046 100644 --- a/include/wx/motif/glcanvas.h +++ b/include/wx/motif/glcanvas.h @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "glcanvas.h" #endif diff --git a/include/wx/motif/icon.h b/include/wx/motif/icon.h index c4700ea2be..ec4b1a4050 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "icon.h" #endif diff --git a/include/wx/motif/listbox.h b/include/wx/motif/listbox.h index 4702db06a5..1e1907e243 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listbox.h" #endif diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index 9fc284d395..f639f55161 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mdi.h" #endif diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index fb1b8d8709..8e4a45a853 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "menu.h" #endif diff --git a/include/wx/motif/menuitem.h b/include/wx/motif/menuitem.h index c435b61208..762ccdd7ce 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 -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "menuitem.h" #endif diff --git a/include/wx/motif/minifram.h b/include/wx/motif/minifram.h index cbe4f63269..b7d4f89fa6 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "minifram.h" #endif diff --git a/include/wx/motif/msgdlg.h b/include/wx/motif/msgdlg.h index cc4d9e9a3f..dca5d61fee 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "msgdlg.h" #endif diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index c34767f8ce..1294689992 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "palette.h" #endif diff --git a/include/wx/motif/print.h b/include/wx/motif/print.h index 0576e30923..17417a4092 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "print.h" #endif diff --git a/include/wx/motif/radiobox.h b/include/wx/motif/radiobox.h index a47c3a5c46..7f27104b40 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "radiobox.h" #endif diff --git a/include/wx/motif/radiobut.h b/include/wx/motif/radiobut.h index ebb0d1ad1e..d7e76e904a 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "radiobut.h" #endif diff --git a/include/wx/motif/region.h b/include/wx/motif/region.h index ac25f27390..e71632d1af 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "region.h" #endif diff --git a/include/wx/motif/scrolbar.h b/include/wx/motif/scrolbar.h index 5a155bde24..3c274df7b3 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "scrolbar.h" #endif diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h index d8b8d9f5d5..6ad6bab1b1 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "slider.h" #endif diff --git a/include/wx/motif/spinbutt.h b/include/wx/motif/spinbutt.h index 756b210e03..f5149b3cb5 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "spinbutt.h" #endif diff --git a/include/wx/motif/statbmp.h b/include/wx/motif/statbmp.h index 004edc60af..48995b933e 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "statbmp.h" #endif diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index 6325e267a3..e5821c11ed 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "statbox.h" #endif diff --git a/include/wx/motif/stattext.h b/include/wx/motif/stattext.h index 336ff7ae76..495558dc76 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "stattext.h" #endif diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 113a3f301c..3b3aadd41f 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "textctrl.h" #endif diff --git a/include/wx/motif/timer.h b/include/wx/motif/timer.h index 2476a768e2..3262a3d5f3 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "timer.h" #endif diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index 4ad276b8cf..14cd50c0ee 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "toolbar.h" #endif diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index 5f0e174557..2e0dbaa1ac 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_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "window.h" #endif -- 2.45.2