diff --git a/contrib/include/wx/animate/animate.h b/contrib/include/wx/animate/animate.h index e740c6f034..9a8965df74 100644 --- a/contrib/include/wx/animate/animate.h +++ b/contrib/include/wx/animate/animate.h @@ -12,10 +12,6 @@ #ifndef _WX_ANIMATEH__ #define _WX_ANIMATEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "animate.h" -#endif - #include #include #include diff --git a/contrib/include/wx/canvas/bbox.h b/contrib/include/wx/canvas/bbox.h index 49a2e555ac..95f6841c9f 100644 --- a/contrib/include/wx/canvas/bbox.h +++ b/contrib/include/wx/canvas/bbox.h @@ -1,10 +1,6 @@ #ifndef __WXBOUNDINGBOX_H__ #define __WXBOUNDINGBOX_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "bbox.cpp" -#endif - #ifndef WX_PRECOMP #include "wx/wx.h" #endif diff --git a/contrib/include/wx/canvas/canvas.h b/contrib/include/wx/canvas/canvas.h index 5d8a2addf3..8a22211f9f 100644 --- a/contrib/include/wx/canvas/canvas.h +++ b/contrib/include/wx/canvas/canvas.h @@ -9,10 +9,6 @@ #ifndef __WXCANVAS_H__ #define __WXCANVAS_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "canvas.cpp" -#endif - #ifndef WX_PRECOMP #include "wx/wx.h" #endif diff --git a/contrib/include/wx/canvas/liner.h b/contrib/include/wx/canvas/liner.h index e543c0fc9c..0d4e191f9e 100644 --- a/contrib/include/wx/canvas/liner.h +++ b/contrib/include/wx/canvas/liner.h @@ -8,11 +8,6 @@ #ifndef __WXLINER_H #define __WXLINER_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "liner.cpp" -#endif - - #include "wx/geometry.h" enum OUTPRODUCT {R_IS_LEFT,R_IS_ON,R_IS_RIGHT}; diff --git a/contrib/include/wx/canvas/polygon.h b/contrib/include/wx/canvas/polygon.h index a86ca8f3f9..2b4e7852db 100644 --- a/contrib/include/wx/canvas/polygon.h +++ b/contrib/include/wx/canvas/polygon.h @@ -9,10 +9,6 @@ #ifndef __WXPOLYGON_H__ #define __WXPOLYGON_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "polygon.cpp" -#endif - #ifndef WX_PRECOMP #include "wx/wx.h" #endif diff --git a/contrib/include/wx/fl/antiflickpl.h b/contrib/include/wx/fl/antiflickpl.h index e8569aa6df..6a23c06128 100644 --- a/contrib/include/wx/fl/antiflickpl.h +++ b/contrib/include/wx/fl/antiflickpl.h @@ -12,10 +12,6 @@ #ifndef __ANTIFLICKPL_G__ #define __ANTIFLICKPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "antiflickpl.h" -#endif - #include "wx/fl/controlbar.h" /* diff --git a/contrib/include/wx/fl/bardragpl.h b/contrib/include/wx/fl/bardragpl.h index 6c225dd237..b040db9311 100644 --- a/contrib/include/wx/fl/bardragpl.h +++ b/contrib/include/wx/fl/bardragpl.h @@ -12,10 +12,6 @@ #ifndef __BARDRAGPL_G__ #define __BARDRAGPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "bardragpl.h" -#endif - #include "wx/fl/controlbar.h" #include "wx/fl/toolwnd.h" diff --git a/contrib/include/wx/fl/barhintspl.h b/contrib/include/wx/fl/barhintspl.h index 5f8da11d6d..9cbddf1788 100644 --- a/contrib/include/wx/fl/barhintspl.h +++ b/contrib/include/wx/fl/barhintspl.h @@ -12,10 +12,6 @@ #ifndef __DRAGHINTSPL_G__ #define __DRAGHINTSPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "barhintspl.h" -#endif - #include "wx/fl/controlbar.h" #include "wx/fl/toolwnd.h" diff --git a/contrib/include/wx/fl/cbcustom.h b/contrib/include/wx/fl/cbcustom.h index 6eaf27cfd4..20765b8d9b 100644 --- a/contrib/include/wx/fl/cbcustom.h +++ b/contrib/include/wx/fl/cbcustom.h @@ -12,10 +12,6 @@ #ifndef __CBCUSTOM_G__ #define __CBCUSTOM_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "cbcustom.h" -#endif - #include "wx/fl/controlbar.h" /* diff --git a/contrib/include/wx/fl/controlbar.h b/contrib/include/wx/fl/controlbar.h index 21ca20eecc..2a9c8cb45f 100644 --- a/contrib/include/wx/fl/controlbar.h +++ b/contrib/include/wx/fl/controlbar.h @@ -13,10 +13,6 @@ #ifndef __CONTROLBAR_G__ #define __CONTROLBAR_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "controlbar.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/window.h" diff --git a/contrib/include/wx/fl/dynbarhnd.h b/contrib/include/wx/fl/dynbarhnd.h index 5e0f465e45..ad620c185b 100644 --- a/contrib/include/wx/fl/dynbarhnd.h +++ b/contrib/include/wx/fl/dynbarhnd.h @@ -12,10 +12,6 @@ #ifndef __DYNBARHND_G__ #define __DYNBARHND_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dynbarhnd.h" -#endif - #include "wx/fl/controlbar.h" #endif /* __DYNBARHND_G__ */ diff --git a/contrib/include/wx/fl/dyntbar.h b/contrib/include/wx/fl/dyntbar.h index bd49fb2618..8404955c28 100644 --- a/contrib/include/wx/fl/dyntbar.h +++ b/contrib/include/wx/fl/dyntbar.h @@ -12,10 +12,6 @@ #ifndef __DYNTBAR_G__ #define __DYNTBAR_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dyntbar.h" -#endif - #include "wx/tbarbase.h" #include "wx/dynarray.h" #include "wx/fl/fldefs.h" diff --git a/contrib/include/wx/fl/dyntbarhnd.h b/contrib/include/wx/fl/dyntbarhnd.h index 29446bdeb1..76244a8d4b 100644 --- a/contrib/include/wx/fl/dyntbarhnd.h +++ b/contrib/include/wx/fl/dyntbarhnd.h @@ -12,10 +12,6 @@ #ifndef __DYNTBARHND_G__ #define __DYNTBARHND_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dyntbarhnd.h" -#endif - #include "wx/fl/controlbar.h" #include "wx/fl/dyntbar.h" diff --git a/contrib/include/wx/fl/frmview.h b/contrib/include/wx/fl/frmview.h index 8abc9efa36..f340a04373 100644 --- a/contrib/include/wx/fl/frmview.h +++ b/contrib/include/wx/fl/frmview.h @@ -12,10 +12,6 @@ #ifndef __FRMVIEW_G__ #define __FRMVIEW_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "frmview.h" -#endif - #include "wx/module.h" #if 0 diff --git a/contrib/include/wx/fl/garbagec.h b/contrib/include/wx/fl/garbagec.h index 652854fc01..a299239682 100644 --- a/contrib/include/wx/fl/garbagec.h +++ b/contrib/include/wx/fl/garbagec.h @@ -12,10 +12,6 @@ #ifndef __GARBAGEC_G__ #define __GARBAGEC_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "garbagec.h" -#endif - #include "wx/list.h" #include "wx/fl/fldefs.h" diff --git a/contrib/include/wx/fl/gcupdatesmgr.h b/contrib/include/wx/fl/gcupdatesmgr.h index 4a0310432f..08e59c403c 100644 --- a/contrib/include/wx/fl/gcupdatesmgr.h +++ b/contrib/include/wx/fl/gcupdatesmgr.h @@ -12,10 +12,6 @@ #ifndef __GCUPDATESMGR_G__ #define __GCUPDATESMGR_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "gcupdatesmgr.h" -#endif - #include "wx/fl/controlbar.h" #include "wx/fl/updatesmgr.h" diff --git a/contrib/include/wx/fl/hintanimpl.h b/contrib/include/wx/fl/hintanimpl.h index 1a07c59d6d..4072081262 100644 --- a/contrib/include/wx/fl/hintanimpl.h +++ b/contrib/include/wx/fl/hintanimpl.h @@ -12,10 +12,6 @@ #ifndef __HINTANIMPL_G__ #define __HINTANIMPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "hintanimpl.h" -#endif - #include "wx/fl/controlbar.h" #include "wx/timer.h" diff --git a/contrib/include/wx/fl/newbmpbtn.h b/contrib/include/wx/fl/newbmpbtn.h index 882b29f745..f8bc9035c6 100644 --- a/contrib/include/wx/fl/newbmpbtn.h +++ b/contrib/include/wx/fl/newbmpbtn.h @@ -12,10 +12,6 @@ #ifndef __NEWBMPBTN_G__ #define __NEWBMPBTN_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "newbmpbtn.h" -#endif - #include "wx/button.h" #include "wx/string.h" #include "wx/fl/fldefs.h" diff --git a/contrib/include/wx/fl/panedrawpl.h b/contrib/include/wx/fl/panedrawpl.h index e84f318fc6..ca3b1ff8bd 100644 --- a/contrib/include/wx/fl/panedrawpl.h +++ b/contrib/include/wx/fl/panedrawpl.h @@ -12,10 +12,6 @@ #ifndef __PANEDRAWPL_G__ #define __PANEDRAWPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "panedrawpl.h" -#endif - #include "wx/fl/controlbar.h" /* diff --git a/contrib/include/wx/fl/rowdragpl.h b/contrib/include/wx/fl/rowdragpl.h index 831a7b7f94..f1903e1763 100644 --- a/contrib/include/wx/fl/rowdragpl.h +++ b/contrib/include/wx/fl/rowdragpl.h @@ -12,10 +12,6 @@ #ifndef __ROWDRAGPL_G__ #define __ROWDRAGPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "rowdragpl.h" -#endif - #include "wx/fl/controlbar.h" /* diff --git a/contrib/include/wx/fl/rowlayoutpl.h b/contrib/include/wx/fl/rowlayoutpl.h index 969140a8a5..fc3386c81c 100644 --- a/contrib/include/wx/fl/rowlayoutpl.h +++ b/contrib/include/wx/fl/rowlayoutpl.h @@ -12,10 +12,6 @@ #ifndef __ROWLAYOUTPL_G__ #define __ROWLAYOUTPL_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "rowlayoutpl.h" -#endif - #include "wx/fl/controlbar.h" /* diff --git a/contrib/include/wx/fl/toolwnd.h b/contrib/include/wx/fl/toolwnd.h index 2024c0c3d0..b68dc25083 100644 --- a/contrib/include/wx/fl/toolwnd.h +++ b/contrib/include/wx/fl/toolwnd.h @@ -13,10 +13,6 @@ #ifndef __TOOLWND_G__ #define __TOOLWND_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "toolwnd.h" -#endif - #include "wx/frame.h" #include "wx/dynarray.h" #include "wx/fl/fldefs.h" diff --git a/contrib/include/wx/fl/updatesmgr.h b/contrib/include/wx/fl/updatesmgr.h index 52a3222b9f..8a5925a1bd 100644 --- a/contrib/include/wx/fl/updatesmgr.h +++ b/contrib/include/wx/fl/updatesmgr.h @@ -12,10 +12,6 @@ #ifndef __UPDATESMGR_G__ #define __UPDATESMGR_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "updatesmgr.h" -#endif - #include "wx/fl/controlbar.h" /* diff --git a/contrib/include/wx/gizmos/editlbox.h b/contrib/include/wx/gizmos/editlbox.h index 5ee5c8048b..e3442c78f9 100644 --- a/contrib/include/wx/gizmos/editlbox.h +++ b/contrib/include/wx/gizmos/editlbox.h @@ -11,10 +11,6 @@ #ifndef __WX_EDITLBOX_H__ #define __WX_EDITLBOX_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "editlbox.h" -#endif - #include "wx/panel.h" #ifdef GIZMOISDLL diff --git a/contrib/include/wx/gizmos/ledctrl.h b/contrib/include/wx/gizmos/ledctrl.h index 15f58af947..aa0c4a0502 100644 --- a/contrib/include/wx/gizmos/ledctrl.h +++ b/contrib/include/wx/gizmos/ledctrl.h @@ -1,10 +1,6 @@ #ifndef _WX_LEDNUMBERCTRL_H_ #define _WX_LEDNUMBERCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "wxLEDNumberCtrl.h" -#endif - #ifdef GIZMOISDLL #define GIZMODLLEXPORT WXDLLEXPORT #else diff --git a/contrib/include/wx/gizmos/multicell.h b/contrib/include/wx/gizmos/multicell.h index aea204f41c..ae0ba427a9 100644 --- a/contrib/include/wx/gizmos/multicell.h +++ b/contrib/include/wx/gizmos/multicell.h @@ -15,11 +15,6 @@ #ifndef __WX_MULTICELL_H__ #define __WX_MULTICELL_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "multicell.h" -#endif - - #ifdef GIZMOISDLL #define GIZMODLLEXPORT WXDLLEXPORT #else diff --git a/contrib/include/wx/gizmos/splittree.h b/contrib/include/wx/gizmos/splittree.h index 79ebb9c9a4..30961eb539 100644 --- a/contrib/include/wx/gizmos/splittree.h +++ b/contrib/include/wx/gizmos/splittree.h @@ -14,10 +14,6 @@ #ifndef _WX_SPLITTREE_H_ #define _WX_SPLITTREE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "splittree.h" -#endif - #ifdef GIZMOISDLL #define GIZMODLLEXPORT WXDLLEXPORT #else diff --git a/contrib/include/wx/mmedia/cdbase.h b/contrib/include/wx/mmedia/cdbase.h index d4b9ee3194..48ada5e8a5 100644 --- a/contrib/include/wx/mmedia/cdbase.h +++ b/contrib/include/wx/mmedia/cdbase.h @@ -10,10 +10,6 @@ #ifndef __CDA_base_H__ #define __CDA_base_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "cdbase.h" -#endif - #include "wx/defs.h" #include "wx/object.h" diff --git a/contrib/include/wx/mmedia/cdunix.h b/contrib/include/wx/mmedia/cdunix.h index 45994f0a0b..ff11ecc6ec 100644 --- a/contrib/include/wx/mmedia/cdunix.h +++ b/contrib/include/wx/mmedia/cdunix.h @@ -10,10 +10,6 @@ #ifndef __CDUNIXH__ #define __CDUNIXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "cdunix.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/contrib/include/wx/mmedia/cdwin.h b/contrib/include/wx/mmedia/cdwin.h index 0c8fa5fd95..91f10ae8ed 100644 --- a/contrib/include/wx/mmedia/cdwin.h +++ b/contrib/include/wx/mmedia/cdwin.h @@ -10,10 +10,6 @@ #ifndef __CDA_win_H__ #define __CDA_win_H__ -#ifdef __GNUG__ -#pragma interface -#endif - #include "wx/wxprec.h" #include "cdbase.h" diff --git a/contrib/include/wx/mmedia/sndaiff.h b/contrib/include/wx/mmedia/sndaiff.h index 53b53583af..493dea7392 100644 --- a/contrib/include/wx/mmedia/sndaiff.h +++ b/contrib/include/wx/mmedia/sndaiff.h @@ -10,10 +10,6 @@ #ifndef _WX_SNDAIFF_H #define _WX_SNDAIFF_H -#ifdef __GNUG__ -#pragma interface "sndaiff.h" -#endif - #include "wx/defs.h" #include "wx/stream.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/include/wx/mmedia/sndbase.h b/contrib/include/wx/mmedia/sndbase.h index 564b89969e..d8ee5329f1 100644 --- a/contrib/include/wx/mmedia/sndbase.h +++ b/contrib/include/wx/mmedia/sndbase.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDBASE_H #define _WX_SNDBASE_H -#ifdef __GNUG__ -#pragma interface "sndbase.h" -#endif - #include "wx/defs.h" // ------------------------------------------------------------------------ diff --git a/contrib/include/wx/mmedia/sndcodec.h b/contrib/include/wx/mmedia/sndcodec.h index 9d5a03201b..efc10743aa 100644 --- a/contrib/include/wx/mmedia/sndcodec.h +++ b/contrib/include/wx/mmedia/sndcodec.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDCODEC_H #define _WX_SNDCODEC_H -#ifdef __GNUG__ -#pragma interface "sndcodec.h" -#endif - #include "wx/defs.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/include/wx/mmedia/sndcpcm.h b/contrib/include/wx/mmedia/sndcpcm.h index 7d761e583d..611ba4c3a9 100644 --- a/contrib/include/wx/mmedia/sndcpcm.h +++ b/contrib/include/wx/mmedia/sndcpcm.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDCPCM_H #define _WX_SNDCPCM_H -#ifdef __GNUG__ -#pragma interface "sndcpcm.h" -#endif - #include "wx/defs.h" #include "wx/mmedia/sndbase.h" #include "wx/mmedia/sndcodec.h" diff --git a/contrib/include/wx/mmedia/sndesd.h b/contrib/include/wx/mmedia/sndesd.h index a8f606ad99..6cbe6fd235 100644 --- a/contrib/include/wx/mmedia/sndesd.h +++ b/contrib/include/wx/mmedia/sndesd.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDESD_H #define _WX_SNDESD_H -#ifdef __GNUG__ -#pragma interface "sndesd.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/include/wx/mmedia/sndg72x.h b/contrib/include/wx/mmedia/sndg72x.h index 5c69bfecfb..069617512a 100644 --- a/contrib/include/wx/mmedia/sndg72x.h +++ b/contrib/include/wx/mmedia/sndg72x.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDG72X_H #define _WX_SNDG72X_H -#ifdef __GNUG__ -#pragma interface "sndg72x.h" -#endif - #include "wx/defs.h" #include "wx/mmedia/sndbase.h" #include "wx/mmedia/sndcodec.h" diff --git a/contrib/include/wx/mmedia/sndmsad.h b/contrib/include/wx/mmedia/sndmsad.h index b52659562e..f865a49016 100644 --- a/contrib/include/wx/mmedia/sndmsad.h +++ b/contrib/include/wx/mmedia/sndmsad.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDMSAD_H #define _WX_SNDMSAD_H -#ifdef __GNUG__ -#pragma interface "sndmsad.h" -#endif - #include "wx/defs.h" #include "wx/dynarray.h" #include "wx/mmedia/sndcodec.h" diff --git a/contrib/include/wx/mmedia/sndoss.h b/contrib/include/wx/mmedia/sndoss.h index 212ab4358b..873e50d986 100644 --- a/contrib/include/wx/mmedia/sndoss.h +++ b/contrib/include/wx/mmedia/sndoss.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDOSS_H #define _WX_SNDOSS_H -#ifdef __GNUG__ -#pragma interface "sndoss.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/include/wx/mmedia/sndpcm.h b/contrib/include/wx/mmedia/sndpcm.h index 1123d47865..e897f46a06 100644 --- a/contrib/include/wx/mmedia/sndpcm.h +++ b/contrib/include/wx/mmedia/sndpcm.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDPCM_H #define _WX_SNDPCM_H -#ifdef __GNUG__ -#pragma interface "sndpcm.h" -#endif - #include "wx/defs.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/include/wx/mmedia/sndulaw.h b/contrib/include/wx/mmedia/sndulaw.h index d0ec4024fe..2e8c704f21 100644 --- a/contrib/include/wx/mmedia/sndulaw.h +++ b/contrib/include/wx/mmedia/sndulaw.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDULAW_H #define _WX_SNDULAW_H -#ifdef __GNUG__ -#pragma interface "sndulaw.h" -#endif - #include "wx/defs.h" #include "wx/mmedia/sndcodec.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/include/wx/mmedia/sndwav.h b/contrib/include/wx/mmedia/sndwav.h index c83f021775..bbd62ea619 100644 --- a/contrib/include/wx/mmedia/sndwav.h +++ b/contrib/include/wx/mmedia/sndwav.h @@ -9,10 +9,6 @@ #ifndef _WX_SNDWAV_H #define _WX_SNDWAV_H -#ifdef __GNUG__ -#pragma interface "sndwav.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/stream.h" diff --git a/contrib/include/wx/mmedia/vidbase.h b/contrib/include/wx/mmedia/vidbase.h index 8d5d1d55ed..ad6cdb56a6 100644 --- a/contrib/include/wx/mmedia/vidbase.h +++ b/contrib/include/wx/mmedia/vidbase.h @@ -12,10 +12,6 @@ #ifndef __VID_bdrv_H__ #define __VID_bdrv_H__ -#ifdef __GNUG__ -#pragma interface "vidbase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/contrib/include/wx/mmedia/vidwin.h b/contrib/include/wx/mmedia/vidwin.h index b8d0527f97..056b307a8d 100644 --- a/contrib/include/wx/mmedia/vidwin.h +++ b/contrib/include/wx/mmedia/vidwin.h @@ -11,10 +11,6 @@ #ifndef __VID_windows_H__ #define __VID_windows_H__ -#ifdef __GNUG__ - #pragma interface "vidwin.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/contrib/include/wx/mmedia/vidxanm.h b/contrib/include/wx/mmedia/vidxanm.h index ff2a14d50a..609dacf4c6 100644 --- a/contrib/include/wx/mmedia/vidxanm.h +++ b/contrib/include/wx/mmedia/vidxanm.h @@ -11,10 +11,6 @@ #ifndef __VID_xanim_H__ #define __VID_xanim_H__ -#ifdef __GNUG__ - #pragma interface "vidxanm.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/contrib/include/wx/net/email.h b/contrib/include/wx/net/email.h index be906a47c3..0532d90750 100644 --- a/contrib/include/wx/net/email.h +++ b/contrib/include/wx/net/email.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "email.h" -#endif - #ifndef _WX_EMAIL_H_ #define _WX_EMAIL_H_ diff --git a/contrib/include/wx/net/msg.h b/contrib/include/wx/net/msg.h index 27af00eaa3..863332bc0f 100644 --- a/contrib/include/wx/net/msg.h +++ b/contrib/include/wx/net/msg.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "msg.h" -#endif - #ifndef _WX_MSG_H_ #define _WX_MSG_H_ diff --git a/contrib/include/wx/net/smapi.h b/contrib/include/wx/net/smapi.h index 4d414580bf..e1e9af5648 100644 --- a/contrib/include/wx/net/smapi.h +++ b/contrib/include/wx/net/smapi.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "smapi.h" -#endif - #ifndef _WX_SMAPI_H_ #define _WX_SMAPI_H_ diff --git a/contrib/include/wx/net/web.h b/contrib/include/wx/net/web.h index e64b086343..c4ed34ed3f 100644 --- a/contrib/include/wx/net/web.h +++ b/contrib/include/wx/net/web.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "web.h" -#endif - #ifndef _WX_WEB_H_ #define _WX_WEB_H_ diff --git a/contrib/include/wx/ogl/basic.h b/contrib/include/wx/ogl/basic.h index eeaead4b10..bb31e88b95 100644 --- a/contrib/include/wx/ogl/basic.h +++ b/contrib/include/wx/ogl/basic.h @@ -12,10 +12,6 @@ #ifndef _OGL_BASIC_H_ #define _OGL_BASIC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "basic.h" -#endif - #define OGL_VERSION 2.0 #ifndef DEFAULT_MOUSE_TOLERANCE diff --git a/contrib/include/wx/ogl/basicp.h b/contrib/include/wx/ogl/basicp.h index c0927c0c17..a7ec5ceecb 100644 --- a/contrib/include/wx/ogl/basicp.h +++ b/contrib/include/wx/ogl/basicp.h @@ -12,10 +12,6 @@ #ifndef _OGL_BASICP_H_ #define _OGL_BASICP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "basicp.h" -#endif - #define CONTROL_POINT_SIZE 6 class wxShapeTextLine: public wxObject diff --git a/contrib/include/wx/ogl/bmpshape.h b/contrib/include/wx/ogl/bmpshape.h index 5389351fe4..9c81faa639 100644 --- a/contrib/include/wx/ogl/bmpshape.h +++ b/contrib/include/wx/ogl/bmpshape.h @@ -12,10 +12,6 @@ #ifndef _OGL_BITMAP_H_ #define _OGL_BITMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "bmpshape.h" -#endif - #include class wxBitmapShape: public wxRectangleShape diff --git a/contrib/include/wx/ogl/canvas.h b/contrib/include/wx/ogl/canvas.h index fb52e3f253..36735d8201 100644 --- a/contrib/include/wx/ogl/canvas.h +++ b/contrib/include/wx/ogl/canvas.h @@ -12,10 +12,6 @@ #ifndef _OGL_CANVAS_H_ #define _OGL_CANVAS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "canvas.h" -#endif - // Drag states #define NoDragging 0 #define StartDraggingLeft 1 diff --git a/contrib/include/wx/ogl/composit.h b/contrib/include/wx/ogl/composit.h index 618629d4ff..86810a32de 100644 --- a/contrib/include/wx/ogl/composit.h +++ b/contrib/include/wx/ogl/composit.h @@ -12,10 +12,6 @@ #ifndef _OGL_COMPOSIT_H_ #define _OGL_COMPOSIT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "composit.h" -#endif - class wxDivisionShape; class wxOGLConstraint; diff --git a/contrib/include/wx/ogl/constrnt.h b/contrib/include/wx/ogl/constrnt.h index bd0616e491..c1972b602a 100644 --- a/contrib/include/wx/ogl/constrnt.h +++ b/contrib/include/wx/ogl/constrnt.h @@ -12,10 +12,6 @@ #ifndef _OGL_CONSTRNT_H_ #define _OGL_CONSTRNT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "constrnt.h" -#endif - /* * OGL Constraints * diff --git a/contrib/include/wx/ogl/divided.h b/contrib/include/wx/ogl/divided.h index 6fc733eee3..cbfd30c880 100644 --- a/contrib/include/wx/ogl/divided.h +++ b/contrib/include/wx/ogl/divided.h @@ -12,10 +12,6 @@ #ifndef _OGL_DIVIDED_H_ #define _OGL_DIVIDED_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "basic.h" -#endif - /* * Definition of a region * diff --git a/contrib/include/wx/ogl/drawn.h b/contrib/include/wx/ogl/drawn.h index dd7ba01ffd..9531c78923 100644 --- a/contrib/include/wx/ogl/drawn.h +++ b/contrib/include/wx/ogl/drawn.h @@ -12,10 +12,6 @@ #ifndef _OGL_DRAWN_H_ #define _OGL_DRAWN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "drawn.h" -#endif - #include #define oglMETAFLAGS_OUTLINE 1 diff --git a/contrib/include/wx/ogl/drawnp.h b/contrib/include/wx/ogl/drawnp.h index dd083219b8..377ee03424 100644 --- a/contrib/include/wx/ogl/drawnp.h +++ b/contrib/include/wx/ogl/drawnp.h @@ -12,10 +12,6 @@ #ifndef _OGL_DRAWNP_H_ #define _OGL_DRAWNP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "drawnp.h" -#endif - #include /* diff --git a/contrib/include/wx/ogl/lines.h b/contrib/include/wx/ogl/lines.h index d274c88f0b..42dbbbf408 100644 --- a/contrib/include/wx/ogl/lines.h +++ b/contrib/include/wx/ogl/lines.h @@ -12,10 +12,6 @@ #ifndef _OGL_LINES_H_ #define _OGL_LINES_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "lines.h" -#endif - class wxLabelShape; class wxPseudoMetaFile; class wxLineControlPoint; diff --git a/contrib/include/wx/ogl/linesp.h b/contrib/include/wx/ogl/linesp.h index ffe08df3ce..9afa663192 100644 --- a/contrib/include/wx/ogl/linesp.h +++ b/contrib/include/wx/ogl/linesp.h @@ -12,10 +12,6 @@ #ifndef _OGL_LINESP_H_ #define _OGL_LINESP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "linesp.h" -#endif - class wxLineShape; class wxLineControlPoint: public wxControlPoint { diff --git a/contrib/include/wx/ogl/mfutils.h b/contrib/include/wx/ogl/mfutils.h index 7e8a6e6a8a..7cf0a6e9a5 100644 --- a/contrib/include/wx/ogl/mfutils.h +++ b/contrib/include/wx/ogl/mfutils.h @@ -13,10 +13,6 @@ #ifndef _MFUTILS_H_ #define _MFUTILS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "mfutils.h" -#endif - #include #ifndef GetRValue diff --git a/contrib/include/wx/ogl/misc.h b/contrib/include/wx/ogl/misc.h index 2bce6eeec9..e264f37d7a 100644 --- a/contrib/include/wx/ogl/misc.h +++ b/contrib/include/wx/ogl/misc.h @@ -12,10 +12,6 @@ #ifndef _OGL_MISC_H_ #define _OGL_MISC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "misc.h" -#endif - // List to use when copying objects; may need to associate elements of new objects // with elements of old objects, e.g. when copying constraint.s extern wxList oglObjectCopyMapping; diff --git a/contrib/include/wx/ogl/ogldiag.h b/contrib/include/wx/ogl/ogldiag.h index 7a593f2466..535e74098e 100644 --- a/contrib/include/wx/ogl/ogldiag.h +++ b/contrib/include/wx/ogl/ogldiag.h @@ -12,10 +12,6 @@ #ifndef _OGL_OGLDIAG_H_ #define _OGL_OGLDIAG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "ogldiag.h" -#endif - #include class wxDiagram: public wxObject diff --git a/contrib/include/wx/plot/plot.h b/contrib/include/wx/plot/plot.h index 6b60dbb49d..0cca39da0d 100644 --- a/contrib/include/wx/plot/plot.h +++ b/contrib/include/wx/plot/plot.h @@ -12,10 +12,6 @@ #ifndef _WX_PLOT_H_ #define _WX_PLOT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "plot.h" -#endif - #include "wx/defs.h" #include "wx/scrolwin.h" diff --git a/contrib/include/wx/xrc/xh_bmp.h b/contrib/include/wx/xrc/xh_bmp.h index 946d15bc73..6c58a47b13 100644 --- a/contrib/include/wx/xrc/xh_bmp.h +++ b/contrib/include/wx/xrc/xh_bmp.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_BMP_H_ #define _WX_XH_BMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_bmp.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_bmpbt.h b/contrib/include/wx/xrc/xh_bmpbt.h index 34862621f3..5d3f039199 100644 --- a/contrib/include/wx/xrc/xh_bmpbt.h +++ b/contrib/include/wx/xrc/xh_bmpbt.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_BMPBT_H_ #define _WX_XH_BMPBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_bmpbt.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_bttn.h b/contrib/include/wx/xrc/xh_bttn.h index 719be7264d..e07e07b8f4 100644 --- a/contrib/include/wx/xrc/xh_bttn.h +++ b/contrib/include/wx/xrc/xh_bttn.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_BTTN_H_ #define _WX_XH_BTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_bttn.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_cald.h b/contrib/include/wx/xrc/xh_cald.h index 5c39f44730..331e2f0fdd 100644 --- a/contrib/include/wx/xrc/xh_cald.h +++ b/contrib/include/wx/xrc/xh_cald.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CALD_H_ #define _WX_XH_CALD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_cald.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxCalendarCtrlXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_chckb.h b/contrib/include/wx/xrc/xh_chckb.h index 3738377b2f..d7e2c8239a 100644 --- a/contrib/include/wx/xrc/xh_chckb.h +++ b/contrib/include/wx/xrc/xh_chckb.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CHCKB_H_ #define _WX_XH_CHCKB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_chckb.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_chckl.h b/contrib/include/wx/xrc/xh_chckl.h index 9a9d6889ae..92c8b7a422 100644 --- a/contrib/include/wx/xrc/xh_chckl.h +++ b/contrib/include/wx/xrc/xh_chckl.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CHCKL_H_ #define _WX_XH_CHCKL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_chckl.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxCheckListBoxXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_choic.h b/contrib/include/wx/xrc/xh_choic.h index 1ea5a70182..ada5f3506d 100644 --- a/contrib/include/wx/xrc/xh_choic.h +++ b/contrib/include/wx/xrc/xh_choic.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CHOIC_H_ #define _WX_XH_CHOIC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_choic.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_combo.h b/contrib/include/wx/xrc/xh_combo.h index 6be381c052..5358abab8a 100644 --- a/contrib/include/wx/xrc/xh_combo.h +++ b/contrib/include/wx/xrc/xh_combo.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_COMBO_H_ #define _WX_XH_COMBO_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_combo.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_COMBOBOX diff --git a/contrib/include/wx/xrc/xh_dlg.h b/contrib/include/wx/xrc/xh_dlg.h index a7fb822746..70b2d4ee67 100644 --- a/contrib/include/wx/xrc/xh_dlg.h +++ b/contrib/include/wx/xrc/xh_dlg.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_DLG_H_ #define _WX_XH_DLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_dlg.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_frame.h b/contrib/include/wx/xrc/xh_frame.h index a5e824e323..ce1731050e 100644 --- a/contrib/include/wx/xrc/xh_frame.h +++ b/contrib/include/wx/xrc/xh_frame.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_FRAME_H_ #define _WX_XH_FRAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_frame.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxFrameXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_gauge.h b/contrib/include/wx/xrc/xh_gauge.h index 50a83dfba1..5105e7849b 100644 --- a/contrib/include/wx/xrc/xh_gauge.h +++ b/contrib/include/wx/xrc/xh_gauge.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_GAUGE_H_ #define _WX_XH_GAUGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_gauge.h" -#endif - #include "wx/defs.h" #if wxUSE_GAUGE diff --git a/contrib/include/wx/xrc/xh_gdctl.h b/contrib/include/wx/xrc/xh_gdctl.h index c41f1197e6..e100a0067c 100644 --- a/contrib/include/wx/xrc/xh_gdctl.h +++ b/contrib/include/wx/xrc/xh_gdctl.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_GDCTL_H_ #define _WX_XH_GDCTL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_gdctl.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_DIRDLG diff --git a/contrib/include/wx/xrc/xh_html.h b/contrib/include/wx/xrc/xh_html.h index 51e59673f5..755962b813 100644 --- a/contrib/include/wx/xrc/xh_html.h +++ b/contrib/include/wx/xrc/xh_html.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_HTML_H_ #define _WX_XH_HTML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_html.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_listb.h b/contrib/include/wx/xrc/xh_listb.h index 35f0b34d2d..a2d1b9e4ac 100644 --- a/contrib/include/wx/xrc/xh_listb.h +++ b/contrib/include/wx/xrc/xh_listb.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_LISTB_H_ #define _WX_XH_LISTB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_listb.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_LISTBOX diff --git a/contrib/include/wx/xrc/xh_listc.h b/contrib/include/wx/xrc/xh_listc.h index 9199f594dd..7060468467 100644 --- a/contrib/include/wx/xrc/xh_listc.h +++ b/contrib/include/wx/xrc/xh_listc.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_LISTC_H_ #define _WX_XH_LISTC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_listc.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxListCtrlXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_menu.h b/contrib/include/wx/xrc/xh_menu.h index 79ad952ee3..fbad049bf6 100644 --- a/contrib/include/wx/xrc/xh_menu.h +++ b/contrib/include/wx/xrc/xh_menu.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_MENU_H_ #define _WX_XH_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_menu.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_notbk.h b/contrib/include/wx/xrc/xh_notbk.h index 07f9f1a017..e1ca32fc7f 100644 --- a/contrib/include/wx/xrc/xh_notbk.h +++ b/contrib/include/wx/xrc/xh_notbk.h @@ -10,10 +10,6 @@ #ifndef _WX_XH_NOTBK_H_ #define _WX_XH_NOTBK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_notbk.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_NOTEBOOK diff --git a/contrib/include/wx/xrc/xh_panel.h b/contrib/include/wx/xrc/xh_panel.h index 40459ae752..e4e36facd4 100644 --- a/contrib/include/wx/xrc/xh_panel.h +++ b/contrib/include/wx/xrc/xh_panel.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_PANEL_H_ #define _WX_XH_PANEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_panel.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_radbt.h b/contrib/include/wx/xrc/xh_radbt.h index 58c1288c12..34f3b568e5 100644 --- a/contrib/include/wx/xrc/xh_radbt.h +++ b/contrib/include/wx/xrc/xh_radbt.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_RADBT_H_ #define _WX_XH_RADBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_radbt.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_radbx.h b/contrib/include/wx/xrc/xh_radbx.h index 42cc3f52b8..902650921d 100644 --- a/contrib/include/wx/xrc/xh_radbx.h +++ b/contrib/include/wx/xrc/xh_radbx.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_RADBX_H_ #define _WX_XH_RADBX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_radbx.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_RADIOBOX diff --git a/contrib/include/wx/xrc/xh_scrol.h b/contrib/include/wx/xrc/xh_scrol.h index f82e6df7d9..df3f8f8e91 100644 --- a/contrib/include/wx/xrc/xh_scrol.h +++ b/contrib/include/wx/xrc/xh_scrol.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SCROL_H_ #define _WX_XH_SCROL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_scrol.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_scwin.h b/contrib/include/wx/xrc/xh_scwin.h index 1befc41215..d73bd60fea 100644 --- a/contrib/include/wx/xrc/xh_scwin.h +++ b/contrib/include/wx/xrc/xh_scwin.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SCWIN_H_ #define _WX_XH_SCWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_scwin.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_sizer.h b/contrib/include/wx/xrc/xh_sizer.h index 0c7d16a4ef..93f55c4d0f 100644 --- a/contrib/include/wx/xrc/xh_sizer.h +++ b/contrib/include/wx/xrc/xh_sizer.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SIZER_H_ #define _WX_XH_SIZER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_sizer.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_slidr.h b/contrib/include/wx/xrc/xh_slidr.h index 6e3223f959..c32b678c34 100644 --- a/contrib/include/wx/xrc/xh_slidr.h +++ b/contrib/include/wx/xrc/xh_slidr.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SLIDR_H_ #define _WX_XH_SLIDR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_slidr.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_spin.h b/contrib/include/wx/xrc/xh_spin.h index 241039075e..7675f4e7e2 100644 --- a/contrib/include/wx/xrc/xh_spin.h +++ b/contrib/include/wx/xrc/xh_spin.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SPIN_H_ #define _WX_XH_SPIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_spin.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_split.h b/contrib/include/wx/xrc/xh_split.h index 010bede9f0..83541c034b 100644 --- a/contrib/include/wx/xrc/xh_split.h +++ b/contrib/include/wx/xrc/xh_split.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SPLIT_H_ #define _WX_XH_SPLIT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_split.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxSplitterWindowXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_statbar.h b/contrib/include/wx/xrc/xh_statbar.h index 7e57e00d2f..ddc5fbba34 100644 --- a/contrib/include/wx/xrc/xh_statbar.h +++ b/contrib/include/wx/xrc/xh_statbar.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STATBAR_H_ #define _WX_XH_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_statbar.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxStatusBarXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_stbmp.h b/contrib/include/wx/xrc/xh_stbmp.h index d22e96f53e..597bc41730 100644 --- a/contrib/include/wx/xrc/xh_stbmp.h +++ b/contrib/include/wx/xrc/xh_stbmp.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STBMP_H_ #define _WX_XH_STBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_stbmp.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_stbox.h b/contrib/include/wx/xrc/xh_stbox.h index 1773a47f82..eb1b10a394 100644 --- a/contrib/include/wx/xrc/xh_stbox.h +++ b/contrib/include/wx/xrc/xh_stbox.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STBOX_H_ #define _WX_XH_STBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_stbox.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_stlin.h b/contrib/include/wx/xrc/xh_stlin.h index b8758ca7ce..ad47f77667 100644 --- a/contrib/include/wx/xrc/xh_stlin.h +++ b/contrib/include/wx/xrc/xh_stlin.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STLIN_H_ #define _WX_XH_STLIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_stlin.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_STATLINE diff --git a/contrib/include/wx/xrc/xh_sttxt.h b/contrib/include/wx/xrc/xh_sttxt.h index e6c88984fa..60c45e7140 100644 --- a/contrib/include/wx/xrc/xh_sttxt.h +++ b/contrib/include/wx/xrc/xh_sttxt.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STTXT_H_ #define _WX_XH_STTXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_sttxt.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_text.h b/contrib/include/wx/xrc/xh_text.h index 84d256916b..24aaa7dcc1 100644 --- a/contrib/include/wx/xrc/xh_text.h +++ b/contrib/include/wx/xrc/xh_text.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TEXT_H_ #define _WX_XH_TEXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_text.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_tglbtn.h b/contrib/include/wx/xrc/xh_tglbtn.h index 3cdf08800b..bfca4a755d 100644 --- a/contrib/include/wx/xrc/xh_tglbtn.h +++ b/contrib/include/wx/xrc/xh_tglbtn.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TGLBTN_H_ #define _WX_XH_TGLBTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_tglbtn.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/contrib/include/wx/xrc/xh_toolb.h b/contrib/include/wx/xrc/xh_toolb.h index 22f53ee935..1c80b3bb83 100644 --- a/contrib/include/wx/xrc/xh_toolb.h +++ b/contrib/include/wx/xrc/xh_toolb.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TOOLB_H_ #define _WX_XH_TOOLB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_toolb.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_TOOLBAR diff --git a/contrib/include/wx/xrc/xh_tree.h b/contrib/include/wx/xrc/xh_tree.h index 985468c054..e4fbedb212 100644 --- a/contrib/include/wx/xrc/xh_tree.h +++ b/contrib/include/wx/xrc/xh_tree.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TREE_H_ #define _WX_XH_TREE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_tree.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxTreeCtrlXmlHandler : public wxXmlResourceHandler diff --git a/contrib/include/wx/xrc/xh_unkwn.h b/contrib/include/wx/xrc/xh_unkwn.h index 74e835b108..75655f5219 100644 --- a/contrib/include/wx/xrc/xh_unkwn.h +++ b/contrib/include/wx/xrc/xh_unkwn.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_UNKWN_H_ #define _WX_XH_UNKWN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_unkwn.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/contrib/include/wx/xrc/xh_wizrd.h b/contrib/include/wx/xrc/xh_wizrd.h index aa5dfbf972..1cd92fed8a 100644 --- a/contrib/include/wx/xrc/xh_wizrd.h +++ b/contrib/include/wx/xrc/xh_wizrd.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_WIZRD_H_ #define _WX_XH_WIZRDL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_wizrd.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_WIZARDDLG diff --git a/contrib/include/wx/xrc/xml.h b/contrib/include/wx/xrc/xml.h index c3122942e4..ae79343293 100644 --- a/contrib/include/wx/xrc/xml.h +++ b/contrib/include/wx/xrc/xml.h @@ -11,10 +11,6 @@ #ifndef _WX_XML_H_ #define _WX_XML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xml.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/object.h" diff --git a/contrib/include/wx/xrc/xmlres.h b/contrib/include/wx/xrc/xmlres.h index ccf92157cf..2a79004373 100644 --- a/contrib/include/wx/xrc/xmlres.h +++ b/contrib/include/wx/xrc/xmlres.h @@ -11,10 +11,6 @@ #ifndef _WX_XMLRES_H_ #define _WX_XMLRES_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xmlres.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/dynarray.h" diff --git a/contrib/samples/applet/dialogs_wdr.cpp b/contrib/samples/applet/dialogs_wdr.cpp index 19f384e540..e3efc40e9f 100644 --- a/contrib/samples/applet/dialogs_wdr.cpp +++ b/contrib/samples/applet/dialogs_wdr.cpp @@ -3,10 +3,6 @@ // Do not modify this file, all changes will be lost! //------------------------------------------------------------------------------ -#ifdef __GNUG__ - #pragma implementation "dialogs_wdr.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/contrib/samples/applet/dialogs_wdr.h b/contrib/samples/applet/dialogs_wdr.h index f8cb61766a..3faba601c9 100644 --- a/contrib/samples/applet/dialogs_wdr.h +++ b/contrib/samples/applet/dialogs_wdr.h @@ -6,10 +6,6 @@ #ifndef __WDR_dialogs_H__ #define __WDR_dialogs_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dialogs_wdr.cpp" -#endif - // Include wxWindows' headers #ifndef WX_PRECOMP diff --git a/contrib/samples/canvas/simple/simple.cpp b/contrib/samples/canvas/simple/simple.cpp index 46385b28f1..ef02f118ce 100644 --- a/contrib/samples/canvas/simple/simple.cpp +++ b/contrib/samples/canvas/simple/simple.cpp @@ -5,10 +5,6 @@ // Copyright: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "simple.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/contrib/samples/canvas/simple/simple.h b/contrib/samples/canvas/simple/simple.h index c3671154e7..edb4e77528 100644 --- a/contrib/samples/canvas/simple/simple.h +++ b/contrib/samples/canvas/simple/simple.h @@ -8,10 +8,6 @@ #ifndef __simple_H__ #define __simple_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "simple.cpp" -#endif - // Include wxWindows' headers #ifndef WX_PRECOMP diff --git a/contrib/samples/canvas/test/test.cpp b/contrib/samples/canvas/test/test.cpp index ac52ef0f9f..9b5901c3cb 100644 --- a/contrib/samples/canvas/test/test.cpp +++ b/contrib/samples/canvas/test/test.cpp @@ -7,10 +7,6 @@ * */ -#ifdef __GNUG__ - #pragma implementation "test.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/contrib/samples/canvas/test/test.h b/contrib/samples/canvas/test/test.h index d617baeb6f..b715b36588 100644 --- a/contrib/samples/canvas/test/test.h +++ b/contrib/samples/canvas/test/test.h @@ -11,10 +11,6 @@ #ifndef __test_H__ #define __test_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "test.cpp" -#endif - #ifndef WX_PRECOMP #include "wx/wx.h" #endif diff --git a/contrib/samples/fl/fl_demo1/fl_demo1.cpp b/contrib/samples/fl/fl_demo1/fl_demo1.cpp index 2959b41b3b..a8d2227845 100644 --- a/contrib/samples/fl/fl_demo1/fl_demo1.cpp +++ b/contrib/samples/fl/fl_demo1/fl_demo1.cpp @@ -10,10 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fl_demo1.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/fl/fl_demo1/fl_demo1.h b/contrib/samples/fl/fl_demo1/fl_demo1.h index 384c6ca987..5cf423b843 100644 --- a/contrib/samples/fl/fl_demo1/fl_demo1.h +++ b/contrib/samples/fl/fl_demo1/fl_demo1.h @@ -12,10 +12,6 @@ #ifndef __NEW_TEST_G__ #define __NEW_TEST_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fl_demo1.h" -#endif - #define NEW_TEST_SAVE 1101 #define NEW_TEST_LOAD 1102 #define NEW_TEST_EXIT 1103 diff --git a/contrib/samples/fl/fl_demo2/fl_demo2.cpp b/contrib/samples/fl/fl_demo2/fl_demo2.cpp index ba978cc231..0e0be48ed9 100644 --- a/contrib/samples/fl/fl_demo2/fl_demo2.cpp +++ b/contrib/samples/fl/fl_demo2/fl_demo2.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fl_demo2.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/gizmos/multicell/mtest.cpp b/contrib/samples/gizmos/multicell/mtest.cpp index 1fda4fa97f..8cd741ed58 100644 --- a/contrib/samples/gizmos/multicell/mtest.cpp +++ b/contrib/samples/gizmos/multicell/mtest.cpp @@ -11,11 +11,6 @@ static const char sccsid[] = "%W% %G%"; -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation - #pragma interface -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/contrib/samples/gizmos/splittree/tree.cpp b/contrib/samples/gizmos/splittree/tree.cpp index a889a0060c..639e048f37 100644 --- a/contrib/samples/gizmos/splittree/tree.cpp +++ b/contrib/samples/gizmos/splittree/tree.cpp @@ -16,10 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tree.cpp" - #pragma interface "tree.cpp" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/mmedia/mmbman.cpp b/contrib/samples/mmedia/mmbman.cpp index b60fc8429e..b081acf61d 100644 --- a/contrib/samples/mmedia/mmbman.cpp +++ b/contrib/samples/mmedia/mmbman.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "mmbman.cpp" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/contrib/samples/mmedia/mmbman.h b/contrib/samples/mmedia/mmbman.h index d534cb8d89..69f19b0c63 100644 --- a/contrib/samples/mmedia/mmbman.h +++ b/contrib/samples/mmedia/mmbman.h @@ -12,10 +12,6 @@ #ifndef _MMBMAN_APP_H_ #define _MMBMAN_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "mmbman.cpp" -#endif - #include "wx/stream.h" #include "wx/mmedia/sndbase.h" diff --git a/contrib/samples/mmedia/mmboard.cpp b/contrib/samples/mmedia/mmboard.cpp index a11274d13c..8001923ba5 100644 --- a/contrib/samples/mmedia/mmboard.cpp +++ b/contrib/samples/mmedia/mmboard.cpp @@ -16,9 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "mmboard.cpp" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/mmedia/mmboard.h b/contrib/samples/mmedia/mmboard.h index eb8c2a3b19..b93ece5efe 100644 --- a/contrib/samples/mmedia/mmboard.h +++ b/contrib/samples/mmedia/mmboard.h @@ -12,10 +12,6 @@ #ifndef _MMBOARD_APP_H_ #define _MMBOARD_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "mmboard.cpp" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/ogledit/doc.cpp b/contrib/samples/ogl/ogledit/doc.cpp index 3d0a7f5732..52b0e37ceb 100644 --- a/contrib/samples/ogl/ogledit/doc.cpp +++ b/contrib/samples/ogl/ogledit/doc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/ogledit/doc.h b/contrib/samples/ogl/ogledit/doc.h index d7fad379fd..ecbcaf4086 100644 --- a/contrib/samples/ogl/ogledit/doc.h +++ b/contrib/samples/ogl/ogledit/doc.h @@ -12,10 +12,6 @@ #ifndef _OGLSAMPLE_DOC_H_ #define _OGLSAMPLE_DOC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include #include diff --git a/contrib/samples/ogl/ogledit/ogledit.cpp b/contrib/samples/ogl/ogledit/ogledit.cpp index 3073114674..9594f038c3 100644 --- a/contrib/samples/ogl/ogledit/ogledit.cpp +++ b/contrib/samples/ogl/ogledit/ogledit.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/ogledit/ogledit.h b/contrib/samples/ogl/ogledit/ogledit.h index b144f70b0a..c0853182e2 100644 --- a/contrib/samples/ogl/ogledit/ogledit.h +++ b/contrib/samples/ogl/ogledit/ogledit.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #ifndef _OGLSAMPLE_OGLEDIT_H_ #define _OGLSAMPLE_OGLEDIT_H_ diff --git a/contrib/samples/ogl/ogledit/palette.cpp b/contrib/samples/ogl/ogledit/palette.cpp index 8338fa24cf..dba9152c3b 100644 --- a/contrib/samples/ogl/ogledit/palette.cpp +++ b/contrib/samples/ogl/ogledit/palette.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/ogledit/palette.h b/contrib/samples/ogl/ogledit/palette.h index c38e39dbea..d89e9df1dc 100644 --- a/contrib/samples/ogl/ogledit/palette.h +++ b/contrib/samples/ogl/ogledit/palette.h @@ -12,10 +12,6 @@ #ifndef _OGLSAMPLE_PALETTE_H_ #define _OGLSAMPLE_PALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include #if 0 // def __WXGTK__ diff --git a/contrib/samples/ogl/ogledit/view.cpp b/contrib/samples/ogl/ogledit/view.cpp index 2b5e571684..4740310c47 100644 --- a/contrib/samples/ogl/ogledit/view.cpp +++ b/contrib/samples/ogl/ogledit/view.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/ogledit/view.h b/contrib/samples/ogl/ogledit/view.h index 388a22dc06..6dc39ebb3f 100644 --- a/contrib/samples/ogl/ogledit/view.h +++ b/contrib/samples/ogl/ogledit/view.h @@ -12,10 +12,6 @@ #ifndef _OGLSAMPLE_VIEW_H_ #define _OGLSAMPLE_VIEW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface "view.h" -#endif - #include "doc.h" #include diff --git a/contrib/samples/ogl/studio/cspalette.cpp b/contrib/samples/ogl/studio/cspalette.cpp index 36ac64e236..cc62e8f116 100644 --- a/contrib/samples/ogl/studio/cspalette.cpp +++ b/contrib/samples/ogl/studio/cspalette.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/cspalette.h b/contrib/samples/ogl/studio/cspalette.h index a910553e56..6d6f0e38f0 100644 --- a/contrib/samples/ogl/studio/cspalette.h +++ b/contrib/samples/ogl/studio/cspalette.h @@ -12,10 +12,6 @@ #ifndef _STUDIO_CSPALETTE_H_ #define _STUDIO_CSPALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include #include diff --git a/contrib/samples/ogl/studio/csprint.cpp b/contrib/samples/ogl/studio/csprint.cpp index 3b2b1499f6..8cc160aa7c 100644 --- a/contrib/samples/ogl/studio/csprint.cpp +++ b/contrib/samples/ogl/studio/csprint.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/dialogs.cpp b/contrib/samples/ogl/studio/dialogs.cpp index a3d38727b5..f8a4266daf 100644 --- a/contrib/samples/ogl/studio/dialogs.cpp +++ b/contrib/samples/ogl/studio/dialogs.cpp @@ -9,10 +9,6 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/dialogs.h b/contrib/samples/ogl/studio/dialogs.h index 69fedf280c..5748f3af21 100644 --- a/contrib/samples/ogl/studio/dialogs.h +++ b/contrib/samples/ogl/studio/dialogs.h @@ -12,10 +12,6 @@ #ifndef _STUDIO_DIALOGS_H_ #define _STUDIO_DIALOGS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include diff --git a/contrib/samples/ogl/studio/doc.cpp b/contrib/samples/ogl/studio/doc.cpp index bf2efb8e70..3953858046 100644 --- a/contrib/samples/ogl/studio/doc.cpp +++ b/contrib/samples/ogl/studio/doc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/doc.h b/contrib/samples/ogl/studio/doc.h index 502f227f5b..b139c391dc 100644 --- a/contrib/samples/ogl/studio/doc.h +++ b/contrib/samples/ogl/studio/doc.h @@ -12,10 +12,6 @@ #ifndef _STUDIO_DOC_H_ #define _STUDIO_DOC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include #include diff --git a/contrib/samples/ogl/studio/shapes.cpp b/contrib/samples/ogl/studio/shapes.cpp index e331385885..fd03a0bdfb 100644 --- a/contrib/samples/ogl/studio/shapes.cpp +++ b/contrib/samples/ogl/studio/shapes.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/shapes.h b/contrib/samples/ogl/studio/shapes.h index 8162c6ad96..8a0adc4d05 100644 --- a/contrib/samples/ogl/studio/shapes.h +++ b/contrib/samples/ogl/studio/shapes.h @@ -12,10 +12,6 @@ #ifndef _STUDIO_SHAPES_H_ #define _STUDIO_SHAPES_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include #include diff --git a/contrib/samples/ogl/studio/symbols.cpp b/contrib/samples/ogl/studio/symbols.cpp index d8a617eb4c..a970c8a490 100644 --- a/contrib/samples/ogl/studio/symbols.cpp +++ b/contrib/samples/ogl/studio/symbols.cpp @@ -9,10 +9,6 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/symbols.h b/contrib/samples/ogl/studio/symbols.h index 15d703cc2a..041889d182 100644 --- a/contrib/samples/ogl/studio/symbols.h +++ b/contrib/samples/ogl/studio/symbols.h @@ -12,10 +12,6 @@ #ifndef _STUDIO_SYMBOLS_H_ #define _STUDIO_SYMBOLS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include #include diff --git a/contrib/samples/ogl/studio/view.cpp b/contrib/samples/ogl/studio/view.cpp index f24da9d60c..4d8f1d97be 100644 --- a/contrib/samples/ogl/studio/view.cpp +++ b/contrib/samples/ogl/studio/view.cpp @@ -9,10 +9,6 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/samples/ogl/studio/view.h b/contrib/samples/ogl/studio/view.h index 7b5065aa5b..9f36f49f63 100644 --- a/contrib/samples/ogl/studio/view.h +++ b/contrib/samples/ogl/studio/view.h @@ -12,10 +12,6 @@ #ifndef _STUDIO_VIEW_H_ #define _STUDIO_VIEW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface "view.h" -#endif - #include "doc.h" #include diff --git a/contrib/samples/xrc/custclas.cpp b/contrib/samples/xrc/custclas.cpp index ba30c5f7f7..04fb8ac090 100644 --- a/contrib/samples/xrc/custclas.cpp +++ b/contrib/samples/xrc/custclas.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "custclas.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/custclas.h b/contrib/samples/xrc/custclas.h index e34efa01b7..57fc160b30 100644 --- a/contrib/samples/xrc/custclas.h +++ b/contrib/samples/xrc/custclas.h @@ -14,14 +14,6 @@ #ifndef _CUSTCLAS_H_ #define _CUSTCLAS_H_ -//---------------------------------------------------------------------------------------- -// GCC interface -//---------------------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "custclas.h" -#endif - //---------------------------------------------------------------------------------------- // Headers //---------------------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/derivdlg.cpp b/contrib/samples/xrc/derivdlg.cpp index 437615d60b..d6f4c894a2 100644 --- a/contrib/samples/xrc/derivdlg.cpp +++ b/contrib/samples/xrc/derivdlg.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "derivdlg.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/derivdlg.h b/contrib/samples/xrc/derivdlg.h index 2bea8e39ea..320a8435f6 100644 --- a/contrib/samples/xrc/derivdlg.h +++ b/contrib/samples/xrc/derivdlg.h @@ -14,14 +14,6 @@ #ifndef _DERIVDLG_H_ #define _DERIVDLG_H_ -//----------------------------------------------------------------------------- -// GCC interface -//----------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "derivdlg.h" -#endif - //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/myframe.cpp b/contrib/samples/xrc/myframe.cpp index 594d8769e1..eb9c0b7ee8 100644 --- a/contrib/samples/xrc/myframe.cpp +++ b/contrib/samples/xrc/myframe.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "myframe.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/myframe.h b/contrib/samples/xrc/myframe.h index 33ee6bd4bb..0157f7040c 100644 --- a/contrib/samples/xrc/myframe.h +++ b/contrib/samples/xrc/myframe.h @@ -14,14 +14,6 @@ #ifndef _MYFRAME_H_ #define _MYFRAME_H_ -//----------------------------------------------------------------------------- -// GCC interface -//----------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "myframe.h" -#endif - //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/xrcdemo.cpp b/contrib/samples/xrc/xrcdemo.cpp index c904f52e28..ba0c927392 100644 --- a/contrib/samples/xrc/xrcdemo.cpp +++ b/contrib/samples/xrc/xrcdemo.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "xrcdemo.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/contrib/samples/xrc/xrcdemo.h b/contrib/samples/xrc/xrcdemo.h index d41a649ddc..71fa991357 100644 --- a/contrib/samples/xrc/xrcdemo.h +++ b/contrib/samples/xrc/xrcdemo.h @@ -14,14 +14,6 @@ #ifndef _XRCDEMO_H_ #define _XRCDEMO_H_ -//----------------------------------------------------------------------------- -// GCC interface -//----------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "xrcdemo.h" -#endif - //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- diff --git a/contrib/src/animate/animate.cpp b/contrib/src/animate/animate.cpp index 10bc394b14..dcc171788d 100644 --- a/contrib/src/animate/animate.cpp +++ b/contrib/src/animate/animate.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "animate.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/contrib/src/canvas/bbox.cpp b/contrib/src/canvas/bbox.cpp index b284a86c76..7cfcfa0b14 100644 --- a/contrib/src/canvas/bbox.cpp +++ b/contrib/src/canvas/bbox.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "bbox.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/canvas/canvas.cpp b/contrib/src/canvas/canvas.cpp index 5cced63809..0092fe399c 100644 --- a/contrib/src/canvas/canvas.cpp +++ b/contrib/src/canvas/canvas.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "canvas.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/canvas/liner.cpp b/contrib/src/canvas/liner.cpp index f52059971e..f0fcfe2526 100644 --- a/contrib/src/canvas/liner.cpp +++ b/contrib/src/canvas/liner.cpp @@ -4,10 +4,6 @@ Purpose Mainly used for calculating crossings Last Update 05-12-1995 */ -#ifdef __GNUG__ -#pragma implementation "liner.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/canvas/polygon.cpp b/contrib/src/canvas/polygon.cpp index d7b159f683..6d85538fd1 100644 --- a/contrib/src/canvas/polygon.cpp +++ b/contrib/src/canvas/polygon.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "polygon.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/antiflickpl.cpp b/contrib/src/fl/antiflickpl.cpp index 12ce48a1a7..42c54501a6 100644 --- a/contrib/src/fl/antiflickpl.cpp +++ b/contrib/src/fl/antiflickpl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "antiflickpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/bardragpl.cpp b/contrib/src/fl/bardragpl.cpp index a1ef597f87..ef47aeb64c 100644 --- a/contrib/src/fl/bardragpl.cpp +++ b/contrib/src/fl/bardragpl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "bardragpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/barhintspl.cpp b/contrib/src/fl/barhintspl.cpp index 241a98dea4..dd5a493665 100644 --- a/contrib/src/fl/barhintspl.cpp +++ b/contrib/src/fl/barhintspl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "barhintspl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/cbcustom.cpp b/contrib/src/fl/cbcustom.cpp index 1fca0c0b23..893663fb0f 100644 --- a/contrib/src/fl/cbcustom.cpp +++ b/contrib/src/fl/cbcustom.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "cbcustom.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/controlbar.cpp b/contrib/src/fl/controlbar.cpp index 7eab4620c6..90fc7ac867 100644 --- a/contrib/src/fl/controlbar.cpp +++ b/contrib/src/fl/controlbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "controlbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/dyntbar.cpp b/contrib/src/fl/dyntbar.cpp index fe526de12e..649d1f7de4 100644 --- a/contrib/src/fl/dyntbar.cpp +++ b/contrib/src/fl/dyntbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dyntbar.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/dyntbarhnd.cpp b/contrib/src/fl/dyntbarhnd.cpp index 2a819c5b9b..b658ed1e7d 100644 --- a/contrib/src/fl/dyntbarhnd.cpp +++ b/contrib/src/fl/dyntbarhnd.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dyntbarhnd.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/frmview.cpp b/contrib/src/fl/frmview.cpp index 0ed194084f..1b75c47190 100644 --- a/contrib/src/fl/frmview.cpp +++ b/contrib/src/fl/frmview.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "frmview.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/garbagec.cpp b/contrib/src/fl/garbagec.cpp index 993da58553..c77d73f7dd 100644 --- a/contrib/src/fl/garbagec.cpp +++ b/contrib/src/fl/garbagec.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "garbagec.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/gcupdatesmgr.cpp b/contrib/src/fl/gcupdatesmgr.cpp index 5790666c9d..b580a79307 100644 --- a/contrib/src/fl/gcupdatesmgr.cpp +++ b/contrib/src/fl/gcupdatesmgr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "gcupdatesmgr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/hintanimpl.cpp b/contrib/src/fl/hintanimpl.cpp index 56752d6f1d..4b1ead89f4 100644 --- a/contrib/src/fl/hintanimpl.cpp +++ b/contrib/src/fl/hintanimpl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "hintanimpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/newbmpbtn.cpp b/contrib/src/fl/newbmpbtn.cpp index e9262b913f..be31f0a671 100644 --- a/contrib/src/fl/newbmpbtn.cpp +++ b/contrib/src/fl/newbmpbtn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "newbmpbtn.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/panedrawpl.cpp b/contrib/src/fl/panedrawpl.cpp index 214ffa148f..49500397c4 100644 --- a/contrib/src/fl/panedrawpl.cpp +++ b/contrib/src/fl/panedrawpl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "panedrawpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/rowdragpl.cpp b/contrib/src/fl/rowdragpl.cpp index 062e312bc5..a337338dae 100644 --- a/contrib/src/fl/rowdragpl.cpp +++ b/contrib/src/fl/rowdragpl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "rowdragpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/rowlayoutpl.cpp b/contrib/src/fl/rowlayoutpl.cpp index a96119f34a..66d918d8d6 100644 --- a/contrib/src/fl/rowlayoutpl.cpp +++ b/contrib/src/fl/rowlayoutpl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "rowlayoutpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/toolwnd.cpp b/contrib/src/fl/toolwnd.cpp index 4c998ab600..708cb1af24 100644 --- a/contrib/src/fl/toolwnd.cpp +++ b/contrib/src/fl/toolwnd.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "toolwnd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/fl/updatesmgr.cpp b/contrib/src/fl/updatesmgr.cpp index c126fbfb03..7fa65c4abd 100644 --- a/contrib/src/fl/updatesmgr.cpp +++ b/contrib/src/fl/updatesmgr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "updatesmgr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/gizmos/dynamicsash.cpp b/contrib/src/gizmos/dynamicsash.cpp index 6e80bbacb4..80cdcdbd2a 100644 --- a/contrib/src/gizmos/dynamicsash.cpp +++ b/contrib/src/gizmos/dynamicsash.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "splittree.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/gizmos/editlbox.cpp b/contrib/src/gizmos/editlbox.cpp index e7d6160a03..700e79d6aa 100644 --- a/contrib/src/gizmos/editlbox.cpp +++ b/contrib/src/gizmos/editlbox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "editlbox.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/gizmos/ledctrl.cpp b/contrib/src/gizmos/ledctrl.cpp index e51fe72f14..9da21a729e 100644 --- a/contrib/src/gizmos/ledctrl.cpp +++ b/contrib/src/gizmos/ledctrl.cpp @@ -2,10 +2,6 @@ // headers // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "wxLEDNumberCtrl.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/contrib/src/gizmos/multicell.cpp b/contrib/src/gizmos/multicell.cpp index 632c054674..bdfd23e95b 100644 --- a/contrib/src/gizmos/multicell.cpp +++ b/contrib/src/gizmos/multicell.cpp @@ -11,10 +11,6 @@ // This was inspired by the gbsizer class written by Alex Andruschak -#ifdef __GNUG__ - #pragma implementation "multicell.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/gizmos/splittree.cpp b/contrib/src/gizmos/splittree.cpp index 971a140080..99203307d9 100644 --- a/contrib/src/gizmos/splittree.cpp +++ b/contrib/src/gizmos/splittree.cpp @@ -18,9 +18,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "splittree.h" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/cdbase.cpp b/contrib/src/mmedia/cdbase.cpp index 545bd5e342..8b10eab787 100644 --- a/contrib/src/mmedia/cdbase.cpp +++ b/contrib/src/mmedia/cdbase.cpp @@ -7,9 +7,7 @@ // Copyright: (C) 1997, 1998, 1999 Guilhem Lavaux // License: wxWindows license // --------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#endif + #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/contrib/src/mmedia/cdunix.cpp b/contrib/src/mmedia/cdunix.cpp index 5a8f42de61..52ad86bae0 100644 --- a/contrib/src/mmedia/cdunix.cpp +++ b/contrib/src/mmedia/cdunix.cpp @@ -8,9 +8,6 @@ // CVS Id: $Id$ // License: wxWindows license //////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cdunix.h" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/cdwin.cpp b/contrib/src/mmedia/cdwin.cpp index f99b691a83..9efe344e9d 100644 --- a/contrib/src/mmedia/cdwin.cpp +++ b/contrib/src/mmedia/cdwin.cpp @@ -7,9 +7,6 @@ // Copyright: (C) 1997, 1998, Guilhem Lavaux // License: wxWindows license //////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cdwin.h" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndaiff.cpp b/contrib/src/mmedia/sndaiff.cpp index 9474a70aa1..c0503056e0 100644 --- a/contrib/src/mmedia/sndaiff.cpp +++ b/contrib/src/mmedia/sndaiff.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndaiff.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndbase.cpp b/contrib/src/mmedia/sndbase.cpp index 933476e5c6..c92c955d16 100644 --- a/contrib/src/mmedia/sndbase.cpp +++ b/contrib/src/mmedia/sndbase.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndbase.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndcodec.cpp b/contrib/src/mmedia/sndcodec.cpp index a736c204d9..f7b4c30ee4 100644 --- a/contrib/src/mmedia/sndcodec.cpp +++ b/contrib/src/mmedia/sndcodec.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndcodec.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndcpcm.cpp b/contrib/src/mmedia/sndcpcm.cpp index 062f0156c2..025eca1cd4 100644 --- a/contrib/src/mmedia/sndcpcm.cpp +++ b/contrib/src/mmedia/sndcpcm.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndcpcm.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndesd.cpp b/contrib/src/mmedia/sndesd.cpp index 35c1365752..c5e1acce08 100644 --- a/contrib/src/mmedia/sndesd.cpp +++ b/contrib/src/mmedia/sndesd.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndesd.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndg72x.cpp b/contrib/src/mmedia/sndg72x.cpp index 3842f071ae..db8b89560f 100644 --- a/contrib/src/mmedia/sndg72x.cpp +++ b/contrib/src/mmedia/sndg72x.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndg72x.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndmsad.cpp b/contrib/src/mmedia/sndmsad.cpp index 6798a31280..da62f65c4a 100644 --- a/contrib/src/mmedia/sndmsad.cpp +++ b/contrib/src/mmedia/sndmsad.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndmsad.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndoss.cpp b/contrib/src/mmedia/sndoss.cpp index 5fd6d013ea..f7b15b8b6f 100644 --- a/contrib/src/mmedia/sndoss.cpp +++ b/contrib/src/mmedia/sndoss.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndoss.cpp" -#endif // -------------------------------------------------------------------------- // System dependent headers diff --git a/contrib/src/mmedia/sndpcm.cpp b/contrib/src/mmedia/sndpcm.cpp index d08ad384a0..d32d9cd040 100644 --- a/contrib/src/mmedia/sndpcm.cpp +++ b/contrib/src/mmedia/sndpcm.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndpcm.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndulaw.cpp b/contrib/src/mmedia/sndulaw.cpp index 0aaaa4f421..1792a1546b 100644 --- a/contrib/src/mmedia/sndulaw.cpp +++ b/contrib/src/mmedia/sndulaw.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndulaw.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndwav.cpp b/contrib/src/mmedia/sndwav.cpp index a275942b31..5de0369b1a 100644 --- a/contrib/src/mmedia/sndwav.cpp +++ b/contrib/src/mmedia/sndwav.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndwav.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/sndwin.cpp b/contrib/src/mmedia/sndwin.cpp index 0d662f5b12..038a7fb291 100644 --- a/contrib/src/mmedia/sndwin.cpp +++ b/contrib/src/mmedia/sndwin.cpp @@ -6,9 +6,6 @@ // CVSID: $Id$ // Licence: wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndwin.cpp" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/vidbase.cpp b/contrib/src/mmedia/vidbase.cpp index b3c8ac9195..592edcde27 100644 --- a/contrib/src/mmedia/vidbase.cpp +++ b/contrib/src/mmedia/vidbase.cpp @@ -7,9 +7,6 @@ // Copyright: (C) 1997, 1998, Guilhem Lavaux // License: wxWindows license //////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "vidbase.h" -#endif #include "wx/wxprec.h" diff --git a/contrib/src/mmedia/vidwin.cpp b/contrib/src/mmedia/vidwin.cpp index e763ac8df2..38b9a74a8b 100644 --- a/contrib/src/mmedia/vidwin.cpp +++ b/contrib/src/mmedia/vidwin.cpp @@ -8,10 +8,6 @@ // License: wxWindows license // ----------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "vidwin.h" -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/contrib/src/mmedia/vidxanm.cpp b/contrib/src/mmedia/vidxanm.cpp index d6cb52683a..18ad485beb 100644 --- a/contrib/src/mmedia/vidxanm.cpp +++ b/contrib/src/mmedia/vidxanm.cpp @@ -8,10 +8,6 @@ // License: wxWindows license // ------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "vidxanm.h" -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/contrib/src/net/email.cpp b/contrib/src/net/email.cpp index 8fe6fa98f9..b3039e7388 100644 --- a/contrib/src/net/email.cpp +++ b/contrib/src/net/email.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "email.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/net/smapi.cpp b/contrib/src/net/smapi.cpp index 0440864935..3dea4e582d 100644 --- a/contrib/src/net/smapi.cpp +++ b/contrib/src/net/smapi.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "smapi.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/net/web.cpp b/contrib/src/net/web.cpp index d39886809a..c41593bbd9 100644 --- a/contrib/src/net/web.cpp +++ b/contrib/src/net/web.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "web.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/basic.cpp b/contrib/src/ogl/basic.cpp index 63bbc4dfee..1e3e4edfdd 100644 --- a/contrib/src/ogl/basic.cpp +++ b/contrib/src/ogl/basic.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "basic.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/basic2.cpp b/contrib/src/ogl/basic2.cpp index d8a59bc725..972efa17f8 100644 --- a/contrib/src/ogl/basic2.cpp +++ b/contrib/src/ogl/basic2.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "basicp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/bmpshape.cpp b/contrib/src/ogl/bmpshape.cpp index bb57c9fed6..10337901fb 100644 --- a/contrib/src/ogl/bmpshape.cpp +++ b/contrib/src/ogl/bmpshape.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpshape.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/canvas.cpp b/contrib/src/ogl/canvas.cpp index 55e87da514..ba26444ced 100644 --- a/contrib/src/ogl/canvas.cpp +++ b/contrib/src/ogl/canvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "canvas.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/composit.cpp b/contrib/src/ogl/composit.cpp index 7834012aaf..7c9160f975 100644 --- a/contrib/src/ogl/composit.cpp +++ b/contrib/src/ogl/composit.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "composit.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/constrnt.cpp b/contrib/src/ogl/constrnt.cpp index e79d3ed4d0..8ccde2c3d9 100644 --- a/contrib/src/ogl/constrnt.cpp +++ b/contrib/src/ogl/constrnt.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "constrnt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/divided.cpp b/contrib/src/ogl/divided.cpp index aa929c8b55..de10294e59 100644 --- a/contrib/src/ogl/divided.cpp +++ b/contrib/src/ogl/divided.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "divided.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/drawn.cpp b/contrib/src/ogl/drawn.cpp index 800d78db17..2eac139c3d 100644 --- a/contrib/src/ogl/drawn.cpp +++ b/contrib/src/ogl/drawn.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "drawn.h" -#pragma implementation "drawnp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/lines.cpp b/contrib/src/ogl/lines.cpp index a2f65fc16d..02a7c8c114 100644 --- a/contrib/src/ogl/lines.cpp +++ b/contrib/src/ogl/lines.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "lines.h" -#pragma implementation "linesp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/mfutils.cpp b/contrib/src/ogl/mfutils.cpp index 2d752cb1b5..b900f5f425 100644 --- a/contrib/src/ogl/mfutils.cpp +++ b/contrib/src/ogl/mfutils.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mfutils.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/ogldiag.cpp b/contrib/src/ogl/ogldiag.cpp index a1b71884b0..a30a829a27 100644 --- a/contrib/src/ogl/ogldiag.cpp +++ b/contrib/src/ogl/ogldiag.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "ogldiag.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/ogl/oglmisc.cpp b/contrib/src/ogl/oglmisc.cpp index 9e7fd4a1b6..9fcb3617af 100644 --- a/contrib/src/ogl/oglmisc.cpp +++ b/contrib/src/ogl/oglmisc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "misc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/plot/plot.cpp b/contrib/src/plot/plot.cpp index 0e210f7b2f..32f7928216 100644 --- a/contrib/src/plot/plot.cpp +++ b/contrib/src/plot/plot.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "plot.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_bmp.cpp b/contrib/src/xrc/xh_bmp.cpp index 0e4955031c..d0df7d413f 100644 --- a/contrib/src/xrc/xh_bmp.cpp +++ b/contrib/src/xrc/xh_bmp.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_bmpbt.cpp b/contrib/src/xrc/xh_bmpbt.cpp index b0500ed45e..d77af3e3dd 100644 --- a/contrib/src/xrc/xh_bmpbt.cpp +++ b/contrib/src/xrc/xh_bmpbt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bmpbt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_bttn.cpp b/contrib/src/xrc/xh_bttn.cpp index 432e33ccc9..a6cedcf9f0 100644 --- a/contrib/src/xrc/xh_bttn.cpp +++ b/contrib/src/xrc/xh_bttn.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bttn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_cald.cpp b/contrib/src/xrc/xh_cald.cpp index 70359323c9..d6a7b6a3eb 100644 --- a/contrib/src/xrc/xh_cald.cpp +++ b/contrib/src/xrc/xh_cald.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_cald.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_chckb.cpp b/contrib/src/xrc/xh_chckb.cpp index 35086f42b3..9237519ec0 100644 --- a/contrib/src/xrc/xh_chckb.cpp +++ b/contrib/src/xrc/xh_chckb.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_chckb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_chckl.cpp b/contrib/src/xrc/xh_chckl.cpp index 48a55892c2..f68a8ff1ad 100644 --- a/contrib/src/xrc/xh_chckl.cpp +++ b/contrib/src/xrc/xh_chckl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_chckl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_choic.cpp b/contrib/src/xrc/xh_choic.cpp index f2dd0bdb43..0ce677a504 100644 --- a/contrib/src/xrc/xh_choic.cpp +++ b/contrib/src/xrc/xh_choic.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_choic.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_combo.cpp b/contrib/src/xrc/xh_combo.cpp index 2a17231c4f..5417f1f3a9 100644 --- a/contrib/src/xrc/xh_combo.cpp +++ b/contrib/src/xrc/xh_combo.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_combo.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_dlg.cpp b/contrib/src/xrc/xh_dlg.cpp index 2ef929be65..82b0d60515 100644 --- a/contrib/src/xrc/xh_dlg.cpp +++ b/contrib/src/xrc/xh_dlg.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_dlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_frame.cpp b/contrib/src/xrc/xh_frame.cpp index 34327e067e..e083c2b43e 100644 --- a/contrib/src/xrc/xh_frame.cpp +++ b/contrib/src/xrc/xh_frame.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_frame.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_gauge.cpp b/contrib/src/xrc/xh_gauge.cpp index a52b8075aa..abe98be14b 100644 --- a/contrib/src/xrc/xh_gauge.cpp +++ b/contrib/src/xrc/xh_gauge.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_gauge.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_gdctl.cpp b/contrib/src/xrc/xh_gdctl.cpp index afd71480e9..ac4028f4ae 100644 --- a/contrib/src/xrc/xh_gdctl.cpp +++ b/contrib/src/xrc/xh_gdctl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_gdctl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_html.cpp b/contrib/src/xrc/xh_html.cpp index 183e0ae5ef..efd5184b60 100644 --- a/contrib/src/xrc/xh_html.cpp +++ b/contrib/src/xrc/xh_html.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_html.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_listb.cpp b/contrib/src/xrc/xh_listb.cpp index c3c9004d3f..1d3486ff5c 100644 --- a/contrib/src/xrc/xh_listb.cpp +++ b/contrib/src/xrc/xh_listb.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_listb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_listc.cpp b/contrib/src/xrc/xh_listc.cpp index fc25d81bde..447821f1df 100644 --- a/contrib/src/xrc/xh_listc.cpp +++ b/contrib/src/xrc/xh_listc.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_listc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_menu.cpp b/contrib/src/xrc/xh_menu.cpp index 80a992acfa..751133fefc 100644 --- a/contrib/src/xrc/xh_menu.cpp +++ b/contrib/src/xrc/xh_menu.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_menu.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_notbk.cpp b/contrib/src/xrc/xh_notbk.cpp index b8b459cc82..58ce068bc1 100644 --- a/contrib/src/xrc/xh_notbk.cpp +++ b/contrib/src/xrc/xh_notbk.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_notbk.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_panel.cpp b/contrib/src/xrc/xh_panel.cpp index 2e3ceb7266..3cff4ffa20 100644 --- a/contrib/src/xrc/xh_panel.cpp +++ b/contrib/src/xrc/xh_panel.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_panel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_radbt.cpp b/contrib/src/xrc/xh_radbt.cpp index a117b1b9d0..8e7963bec9 100644 --- a/contrib/src/xrc/xh_radbt.cpp +++ b/contrib/src/xrc/xh_radbt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_radbt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_radbx.cpp b/contrib/src/xrc/xh_radbx.cpp index f2f229cd9c..ff78cbe4e7 100644 --- a/contrib/src/xrc/xh_radbx.cpp +++ b/contrib/src/xrc/xh_radbx.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_radbx.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_scrol.cpp b/contrib/src/xrc/xh_scrol.cpp index c9bcf49f81..c94126d358 100644 --- a/contrib/src/xrc/xh_scrol.cpp +++ b/contrib/src/xrc/xh_scrol.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_scrol.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_scwin.cpp b/contrib/src/xrc/xh_scwin.cpp index 81c8b31573..614e402f22 100644 --- a/contrib/src/xrc/xh_scwin.cpp +++ b/contrib/src/xrc/xh_scwin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_scwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_sizer.cpp b/contrib/src/xrc/xh_sizer.cpp index 44a1c002e1..97f4f0599a 100644 --- a/contrib/src/xrc/xh_sizer.cpp +++ b/contrib/src/xrc/xh_sizer.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_sizer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_slidr.cpp b/contrib/src/xrc/xh_slidr.cpp index acf894537d..50d0cf0633 100644 --- a/contrib/src/xrc/xh_slidr.cpp +++ b/contrib/src/xrc/xh_slidr.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_slidr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_spin.cpp b/contrib/src/xrc/xh_spin.cpp index 6419ef5cca..ca825f3dad 100644 --- a/contrib/src/xrc/xh_spin.cpp +++ b/contrib/src/xrc/xh_spin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_spin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_split.cpp b/contrib/src/xrc/xh_split.cpp index 4b23f9ff60..ac13e61b66 100644 --- a/contrib/src/xrc/xh_split.cpp +++ b/contrib/src/xrc/xh_split.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_split.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_statbar.cpp b/contrib/src/xrc/xh_statbar.cpp index df25e13d9f..21bd930b7b 100644 --- a/contrib/src/xrc/xh_statbar.cpp +++ b/contrib/src/xrc/xh_statbar.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_statbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_stbmp.cpp b/contrib/src/xrc/xh_stbmp.cpp index b1ccad90f5..d74d30f2f1 100644 --- a/contrib/src/xrc/xh_stbmp.cpp +++ b/contrib/src/xrc/xh_stbmp.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_stbmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_stbox.cpp b/contrib/src/xrc/xh_stbox.cpp index 1cac4fb6e3..7787f53f16 100644 --- a/contrib/src/xrc/xh_stbox.cpp +++ b/contrib/src/xrc/xh_stbox.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_stbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_stlin.cpp b/contrib/src/xrc/xh_stlin.cpp index 340dc4e945..a7296b1811 100644 --- a/contrib/src/xrc/xh_stlin.cpp +++ b/contrib/src/xrc/xh_stlin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_stlin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_sttxt.cpp b/contrib/src/xrc/xh_sttxt.cpp index 955642ed64..f4787ec6a7 100644 --- a/contrib/src/xrc/xh_sttxt.cpp +++ b/contrib/src/xrc/xh_sttxt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_sttxt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_text.cpp b/contrib/src/xrc/xh_text.cpp index a6d1c711c1..4ae2eaa8fd 100644 --- a/contrib/src/xrc/xh_text.cpp +++ b/contrib/src/xrc/xh_text.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_text.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_tglbtn.cpp b/contrib/src/xrc/xh_tglbtn.cpp index 1e6219ca12..cd82f7322c 100644 --- a/contrib/src/xrc/xh_tglbtn.cpp +++ b/contrib/src/xrc/xh_tglbtn.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_tglbtn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_toolb.cpp b/contrib/src/xrc/xh_toolb.cpp index ad772ee357..80a75c163f 100644 --- a/contrib/src/xrc/xh_toolb.cpp +++ b/contrib/src/xrc/xh_toolb.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_toolb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_tree.cpp b/contrib/src/xrc/xh_tree.cpp index ada2a31489..865b563744 100644 --- a/contrib/src/xrc/xh_tree.cpp +++ b/contrib/src/xrc/xh_tree.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_tree.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_unkwn.cpp b/contrib/src/xrc/xh_unkwn.cpp index 1d3d7ce023..45d889e38e 100644 --- a/contrib/src/xrc/xh_unkwn.cpp +++ b/contrib/src/xrc/xh_unkwn.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_unkwn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xh_wizrd.cpp b/contrib/src/xrc/xh_wizrd.cpp index 958845ba64..5dd6ac8b54 100644 --- a/contrib/src/xrc/xh_wizrd.cpp +++ b/contrib/src/xrc/xh_wizrd.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_wizrd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xml.cpp b/contrib/src/xrc/xml.cpp index 62abce457a..072bfd48dd 100644 --- a/contrib/src/xrc/xml.cpp +++ b/contrib/src/xrc/xml.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xml.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xmlres.cpp b/contrib/src/xrc/xmlres.cpp index 34c7f505e4..4bb0875199 100644 --- a/contrib/src/xrc/xmlres.cpp +++ b/contrib/src/xrc/xmlres.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xmlres.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/src/xrc/xmlrsall.cpp b/contrib/src/xrc/xmlrsall.cpp index 4075660f26..ff7f84014d 100644 --- a/contrib/src/xrc/xmlrsall.cpp +++ b/contrib/src/xrc/xmlrsall.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -// -- Already done in xmlres.cpp -//#ifdef __GNUG__ -//#pragma implementation "xmlres.h" -//#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/convertrc/convert.cpp b/contrib/utils/convertrc/convert.cpp index 3368af3eb9..b58a4c338e 100644 --- a/contrib/utils/convertrc/convert.cpp +++ b/contrib/utils/convertrc/convert.cpp @@ -5,11 +5,6 @@ 3. Converts portions of an .RC file into a wxr file */ -#ifdef __GNUG__ -#pragma implementation "convert.cpp" -#pragma interface "convert.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/convertrc/rc2wxr.cpp b/contrib/utils/convertrc/rc2wxr.cpp index 30a0262a6c..ebec7f769f 100644 --- a/contrib/utils/convertrc/rc2wxr.cpp +++ b/contrib/utils/convertrc/rc2wxr.cpp @@ -1,1110 +1,553 @@ // rc2wxr.cpp: implementation of the rc2wxr class. - // - ////////////////////////////////////////////////////////////////////// - //Author: Brian Gavin 9/24/00 - //License: wxWindows License /* - WARNING- I know this code has some bugs to work out but - I don't plan to fix them since I feel that wxr files will - not be used much longer. - This code was used as a starting point for my rc2xml converter - */ -#ifdef __GNUG__ - -#pragma implementation "rc2wxr.cpp" - -#pragma interface "rc2wxr.cpp" - -#endif - - - // For compilers that support precompilation, includes "wx/wx.h". - #include "wx/wxprec.h" - - #ifdef __BORLANDC__ - #pragma hdrstop - #endif - - // for all others, include the necessary headers (this file is usually all you - // need because it includes almost all "standard" wxWindows headers - #ifndef WX_PRECOMP - #include - #endif - - - #include "rc2wxr.h" - #include "wx/image.h" - #include "wx/resource.h" - ////////////////////////////////////////////////////////////////////// - // Construction/Destruction - ////////////////////////////////////////////////////////////////////// - - rc2wxr::rc2wxr() - { - m_done=FALSE; - m_controlid=6000; - } - - rc2wxr::~rc2wxr() - { - - } - - void rc2wxr::Convert(wxString wxrfile, wxString rcfile) - { - m_rc.Open(rcfile); - m_filesize=m_rc.Length(); - if( (m_wxr = fopen( wxrfile, "wt" )) == NULL ) - { - return; - } - - - wxString tok,prevtok; - - - while (!m_done) - { - - tok=GetToken(); - - if (tok=="DIALOG") - { - ParseDialog(prevtok); - } - - - if (tok=="MENU") - { - ParseMenu(prevtok); - } - - prevtok=tok; - } - - fclose(m_wxr); - //fclose(m_rc); - m_rc.Close(); - - } - - - /* - Example .rc - Microsoft style as of v5.0 - IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 55 - STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU - CAPTION "About Funimator" - FONT 8, "MS Sans Serif" - - Borland 4.5 style rc - IDD_DIBATTR DIALOG 7, 16, 172, 119 - STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU - CAPTION "DIB Attributes" - FONT 8, "MS Sans Serif" - { - DEFPUSHBUTTON "Ok", IDOK, 114, 8, 50, 14 - PUSHBUTTON "Cancel", IDCANCEL, 114, 28, 50, 14 - - - - */ - void rc2wxr::ParseDialog(wxString dlgname) - { - wxString tok; - static int dlgid=999; - dlgid++; - /* Make sure that this really is a dialog - microsoft reuses the keyword DIALOG for other things - */ - tok=PeekToken(); - //Microsoft notation? - if (tok=="DISCARDABLE") - { - tok=GetToken(); - tok=PeekToken(); - } - //This isn't a Dialog resource eject eject - if (!tok.IsNumber()) - return; - //Generate Dialog text - fprintf(m_wxr,"static char *dialog%i = \"dialog(name = '%s',\\\n",dlgid,dlgname); - //be lazy about style for now. add it later - fprintf(m_wxr,"style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\\\n"); - - fprintf(m_wxr,"id = %i,\\\n",dlgid); - - //Record x,y,width,height - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr,"x = %i, y = %i, width = %i, height = %i,\\\n",x,y,width,height); - - - //CAPTION "About Funimator" - //Get Title - tok=GetToken(); - wxString title; - - while ((tok!="BEGIN")&(tok!="{")) - { - if (tok=="CAPTION") - { - title=GetQuoteField(); - fprintf(m_wxr,"title = '%s',\\\n",title); - } - tok=GetToken(); - } - fprintf(m_wxr,"use_dialog_units = 1,\\\n"); - fprintf(m_wxr,"use_system_defaults = 0,\\\n"); - - fprintf(m_wxr,"font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif'],\\\n"); - ParseControls(); - fprintf(m_wxr,").\";\n\n"); - } - - /* - BEGIN - - - - EDITTEXT IDC_BANDS,36,83,22,14,ES_AUTOHSCROLL | ES_NUMBER | NOT - WS_TABSTOP - LTEXT "Bands",IDC_STATIC,11,86,21,8 - EDITTEXT IDC_NAME,10,3,75,14,ES_AUTOHSCROLL - END - */ - void rc2wxr::ParseControls() - { - wxString tok; - - tok=GetToken(); - while ((tok!="END")&(tok!="}")) - { - if (tok=="LTEXT") - ParseStaticText(); - if (tok=="EDITTEXT") - ParseTextCtrl(); - if (tok=="PUSHBUTTON") - ParsePushButton(); - if (tok=="DEFPUSHBUTTON") - ParsePushButton(); - if (tok=="GROUPBOX") - ParseGroupBox(); - if (tok=="COMBOBOX") - ParseComboBox(); - if (tok=="CONTROL") - ParseControlMS(); - - tok=GetToken(); - } - - } - //LTEXT "Radius",IDC_STATIC,9,67,23,8 - void rc2wxr::ParseStaticText() - { - wxString tok; - wxString phrase,varname; - phrase=GetQuoteField(); - varname=GetToken(); - m_controlid++; - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr," control = [%i,wxStaticText,'%s','0','%s',",m_controlid,phrase,varname); - fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - } - //EDITTEXT IDC_RADIUS,36,65,40,14,ES_AUTOHSCROLL - void rc2wxr::ParseTextCtrl() - { - wxString tok; - wxString varname; - varname=GetToken(); - m_controlid++; - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr," control = [%i,wxTextCtrl,'','0','%s',",m_controlid,varname); - fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - - } - //PUSHBUTTON "Create/Update",IDC_CREATE,15,25,53,13,NOT WS_TABSTOP - void rc2wxr::ParsePushButton() - { - wxString tok; - wxString phrase,varname; - phrase=GetQuoteField(); - varname=GetToken(); - int c; - m_controlid++; - c=m_controlid; - if (varname=="IDOK") - c=wxID_OK; - - if (varname=="IDCANCEL") - c=wxID_CANCEL; - - if (varname=="IDAPPLY") - c=wxID_APPLY; - - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr," control = [%i,wxButton,'%s','0','%s',",c,phrase,varname); - fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - - } - - - bool rc2wxr::Seperator(int ch) - { - if ((ch==' ')|(ch==',')|(ch==13)|(ch==10)|(ch=='|')) - return TRUE; - - if (ch==EOF) - { - m_done=TRUE; - return TRUE; - } - return FALSE; - } - - void rc2wxr::ParseGroupBox() - { - // GROUPBOX "Rotate",IDC_STATIC,1,1,71,79 - wxString tok; - wxString phrase,varname; - phrase=GetQuoteField(); - varname=GetToken(); - m_controlid++; - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr," control = [%i,wxStaticBox,'%s','0','%s',",m_controlid,phrase,varname); - fprintf(m_wxr,"%i,%i,%i,%i,'',\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - - - } - - void rc2wxr::ReadRect(int & x, int & y, int & width, int & height) - { - x=atoi(GetToken()); - y=atoi(GetToken()); - width=atoi(GetToken()); - height=atoi(GetToken()); - - } - - wxString rc2wxr::GetToken() - { - wxString tok=""; - - if (m_rc.Eof()) - { - m_done=TRUE; - return tok; - } - - int ch=0; - ReadChar(ch); - if (ch==EOF) - { - m_done=TRUE; - return tok; - } - - while (Seperator(ch)) - { - ReadChar(ch); - if (m_done) - return tok; - } - - if (ch==EOF) - { - m_done=TRUE; - - } - - - while (!Seperator(ch)) - { - tok+=(char)ch; - ReadChar(ch); - - } - - if (ch==EOF) - m_done=TRUE; - - - return tok; - } - - wxString rc2wxr::GetQuoteField() - { - wxString phrase; - //ASCII code 34 " - int ch=0; - ReadChar(ch); - - while (ch!=34) - ReadChar(ch); - - ReadChar(ch); - - while (ch!=34) - { - phrase+=(char)ch; - ReadChar(ch); - } - return phrase; - } - - void rc2wxr::ReadChar(int &ch) - { - int result; - result=m_rc.Tell(); - - if((result>=m_filesize)) - m_done=TRUE; - - result=m_rc.Read(&ch,1); - - if((result==-1)) - m_done=TRUE; - - if(ch==EOF) - m_done=TRUE; - } - - void rc2wxr::ParseComboBox() - { - /* COMBOBOX IDC_SCALECOMBO,10,110,48,52,CBS_DROPDOWNLIST | CBS_SORT | - WS_VSCROLL | WS_TABSTOP */ - wxString tok; - wxString varname; - varname=GetToken(); - m_controlid++; - int x,y,width,height; - ReadRect(x,y,width,height); - - fprintf(m_wxr," control = [%i,wxChoice,'','0','%s',",m_controlid,varname); - fprintf(m_wxr,"%i,%i,%i,%i,[],\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - - - } - - void rc2wxr::ParseMenu(wxString name) - { - wxString tok=""; - static int menuid=0; - menuid++; - fprintf(m_wxr,"static char *MenuBar%i = \"menu(name = '%s',\\\n",menuid,name); - fprintf(m_wxr,"menu = \\\n"); - fprintf(m_wxr,"[\\\n"); - - while ((tok!="BEGIN")&(tok!="{")) - tok=GetToken(); - - while ((tok!="END")&(tok!="}")) - { - tok=GetToken(); - if (tok=="POPUP") - { - ParsePopupMenu(); - fprintf(m_wxr," ],\\\n"); - } - } - - fprintf(m_wxr,"]).\";\n\n"); - } - - void rc2wxr::ParsePopupMenu() - { - static int menuitem=99; - menuitem++; - - wxString tok; - tok=GetQuoteField(); - int spot; - //Remove /t because it causes problems - spot=tok.First("\\t"); - tok=tok.Left(spot); - fprintf(m_wxr," ['%s',%i,'',\\\n",tok,menuitem); - while ((tok!="BEGIN")&(tok!="{")) - tok=GetToken(); - - while ((tok!="END")&(tok!="}")) - { - tok=GetToken(); - if (tok=="MENUITEM") - { - if (PeekToken()=="SEPARATOR") - fprintf(m_wxr," [],\\\n"); - else - { - tok=GetQuoteField(); - //Remove /t because it causes problems - spot=tok.First("\\t"); - tok=tok.Left(spot); - menuitem++; - fprintf(m_wxr," ['%s',%i,''],\\\n",tok,menuitem); - +} } } - - -} - - - - } - - wxString rc2wxr::PeekToken() - { - wxString tok; - int p; - p=m_rc.Tell(); - tok=GetToken(); - - m_rc.Seek(p); - return tok; - } - //Windows pain in the butt CONTROL - void rc2wxr::ParseControlMS() - { - wxString label,varname,kindctrl,tok; - label=GetQuoteField(); - varname=GetToken(); - kindctrl=GetQuoteField(); - kindctrl.MakeUpper(); - - - if (kindctrl=="MSCTLS_TRACKBAR32") - ParseSlider(label,varname); - if (kindctrl=="MSCTLS_PROGRESS32") - ParseProgressBar(label,varname); - if (kindctrl=="BUTTON") - ParseCtrlButton(label,varname); - } - /* CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | - TBS_NOTICKS | WS_TABSTOP,52,73,100,15 - */ - - void rc2wxr::ParseSlider(wxString label, wxString varname) - { - wxString tok; - while (ReadOrs(tok)); - fprintf(m_wxr," control = [%i,wxSlider,'','wxSL_HORIZONTAL','%s',",m_controlid,varname); - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr,"%i,%i,%i,%i,",x,y,width,height); - fprintf(m_wxr," 1, 1, 10,\\\n"); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - } - /* - CONTROL "Progress1",CG_IDC_PROGDLG_PROGRESS,"msctls_progress32", - WS_BORDER,15,52,154,13 - */ void rc2wxr::ParseProgressBar(wxString label, wxString varname) - { - wxString tok; - while (ReadOrs(tok)); - fprintf(m_wxr," control = [%i,wxGauge,'','wxGA_HORIZONTAL','%s',",m_controlid,varname); - int x,y,width,height; - ReadRect(x,y,width,height); - fprintf(m_wxr,"%i,%i,%i,%i,",x,y,width,height); - fprintf(m_wxr," 0, 10,\\\n"); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - } - - bool rc2wxr::ReadOrs(wxString & w) - { - wxString tok; - tok=PeekToken(); - if (tok.IsNumber()) - return false; - w=GetToken(); - return TRUE; - } - - //Is it a check button or a radio button - void rc2wxr::ParseCtrlButton(wxString label, wxString varname) - { - wxString tok; - tok=GetToken(); - - m_controlid++; - int x,y,width,height; - - if (tok=="BS_AUTOCHECKBOX") - { - fprintf(m_wxr," control = [%i,wxCheckBox,'%s','0','%s',",m_controlid,label,varname); - while (ReadOrs(tok)); - ReadRect(x,y,width,height); - fprintf(m_wxr,"%i,%i,%i,%i,0,\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - } - - if (tok=="BS_AUTORADIOBUTTON") - { - fprintf(m_wxr," control = [%i,wxRadioButton,'%s','0','%s',",m_controlid,label,varname); - while(ReadOrs(tok)); - ReadRect(x,y,width,height); - fprintf(m_wxr,"%i,%i,%i,%i,0,\\\n",x,y,width,height); - fprintf(m_wxr,"[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"); - } - - - - } - - diff --git a/contrib/utils/convertrc/rc2xml.cpp b/contrib/utils/convertrc/rc2xml.cpp index 3c8e797ae1..fc1f644a53 100644 --- a/contrib/utils/convertrc/rc2xml.cpp +++ b/contrib/utils/convertrc/rc2xml.cpp @@ -15,11 +15,6 @@ cross platform (wxGTK,etc) 3. Be able to abort incorrectly formated files without crashing */ -#ifdef __GNUG__ -#pragma implementation "rc2xml.cpp" -#pragma interface "rc2xml.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/convertrc/wxr2xml.cpp b/contrib/utils/convertrc/wxr2xml.cpp index f2e331ec5c..ae1fb8c618 100644 --- a/contrib/utils/convertrc/wxr2xml.cpp +++ b/contrib/utils/convertrc/wxr2xml.cpp @@ -11,9 +11,6 @@ How to use class: wxr2xml trans; trans->Convert("Myfile.wxr","Myfile.xml"); */ -#ifdef __GNUG__ -#pragma implementation "wxr2xml.h" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrc/wxrc.cpp b/contrib/utils/wxrc/wxrc.cpp index 5820dee366..33a4bc78a1 100644 --- a/contrib/utils/wxrc/wxrc.cpp +++ b/contrib/utils/wxrc/wxrc.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation - #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/edapp.cpp b/contrib/utils/wxrcedit/edapp.cpp index 10a151c891..1a3ef4723b 100644 --- a/contrib/utils/wxrcedit/edapp.cpp +++ b/contrib/utils/wxrcedit/edapp.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation - #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/editor.cpp b/contrib/utils/wxrcedit/editor.cpp index d6b7c22f90..bd5ef7a5bd 100644 --- a/contrib/utils/wxrcedit/editor.cpp +++ b/contrib/utils/wxrcedit/editor.cpp @@ -6,11 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "editor.h" - #pragma implementation "treedt.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/editor.h b/contrib/utils/wxrcedit/editor.h index a81f2d0892..777af24204 100644 --- a/contrib/utils/wxrcedit/editor.h +++ b/contrib/utils/wxrcedit/editor.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "editor.h" -#endif - #ifndef _EDITOR_H_ #define _EDITOR_H_ diff --git a/contrib/utils/wxrcedit/nodehnd.cpp b/contrib/utils/wxrcedit/nodehnd.cpp index 306e91264c..710a519fbb 100644 --- a/contrib/utils/wxrcedit/nodehnd.cpp +++ b/contrib/utils/wxrcedit/nodehnd.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "nodehnd.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/nodehnd.h b/contrib/utils/wxrcedit/nodehnd.h index 869c324fc4..cb75414349 100644 --- a/contrib/utils/wxrcedit/nodehnd.h +++ b/contrib/utils/wxrcedit/nodehnd.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "nodehnd.h" -#endif - #ifndef _NODEHND_H_ #define _NODEHND_H_ diff --git a/contrib/utils/wxrcedit/nodesdb.cpp b/contrib/utils/wxrcedit/nodesdb.cpp index 53a9a9595c..aafd9bc0f8 100644 --- a/contrib/utils/wxrcedit/nodesdb.cpp +++ b/contrib/utils/wxrcedit/nodesdb.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "nodesdb.h" -#endif - // For compilers that support precompilation, includes _T("wx/wx.h"). #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/nodesdb.h b/contrib/utils/wxrcedit/nodesdb.h index 9cff136e98..991e8b4ef9 100644 --- a/contrib/utils/wxrcedit/nodesdb.h +++ b/contrib/utils/wxrcedit/nodesdb.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "nodesdb.h" -#endif - #ifndef _NODESDB_H_ #define _NODESDB_H_ diff --git a/contrib/utils/wxrcedit/pe_adv.cpp b/contrib/utils/wxrcedit/pe_adv.cpp index 7d9c16777d..06ff34da87 100644 --- a/contrib/utils/wxrcedit/pe_adv.cpp +++ b/contrib/utils/wxrcedit/pe_adv.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "pe_adv.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/pe_adv.h b/contrib/utils/wxrcedit/pe_adv.h index 802dbd52ec..0fd8914364 100644 --- a/contrib/utils/wxrcedit/pe_adv.h +++ b/contrib/utils/wxrcedit/pe_adv.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "pe_adv.h" -#endif - #ifndef _PE_ADV_H_ #define _PE_ADV_H_ diff --git a/contrib/utils/wxrcedit/pe_basic.cpp b/contrib/utils/wxrcedit/pe_basic.cpp index 0b017f5904..78abb282ed 100644 --- a/contrib/utils/wxrcedit/pe_basic.cpp +++ b/contrib/utils/wxrcedit/pe_basic.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "pe_basic.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/pe_basic.h b/contrib/utils/wxrcedit/pe_basic.h index 10ed202739..f82f3b0403 100644 --- a/contrib/utils/wxrcedit/pe_basic.h +++ b/contrib/utils/wxrcedit/pe_basic.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "pe_basic.h" -#endif - #ifndef _PE_BASIC_H_ #define _PE_BASIC_H_ diff --git a/contrib/utils/wxrcedit/preview.cpp b/contrib/utils/wxrcedit/preview.cpp index 2b5973a211..d0d31c7458 100644 --- a/contrib/utils/wxrcedit/preview.cpp +++ b/contrib/utils/wxrcedit/preview.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "preview.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/preview.h b/contrib/utils/wxrcedit/preview.h index 50b690a9df..d4791dd80f 100644 --- a/contrib/utils/wxrcedit/preview.h +++ b/contrib/utils/wxrcedit/preview.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "preview.h" -#endif - #ifndef _PREVIEW_H_ #define _PREVIEW_H_ diff --git a/contrib/utils/wxrcedit/propedit.cpp b/contrib/utils/wxrcedit/propedit.cpp index a8029088ee..fb84eaffeb 100644 --- a/contrib/utils/wxrcedit/propedit.cpp +++ b/contrib/utils/wxrcedit/propedit.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "propedit.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/propedit.h b/contrib/utils/wxrcedit/propedit.h index 8676a3e262..624b975580 100644 --- a/contrib/utils/wxrcedit/propedit.h +++ b/contrib/utils/wxrcedit/propedit.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "propedit.h" -#endif - #ifndef _PROPEDIT_H_ #define _PROPEDIT_H_ diff --git a/contrib/utils/wxrcedit/propframe.cpp b/contrib/utils/wxrcedit/propframe.cpp index 35022bd126..a86c61c084 100644 --- a/contrib/utils/wxrcedit/propframe.cpp +++ b/contrib/utils/wxrcedit/propframe.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "propframe.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/propframe.h b/contrib/utils/wxrcedit/propframe.h index 8f9cd7c74a..abddd19989 100644 --- a/contrib/utils/wxrcedit/propframe.h +++ b/contrib/utils/wxrcedit/propframe.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "propframe.h" -#endif - #ifndef _PROPFRAME_H_ #define _PROPFRAME_H_ diff --git a/contrib/utils/wxrcedit/splittree.cpp b/contrib/utils/wxrcedit/splittree.cpp index c22945844a..a58d3452be 100644 --- a/contrib/utils/wxrcedit/splittree.cpp +++ b/contrib/utils/wxrcedit/splittree.cpp @@ -18,9 +18,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "splittree.h" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/splittree.h b/contrib/utils/wxrcedit/splittree.h index c5c53b8e0a..eafca48b83 100644 --- a/contrib/utils/wxrcedit/splittree.h +++ b/contrib/utils/wxrcedit/splittree.h @@ -14,10 +14,6 @@ #ifndef _WX_SPLITTREE_H_ #define _WX_SPLITTREE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "splittree.h" -#endif - // Set this to 1 to use generic tree control (doesn't yet work properly) #define USE_GENERIC_TREECTRL 0 diff --git a/contrib/utils/wxrcedit/treedt.h b/contrib/utils/wxrcedit/treedt.h index 4360866305..4723621471 100644 --- a/contrib/utils/wxrcedit/treedt.h +++ b/contrib/utils/wxrcedit/treedt.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "treedt.h" -#endif - #ifndef _TREEDT_H_ #define _TREEDT_H_ diff --git a/contrib/utils/wxrcedit/xmlhelpr.cpp b/contrib/utils/wxrcedit/xmlhelpr.cpp index 55b5ade824..1c4c09475d 100644 --- a/contrib/utils/wxrcedit/xmlhelpr.cpp +++ b/contrib/utils/wxrcedit/xmlhelpr.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "xmlhelpr.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/contrib/utils/wxrcedit/xmlhelpr.h b/contrib/utils/wxrcedit/xmlhelpr.h index 67300429c2..eeccd4f713 100644 --- a/contrib/utils/wxrcedit/xmlhelpr.h +++ b/contrib/utils/wxrcedit/xmlhelpr.h @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "xmlhelpr.h" -#endif - #ifndef _XMLHELPR_H_ #define _XMLHELPR_H_ diff --git a/demos/bombs/bombs.cpp b/demos/bombs/bombs.cpp index 26a1779409..48177a31ce 100644 --- a/demos/bombs/bombs.cpp +++ b/demos/bombs/bombs.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/demos/bombs/bombs1.cpp b/demos/bombs/bombs1.cpp index e884888349..e37a2a558d 100644 --- a/demos/bombs/bombs1.cpp +++ b/demos/bombs/bombs1.cpp @@ -14,10 +14,6 @@ * class BombsCanvas */ -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/demos/bombs/game.cpp b/demos/bombs/game.cpp index d49b6a434d..369ff8319a 100644 --- a/demos/bombs/game.cpp +++ b/demos/bombs/game.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/demos/dbbrowse/browsedb.cpp b/demos/dbbrowse/browsedb.cpp index 569730e1ae..9378da979a 100644 --- a/demos/dbbrowse/browsedb.cpp +++ b/demos/dbbrowse/browsedb.cpp @@ -8,15 +8,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -//-- 1) -//---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/dbbrowse.cpp b/demos/dbbrowse/dbbrowse.cpp index c581096558..6472690a2e 100644 --- a/demos/dbbrowse/dbbrowse.cpp +++ b/demos/dbbrowse/dbbrowse.cpp @@ -9,13 +9,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/dbgrid.cpp b/demos/dbbrowse/dbgrid.cpp index 3412640ac7..ea0cd2d223 100644 --- a/demos/dbbrowse/dbgrid.cpp +++ b/demos/dbbrowse/dbgrid.cpp @@ -8,13 +8,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/dbtree.cpp b/demos/dbbrowse/dbtree.cpp index f269b33815..c7cf8de9bc 100644 --- a/demos/dbbrowse/dbtree.cpp +++ b/demos/dbbrowse/dbtree.cpp @@ -8,13 +8,7 @@ // Copyright: (c) Mark Johnson, Berlin Germany // Licence: wxWindows license //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/dbtree.h b/demos/dbbrowse/dbtree.h index 7f318e34b5..c7fb8d8724 100644 --- a/demos/dbbrowse/dbtree.h +++ b/demos/dbbrowse/dbtree.h @@ -7,8 +7,8 @@ // Copyright: (c) Mark Johnson // Licence: wxWindows license // RCS-ID: $Id$ - //---------------------------------------------------------------------------------------- + class MainDoc; // Declared in doc.h file //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/dlguser.cpp b/demos/dbbrowse/dlguser.cpp index 8332341f06..0ff0c8734b 100644 --- a/demos/dbbrowse/dlguser.cpp +++ b/demos/dbbrowse/dlguser.cpp @@ -8,13 +8,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/doc.cpp b/demos/dbbrowse/doc.cpp index 0b05fc978b..4277c0e13e 100644 --- a/demos/dbbrowse/doc.cpp +++ b/demos/dbbrowse/doc.cpp @@ -9,13 +9,7 @@ // Licence: wxWindows license // RCS-ID: $Id$ //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/pgmctrl.cpp b/demos/dbbrowse/pgmctrl.cpp index 1d43e67cd8..536b218d56 100644 --- a/demos/dbbrowse/pgmctrl.cpp +++ b/demos/dbbrowse/pgmctrl.cpp @@ -8,13 +8,7 @@ // Copyright: (c) Mark Johnson, Berlin Germany // Licence: wxWindows license //---------------------------------------------------------------------------------------- -//-- all #ifdefs that the whole Project needs. ------------------------------------------- -//---------------------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif -//---------------------------------------------------------------------------------------- + // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" //---------------------------------------------------------------------------------------- diff --git a/demos/dbbrowse/tabpgwin.cpp b/demos/dbbrowse/tabpgwin.cpp index a6e102fc70..9b0e24140b 100644 --- a/demos/dbbrowse/tabpgwin.cpp +++ b/demos/dbbrowse/tabpgwin.cpp @@ -16,11 +16,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -//#pragma interface -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/demos/dbbrowse/tabpgwin.h b/demos/dbbrowse/tabpgwin.h index c9928ebf85..4485897948 100644 --- a/demos/dbbrowse/tabpgwin.h +++ b/demos/dbbrowse/tabpgwin.h @@ -20,10 +20,6 @@ #ifndef __TABPGWIN_G__ #define __TABPGWIN_G__ -//#ifdef __GNUG__ -//#pragma interface -//#endif - #include "wx/defs.h" #include "wx/window.h" #include "wx/string.h" diff --git a/demos/forty/canvas.cpp b/demos/forty/canvas.cpp index 995e7cbfbf..aac06acacb 100644 --- a/demos/forty/canvas.cpp +++ b/demos/forty/canvas.cpp @@ -11,11 +11,6 @@ // Last modified: 22nd July 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/forty/card.cpp b/demos/forty/card.cpp index 94df438732..34eee64c10 100644 --- a/demos/forty/card.cpp +++ b/demos/forty/card.cpp @@ -19,11 +19,6 @@ //| hbmap_pictures. //+-------------------------------------------------------------+ -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/forty/forty.cpp b/demos/forty/forty.cpp index 582cb08f3d..f65ffecd9d 100644 --- a/demos/forty/forty.cpp +++ b/demos/forty/forty.cpp @@ -11,11 +11,6 @@ // Last modified: 22nd July 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/forty/game.cpp b/demos/forty/game.cpp index 9b9048f6de..a4a83d0f73 100644 --- a/demos/forty/game.cpp +++ b/demos/forty/game.cpp @@ -11,11 +11,6 @@ // Last modified: 22nd July 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/forty/pile.cpp b/demos/forty/pile.cpp index 34796835c1..c434e77b19 100644 --- a/demos/forty/pile.cpp +++ b/demos/forty/pile.cpp @@ -15,11 +15,6 @@ //| The base class for holding piles of playing cards. | //+-------------------------------------------------------------+ -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -30,9 +25,6 @@ #ifndef WX_PRECOMP #include "wx/wx.h" #endif -#ifdef __GNUG__ -#pragma implementation -#endif #include #include diff --git a/demos/forty/playerdg.cpp b/demos/forty/playerdg.cpp index 4c5c48e3fc..89ff2ea675 100644 --- a/demos/forty/playerdg.cpp +++ b/demos/forty/playerdg.cpp @@ -11,11 +11,6 @@ // Last modified: 22nd July 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/forty/scoredg.cpp b/demos/forty/scoredg.cpp index 4af39aa4f1..ca98017c53 100644 --- a/demos/forty/scoredg.cpp +++ b/demos/forty/scoredg.cpp @@ -11,11 +11,6 @@ // Last modified: 22nd July 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/forty/scorefil.cpp b/demos/forty/scorefil.cpp index ef98e7761b..56cbdaa2e9 100644 --- a/demos/forty/scorefil.cpp +++ b/demos/forty/scorefil.cpp @@ -11,11 +11,6 @@ // Last modified: 14th May 1998 - ported to wxWindows 2.0 ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/fractal/fractal.cpp b/demos/fractal/fractal.cpp index 0bf697e9e6..1f3193e972 100644 --- a/demos/fractal/fractal.cpp +++ b/demos/fractal/fractal.cpp @@ -27,11 +27,6 @@ doesn't seem to be an equivalent of under wxWindows, and my quick hack doesn't fix. */ -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP diff --git a/demos/life/dialogs.cpp b/demos/life/dialogs.cpp index 9b54a3c773..444c1d6b8e 100644 --- a/demos/life/dialogs.cpp +++ b/demos/life/dialogs.cpp @@ -13,10 +13,6 @@ // headers, declarations, constants // ========================================================================== -#ifdef __GNUG__ - #pragma implementation "dialogs.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index f5ebd0a32c..4ed8735f6a 100644 --- a/demos/life/dialogs.h +++ b/demos/life/dialogs.h @@ -12,10 +12,6 @@ #ifndef _LIFE_DIALOGS_H_ #define _LIFE_DIALOGS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dialogs.h" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" diff --git a/demos/life/game.cpp b/demos/life/game.cpp index a356f550a1..5cf380f281 100644 --- a/demos/life/game.cpp +++ b/demos/life/game.cpp @@ -17,10 +17,6 @@ // headers, declarations, constants // ========================================================================== -#ifdef __GNUG__ - #pragma implementation "game.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/life/game.h b/demos/life/game.h index b86757ebf9..d46bc89492 100644 --- a/demos/life/game.h +++ b/demos/life/game.h @@ -12,10 +12,6 @@ #ifndef _LIFE_GAME_H_ #define _LIFE_GAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "game.h" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" diff --git a/demos/life/life.cpp b/demos/life/life.cpp index b6d1a7ae58..c1350fd6a8 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -13,10 +13,6 @@ // headers, declarations, constants // ========================================================================== -#ifdef __GNUG__ - #pragma implementation "life.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/life/life.h b/demos/life/life.h index f23d162a93..de09341fd7 100644 --- a/demos/life/life.h +++ b/demos/life/life.h @@ -12,10 +12,6 @@ #ifndef _LIFE_APP_H_ #define _LIFE_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "life.h" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" diff --git a/demos/life/reader.cpp b/demos/life/reader.cpp index 4d348ef402..5ef40baceb 100644 --- a/demos/life/reader.cpp +++ b/demos/life/reader.cpp @@ -13,10 +13,6 @@ // headers, declarations, constants // ========================================================================== -#ifdef __GNUG__ - #pragma implementation "reader.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/demos/life/reader.h b/demos/life/reader.h index 803d219637..eb360569bb 100644 --- a/demos/life/reader.h +++ b/demos/life/reader.h @@ -12,10 +12,6 @@ #ifndef _LIFE_READER_H_ #define _LIFE_READER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "reader.h" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" diff --git a/demos/poem/wxpoem.cpp b/demos/poem/wxpoem.cpp index b67c0c0fca..9b3b679ddb 100644 --- a/demos/poem/wxpoem.cpp +++ b/demos/poem/wxpoem.cpp @@ -14,10 +14,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wxpoem.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/demos/poem/wxpoem.h b/demos/poem/wxpoem.h index b9950e3ed1..e2eb33032f 100644 --- a/demos/poem/wxpoem.h +++ b/demos/poem/wxpoem.h @@ -14,10 +14,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wxpoem.h" -#endif - // Define a new application class MyApp: public wxApp { diff --git a/include/wx/app.h b/include/wx/app.h index e9db923a6f..d784314e98 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -13,10 +13,6 @@ #ifndef _WX_APP_H_BASE_ #define _WX_APP_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "appbase.h" -#endif - // ---------------------------------------------------------------------------- // headers we have to include here // ---------------------------------------------------------------------------- diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 4a862d3f58..fd84d6b6b9 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -12,10 +12,6 @@ #ifndef _WX_ARTPROV_H_ #define _WX_ARTPROV_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "artprov.h" -#endif - #include "wx/string.h" #include "wx/bitmap.h" #include "wx/icon.h" diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index cd701f737a..5058afb7a5 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "bitmapbase.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/busyinfo.h b/include/wx/busyinfo.h index ab9f5a6f2d..35df65f515 100644 --- a/include/wx/busyinfo.h +++ b/include/wx/busyinfo.h @@ -10,10 +10,6 @@ #ifndef __INFOWIN_H__ #define __INFOWIN_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "busyinfo.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/include/wx/caret.h b/include/wx/caret.h index d1dba59761..178a3b2fc7 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -16,10 +16,6 @@ #if wxUSE_CARET -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "caret.h" -#endif - // --------------------------------------------------------------------------- // forward declarations // --------------------------------------------------------------------------- diff --git a/include/wx/choice.h b/include/wx/choice.h index a5fdf70f11..b53c550046 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "choicebase.h" -#endif - #if wxUSE_CHOICE #include "wx/ctrlsub.h" // the base class diff --git a/include/wx/clipbrd.h b/include/wx/clipbrd.h index f0a58a62ac..f795102f5d 100644 --- a/include/wx/clipbrd.h +++ b/include/wx/clipbrd.h @@ -12,10 +12,6 @@ #ifndef _WX_CLIPBRD_H_BASE_ #define _WX_CLIPBRD_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "clipboardbase.h" -#endif - #include "wx/defs.h" #if wxUSE_CLIPBOARD diff --git a/include/wx/clntdata.h b/include/wx/clntdata.h index d6b7800d45..97e4b4dc60 100644 --- a/include/wx/clntdata.h +++ b/include/wx/clntdata.h @@ -12,10 +12,6 @@ #ifndef _WX_CLNTDATAH__ #define _WX_CLNTDATAH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "clntdata.h" -#endif - #include "wx/defs.h" #include "wx/string.h" diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index bc8c893654..580d8aad90 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -13,10 +13,6 @@ #ifndef _WX_CMDLINE_H_ #define _WX_CMDLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "cmdline.h" -#endif - #include "wx/defs.h" #include "wx/string.h" diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index 4092fdffda..497e2272e6 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -12,10 +12,6 @@ #ifndef _WX_CMDPROC_H_ #define _WX_CMDPROC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "cmdproc.h" -#endif - #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 8e9e7c6da3..da4af170f4 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -12,10 +12,6 @@ #ifndef _WX_CMNDATA_H_BASE_ #define _WX_CMNDATA_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "cmndata.h" -#endif - #include "wx/window.h" #include "wx/font.h" #include "wx/colour.h" diff --git a/include/wx/confbase.h b/include/wx/confbase.h index b042ec40d5..18dcc86664 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -14,10 +14,6 @@ #ifndef _WX_CONFBASE_H_ #define _WX_CONFBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "confbase.h" -#endif - #include "wx/defs.h" #include "wx/string.h" diff --git a/include/wx/containr.h b/include/wx/containr.h index 234161da03..4f5d9ac35d 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -13,10 +13,6 @@ #ifndef _WX_CONTAINR_H_ #define _WX_CONTAINR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "containr.h" -#endif - class WXDLLEXPORT wxFocusEvent; class WXDLLEXPORT wxNavigationKeyEvent; class WXDLLEXPORT wxWindow; diff --git a/include/wx/control.h b/include/wx/control.h index afbabb3ad7..293ba68e4c 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "controlbase.h" -#endif - #if wxUSE_CONTROLS #include "wx/window.h" // base class diff --git a/include/wx/cshelp.h b/include/wx/cshelp.h index 89caf0084e..78de33278d 100644 --- a/include/wx/cshelp.h +++ b/include/wx/cshelp.h @@ -12,10 +12,6 @@ #ifndef _WX_CSHELPH__ #define _WX_CSHELPH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "cshelp.h" -#endif - #include "wx/defs.h" #if wxUSE_HELP diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index 0b98232f3d..76a1f0f71b 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -12,10 +12,6 @@ #ifndef _WX_CTRLSUB_H_BASE_ #define _WX_CTRLSUB_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "controlwithitems.h" -#endif - #if wxUSE_CONTROLS #include "wx/control.h" // base class diff --git a/include/wx/dataobj.h b/include/wx/dataobj.h index d87edeaff7..14aea37c3b 100644 --- a/include/wx/dataobj.h +++ b/include/wx/dataobj.h @@ -12,10 +12,6 @@ #ifndef _WX_DATAOBJ_H_BASE_ #define _WX_DATAOBJ_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobjbase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/date.h b/include/wx/date.h index e117922511..8f87f1d575 100644 --- a/include/wx/date.h +++ b/include/wx/date.h @@ -13,10 +13,6 @@ #ifndef _WX_DATE_H_ #define _WX_DATE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "date.h" -#endif - #include "wx/defs.h" #if wxUSE_TIMEDATE diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 1aee3708ba..0b0c0fd3e2 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -13,10 +13,6 @@ #ifndef _WX_DATETIME_H #define _WX_DATETIME_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "datetime.h" -#endif - #include "wx/defs.h" #if wxUSE_DATETIME diff --git a/include/wx/datstrm.h b/include/wx/datstrm.h index 0551b437cc..7e97edba02 100644 --- a/include/wx/datstrm.h +++ b/include/wx/datstrm.h @@ -12,10 +12,6 @@ #ifndef _WX_DATSTREAM_H_ #define _WX_DATSTREAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "datstrm.h" -#endif - #include "wx/stream.h" #include "wx/longlong.h" #include "wx/strconv.h" diff --git a/include/wx/db.h b/include/wx/db.h index 6ba2c634c0..6e68889dba 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -34,10 +34,6 @@ #include "wx/version.h" -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "db.h" -#endif - #include "wx/setup.h" #include "wx/defs.h" diff --git a/include/wx/dbgrid.h b/include/wx/dbgrid.h index af4145e7b5..cb451d5274 100644 --- a/include/wx/dbgrid.h +++ b/include/wx/dbgrid.h @@ -14,10 +14,6 @@ #ifndef _WX_GENERIC_DBGRID_H_ #define _WX_GENERIC_DBGRID_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dbgrid.h" -#endif - #if wxUSE_ODBC #if wxUSE_NEW_GRID diff --git a/include/wx/dbtable.h b/include/wx/dbtable.h index 664daec1ea..f2051b45c5 100644 --- a/include/wx/dbtable.h +++ b/include/wx/dbtable.h @@ -21,10 +21,6 @@ #include "wx/version.h" -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dbtable.h" -#endif - #include "wx/db.h" #include "wx/variant.h" diff --git a/include/wx/dc.h b/include/wx/dc.h index 11e282d8af..20cabc68f5 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_BASE_ #define _WX_DC_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dcbase.h" -#endif - // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 51682aad1a..b7fb2701d8 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -12,10 +12,6 @@ #ifndef _WX_DCBUFFER_H_ #define _WX_DCBUFFER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dcbuffer.h" -#endif - #include "wx/dcmemory.h" diff --git a/include/wx/defs.h b/include/wx/defs.h index 820b3650d6..877b51b2fa 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -12,10 +12,6 @@ #ifndef _WX_DEFS_H_ #define _WX_DEFS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "defs.h" -#endif - // ---------------------------------------------------------------------------- // compiler and OS identification // ---------------------------------------------------------------------------- diff --git a/include/wx/dialog.h b/include/wx/dialog.h index c883f1cc21..98409f0b39 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -12,10 +12,6 @@ #ifndef _WX_DIALOG_H_BASE_ #define _WX_DIALOG_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dialogbase.h" -#endif - #include "wx/defs.h" #include "wx/containr.h" #include "wx/toplevel.h" diff --git a/include/wx/dialup.h b/include/wx/dialup.h index fdd9d55fd8..7e5b5d9be1 100644 --- a/include/wx/dialup.h +++ b/include/wx/dialup.h @@ -12,10 +12,6 @@ #ifndef _WX_DIALUP_H #define _WX_DIALUP_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dialup.h" -#endif - #if wxUSE_DIALUP_MANAGER #include "wx/event.h" diff --git a/include/wx/dir.h b/include/wx/dir.h index 53d2214740..c21dcdfda6 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -12,10 +12,6 @@ #ifndef _WX_DIR_H_ #define _WX_DIR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dir.h" -#endif - #ifndef WX_PRECOMP #include "wx/string.h" #endif diff --git a/include/wx/display.h b/include/wx/display.h index fc020fee47..1e1016e95a 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -14,10 +14,6 @@ #if wxUSE_DISPLAY -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "display.h" -#endif - class wxPoint; class wxRect; class wxString; diff --git a/include/wx/dnd.h b/include/wx/dnd.h index 9f62351647..cf1ae5533d 100644 --- a/include/wx/dnd.h +++ b/include/wx/dnd.h @@ -12,10 +12,6 @@ #ifndef _WX_DND_H_BASE_ #define _WX_DND_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dndbase.h" -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP diff --git a/include/wx/docmdi.h b/include/wx/docmdi.h index bbc95cfa8e..2fe29eb3b9 100644 --- a/include/wx/docmdi.h +++ b/include/wx/docmdi.h @@ -12,10 +12,6 @@ #ifndef _WX_DOCMDI_H_ #define _WX_DOCMDI_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "docmdi.h" -#endif - #include "wx/defs.h" #if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE diff --git a/include/wx/docview.h b/include/wx/docview.h index 15859fe6dd..a44224446e 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -12,10 +12,6 @@ #ifndef _WX_DOCH__ #define _WX_DOCH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "docview.h" -#endif - #include "wx/defs.h" #include "wx/list.h" #include "wx/cmndata.h" diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 8d687f0389..6944dcfeb2 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -12,10 +12,6 @@ #ifndef _DYNARRAY_H #define _DYNARRAY_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dynarray.h" -#endif - #include "wx/defs.h" /* diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 6dd60bf12f..61d2866c87 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -12,10 +12,6 @@ #ifndef _WX_DYNLIB_H__ #define _WX_DYNLIB_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -# pragma interface "dynlib.h" -#endif - #include "wx/setup.h" #if wxUSE_DYNAMIC_LOADER diff --git a/include/wx/dynload.h b/include/wx/dynload.h index 45cef884ce..5c6b99121b 100644 --- a/include/wx/dynload.h +++ b/include/wx/dynload.h @@ -13,10 +13,6 @@ #ifndef _WX_DYNAMICLOADER_H__ #define _WX_DYNAMICLOADER_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dynload.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/effects.h b/include/wx/effects.h index 8357e5449d..adc5e23fa0 100644 --- a/include/wx/effects.h +++ b/include/wx/effects.h @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "effects.h" -#endif - #ifndef _WX_EFFECTS_H_ #define _WX_EFFECTS_H_ diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 7b9589f355..4b764cf601 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -10,10 +10,6 @@ #ifndef _WX_ENCCONV_H_ #define _WX_ENCCONV_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "encconv.h" -#endif - #include "wx/defs.h" #if wxUSE_FONTMAP diff --git a/include/wx/event.h b/include/wx/event.h index 81195b484d..109eba2cf0 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -12,10 +12,6 @@ #ifndef _WX_EVENTH__ #define _WX_EVENTH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "event.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/clntdata.h" diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 80f0916e85..3b4cc3f149 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -12,10 +12,6 @@ #ifndef _WX_EVTLOOP_H_ #define _WX_EVTLOOP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "evtloop.h" -#endif - // ---------------------------------------------------------------------------- // wxEventLoop: a GUI event loop // ---------------------------------------------------------------------------- diff --git a/include/wx/fdrepdlg.h b/include/wx/fdrepdlg.h index aa3965ff6b..07b2141aff 100644 --- a/include/wx/fdrepdlg.h +++ b/include/wx/fdrepdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_FINDREPLACEDLG_H_ #define _WX_FINDREPLACEDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fdrepdlg.h" -#endif - #include "wx/defs.h" #if wxUSE_FINDREPLDLG diff --git a/include/wx/ffile.h b/include/wx/ffile.h index e8c4e3a72d..0c7293f3f1 100644 --- a/include/wx/ffile.h +++ b/include/wx/ffile.h @@ -12,10 +12,6 @@ #ifndef _WX_FFILE_H_ #define _WX_FFILE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "ffile.h" -#endif - #include "wx/defs.h" // for wxUSE_FFILE #if wxUSE_FFILE diff --git a/include/wx/file.h b/include/wx/file.h index df9e489ac4..1f0f823d61 100644 --- a/include/wx/file.h +++ b/include/wx/file.h @@ -13,10 +13,6 @@ #ifndef _WX_FILEH__ #define _WX_FILEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "file.h" -#endif - #ifndef WX_PRECOMP #include "wx/string.h" #include "wx/filefn.h" diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index e8e53beff3..def1cce830 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -13,10 +13,6 @@ #ifndef _FILECONF_H #define _FILECONF_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fileconf.h" -#endif - #include "wx/defs.h" #if wxUSE_CONFIG diff --git a/include/wx/filefn.h b/include/wx/filefn.h index c4000661da..ca26730d16 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -12,10 +12,6 @@ #ifndef _FILEFN_H_ #define _FILEFN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "filefn.h" -#endif - #include "wx/list.h" #include diff --git a/include/wx/filename.h b/include/wx/filename.h index edd5307856..fe4a265bcc 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -12,10 +12,6 @@ #ifndef _WX_FILENAME_H_ #define _WX_FILENAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "filename.h" -#endif - #ifndef WX_PRECOMP #include "wx/string.h" #endif diff --git a/include/wx/filesys.h b/include/wx/filesys.h index 814a41a314..4a1a57f6aa 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -10,10 +10,6 @@ #ifndef __FILESYS_H__ #define __FILESYS_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "filesys.h" -#endif - #include "wx/setup.h" #if !wxUSE_STREAMS diff --git a/include/wx/font.h b/include/wx/font.h index bc5a0da2ac..c6a5e76a78 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -12,10 +12,6 @@ #ifndef _WX_FONT_H_BASE_ #define _WX_FONT_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fontbase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 587dad4a66..f096b91ecf 100644 --- a/include/wx/fontenum.h +++ b/include/wx/fontenum.h @@ -13,10 +13,6 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fontenum.h" -#endif - #include "wx/font.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/fontmap.h b/include/wx/fontmap.h index eb4c48ea7d..89b36a1847 100644 --- a/include/wx/fontmap.h +++ b/include/wx/fontmap.h @@ -12,10 +12,6 @@ #ifndef _WX_FONTMAPPER_H_ #define _WX_FONTMAPPER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fontmap.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 2adeb7ed40..1b09525429 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -16,10 +16,6 @@ #ifndef _WX_FONTUTIL_H_ #define _WX_FONTUTIL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fontutil.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/frame.h b/include/wx/frame.h index 4228ea0c10..3057b3b57e 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "framebase.h" -#endif - #include "wx/toplevel.h" // the base class // the default names for various classs diff --git a/include/wx/fs_inet.h b/include/wx/fs_inet.h index 6299089ef2..df6f28efa9 100644 --- a/include/wx/fs_inet.h +++ b/include/wx/fs_inet.h @@ -9,10 +9,6 @@ #ifndef _WX_FS_INET_H_ #define _WX_FS_INET_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fs_inet.h" -#endif - #include "wx/defs.h" #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS diff --git a/include/wx/fs_mem.h b/include/wx/fs_mem.h index 44cd4d489d..2d3074c043 100644 --- a/include/wx/fs_mem.h +++ b/include/wx/fs_mem.h @@ -9,10 +9,6 @@ #ifndef _WX_FS_MEM_H_ #define _WX_FS_MEM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fs_mem.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/include/wx/fs_zip.h b/include/wx/fs_zip.h index 0678587f36..129a00e155 100644 --- a/include/wx/fs_zip.h +++ b/include/wx/fs_zip.h @@ -10,10 +10,6 @@ #ifndef _WX_FS_ZIP_H_ #define _WX_FS_ZIP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fs_zip.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/include/wx/gauge.h b/include/wx/gauge.h index 3e69e5bd40..2d3083d5a5 100644 --- a/include/wx/gauge.h +++ b/include/wx/gauge.h @@ -12,10 +12,6 @@ #ifndef _WX_GAUGE_H_BASE_ #define _WX_GAUGE_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "gaugebase.h" -#endif - #include "wx/defs.h" #if wxUSE_GAUGE diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 03c5594fff..56ba44030c 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -16,10 +16,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "gdicmn.h" -#endif - #include "wx/object.h" #include "wx/list.h" #include "wx/hash.h" diff --git a/include/wx/generic/accel.h b/include/wx/generic/accel.h index 4ba1dc4300..6debc4d34b 100644 --- a/include/wx/generic/accel.h +++ b/include/wx/generic/accel.h @@ -10,10 +10,6 @@ #ifndef _WX_GENERIC_ACCEL_H_ #define _WX_GENERIC_ACCEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "accel.h" -#endif - class WXDLLEXPORT wxKeyEvent; // ---------------------------------------------------------------------------- diff --git a/include/wx/generic/calctrl.h b/include/wx/generic/calctrl.h index b8f0516be3..e4edaffe9e 100644 --- a/include/wx/generic/calctrl.h +++ b/include/wx/generic/calctrl.h @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "calctrl.h" -#endif - #ifndef _WX_GENERIC_CALCTRL_H #define _WX_GENERIC_CALCTRL_H diff --git a/include/wx/generic/caret.h b/include/wx/generic/caret.h index 1fdd096d4e..9bb9c19437 100644 --- a/include/wx/generic/caret.h +++ b/include/wx/generic/caret.h @@ -12,10 +12,6 @@ #ifndef _WX_CARET_H_ #define _WX_CARET_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "caret.h" -#endif - #include "wx/timer.h" class wxCaret; diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 29704da894..8a70af551b 100644 --- a/include/wx/generic/choicdgg.h +++ b/include/wx/generic/choicdgg.h @@ -12,10 +12,6 @@ #ifndef __CHOICEDLGH_G__ #define __CHOICEDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "choicdgg.h" -#endif - #include "wx/dynarray.h" #include "wx/dialog.h" diff --git a/include/wx/generic/colrdlgg.h b/include/wx/generic/colrdlgg.h index cc91f99a54..07f84e124b 100644 --- a/include/wx/generic/colrdlgg.h +++ b/include/wx/generic/colrdlgg.h @@ -12,10 +12,6 @@ #ifndef __COLORDLGH_G__ #define __COLORDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "colrdlgg.h" -#endif - #include "wx/setup.h" #include "wx/gdicmn.h" #include "wx/dialog.h" diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index be6dcbfd01..7624d569d9 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -11,10 +11,6 @@ #ifndef _WX_DCPSG_H_ #define _WX_DCPSG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dcpsg.h" -#endif - #include "wx/dc.h" #if wxUSE_PRINTING_ARCHITECTURE diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index b19d21f647..c33837a44c 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -15,10 +15,6 @@ #ifndef _WX_DIRCTRL_H_ #define _WX_DIRCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dirctrlg.h" -#endif - #if wxUSE_DIRDLG #include "wx/treectrl.h" diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index 190b90e715..2a252a7547 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -15,10 +15,6 @@ #ifndef _WX_DIRDLGG_H_ #define _WX_DIRDLGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dirdlgg.h" -#endif - class WXDLLEXPORT wxGenericDirCtrl; class WXDLLEXPORT wxTextCtrl; class WXDLLEXPORT wxTreeEvent; diff --git a/include/wx/generic/dragimgg.h b/include/wx/generic/dragimgg.h index ad24c31e6e..568acbe64f 100644 --- a/include/wx/generic/dragimgg.h +++ b/include/wx/generic/dragimgg.h @@ -13,10 +13,6 @@ #ifndef _WX_DRAGIMGG_H_ #define _WX_DRAGIMGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dragimgg.h" -#endif - #include "wx/bitmap.h" #include "wx/icon.h" #include "wx/cursor.h" diff --git a/include/wx/generic/fdrepdlg.h b/include/wx/generic/fdrepdlg.h index 1db7e96d7e..28ae2d0804 100644 --- a/include/wx/generic/fdrepdlg.h +++ b/include/wx/generic/fdrepdlg.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "genericfdrepdlg.h" -#endif - class WXDLLEXPORT wxCheckBox; class WXDLLEXPORT wxRadioBox; class WXDLLEXPORT wxTextCtrl; diff --git a/include/wx/generic/filedlgg.h b/include/wx/generic/filedlgg.h index 9dacc71243..887a1c3f73 100644 --- a/include/wx/generic/filedlgg.h +++ b/include/wx/generic/filedlgg.h @@ -12,10 +12,6 @@ #ifndef _WX_FILEDLGG_H_ #define _WX_FILEDLGG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "filedlgg.h" -#endif - #include "wx/dialog.h" //----------------------------------------------------------------------------- diff --git a/include/wx/generic/fontdlgg.h b/include/wx/generic/fontdlgg.h index 24b6ed8c1f..576191b594 100644 --- a/include/wx/generic/fontdlgg.h +++ b/include/wx/generic/fontdlgg.h @@ -12,10 +12,6 @@ #ifndef _WX_GENERIC_FONTDLGG_H #define _WX_GENERIC_FONTDLGG_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fontdlgg.h" -#endif - #include "wx/setup.h" #include "wx/gdicmn.h" #include "wx/font.h" diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index f36f409f66..c1df8be2d7 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -18,10 +18,6 @@ #ifndef __WXGRID_H__ #define __WXGRID_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "grid.h" -#endif - #include "wx/hash.h" #include "wx/panel.h" #include "wx/scrolwin.h" diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index eedc77cc45..9f6da21bf9 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_GENERIC_GRIDCTRL_H_ #define _WX_GENERIC_GRIDCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "gridctrl.h" -#endif - #if wxUSE_GRID || wxUSE_NEW_GRID #include "wx/grid.h" diff --git a/include/wx/generic/gridg.h b/include/wx/generic/gridg.h index f569c85e6b..98ce07b3c2 100644 --- a/include/wx/generic/gridg.h +++ b/include/wx/generic/gridg.h @@ -14,10 +14,6 @@ #ifndef __GRIDH_G__ #define __GRIDH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "gridg.h" -#endif - #include "wx/defs.h" #if wxUSE_GRID diff --git a/include/wx/generic/gridsel.h b/include/wx/generic/gridsel.h index 87fc640315..d81426631f 100644 --- a/include/wx/generic/gridsel.h +++ b/include/wx/generic/gridsel.h @@ -16,10 +16,6 @@ #ifndef __WXGRIDSEL_H__ #define __WXGRIDSEL_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "gridsel.h" -#endif - #include "wx/grid.h" class WXDLLEXPORT wxGridSelection{ diff --git a/include/wx/generic/helpext.h b/include/wx/generic/helpext.h index 2f9add681b..54d133c078 100644 --- a/include/wx/generic/helpext.h +++ b/include/wx/generic/helpext.h @@ -12,10 +12,6 @@ #if wxUSE_HELP -#if defined(__GNUG__) && !defined(__APPLE__) -# pragma interface "wxexthlp.h" -#endif - #include "wx/generic/helphtml.h" #ifndef WXEXTHELP_DEFAULTBROWSER diff --git a/include/wx/generic/helphtml.h b/include/wx/generic/helphtml.h index b9131ca57d..f24b87338c 100644 --- a/include/wx/generic/helphtml.h +++ b/include/wx/generic/helphtml.h @@ -12,10 +12,6 @@ #if wxUSE_HELP -#if defined(__GNUG__) && !defined(__APPLE__) -# pragma interface "helphtml.h" -#endif - #include "wx/helpbase.h" #include "wx/frame.h" diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index be21d3dcfa..b080c7d38f 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -11,10 +11,6 @@ #ifndef __IMAGELISTH_G__ #define __IMAGELISTH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imaglist.h" -#endif - #include "wx/defs.h" #include "wx/gdicmn.h" #include "wx/bitmap.h" diff --git a/include/wx/generic/laywin.h b/include/wx/generic/laywin.h index 992e1b0d34..14aa6ffc50 100644 --- a/include/wx/generic/laywin.h +++ b/include/wx/generic/laywin.h @@ -15,10 +15,6 @@ #ifndef _WX_LAYWIN_H_G_ #define _WX_LAYWIN_H_G_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "laywin.h" -#endif - #if wxUSE_SASH #include "wx/sashwin.h" #endif // wxUSE_SASH diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index b84337ef21..5656d580fa 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -11,10 +11,6 @@ #ifndef __LISTCTRLH_G__ #define __LISTCTRLH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "listctrl.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/generic/imaglist.h" diff --git a/include/wx/generic/mdig.h b/include/wx/generic/mdig.h index de26aa026d..0312d284d8 100644 --- a/include/wx/generic/mdig.h +++ b/include/wx/generic/mdig.h @@ -12,10 +12,6 @@ #ifndef _WX_MDIG_H_ #define _WX_MDIG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "mdig.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index 581f40b85e..2fe1a9014e 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -12,10 +12,6 @@ #ifndef __MSGDLGH_G__ #define __MSGDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "msgdlgg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" diff --git a/include/wx/generic/notebook.h b/include/wx/generic/notebook.h index e322e94309..0e840f9b5d 100644 --- a/include/wx/generic/notebook.h +++ b/include/wx/generic/notebook.h @@ -11,10 +11,6 @@ #ifndef _WX_NOTEBOOK_H_ #define _WX_NOTEBOOK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "notebook.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/generic/paletteg.h b/include/wx/generic/paletteg.h index 0799841995..904a082416 100644 --- a/include/wx/generic/paletteg.h +++ b/include/wx/generic/paletteg.h @@ -12,10 +12,6 @@ #ifndef __WX_PALETTEG_H__ #define __WX_PALETTEG_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "paletteg.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdiobj.h" diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 2717ffeb0b..aae227fdeb 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -12,10 +12,6 @@ #ifndef _WX_GENERIC_PANEL_H_ #define _WX_GENERIC_PANEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "panelg.h" -#endif - // ---------------------------------------------------------------------------- // headers and forward declarations // ---------------------------------------------------------------------------- diff --git a/include/wx/generic/printps.h b/include/wx/generic/printps.h index 40dabf75a4..b5148448f0 100644 --- a/include/wx/generic/printps.h +++ b/include/wx/generic/printps.h @@ -13,10 +13,6 @@ #ifndef __PRINTPSH__ #define __PRINTPSH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "printps.h" -#endif - #include "wx/prntbase.h" #if wxUSE_PRINTING_ARCHITECTURE && wxUSE_POSTSCRIPT diff --git a/include/wx/generic/prntdlgg.h b/include/wx/generic/prntdlgg.h index ba73e648fd..3f0aa2fe58 100644 --- a/include/wx/generic/prntdlgg.h +++ b/include/wx/generic/prntdlgg.h @@ -13,10 +13,6 @@ #ifndef __PRINTDLGH_G_ #define __PRINTDLGH_G_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "prntdlgg.h" -#endif - #include "wx/defs.h" #if wxUSE_PRINTING_ARCHITECTURE diff --git a/include/wx/generic/progdlgg.h b/include/wx/generic/progdlgg.h index 11c64d291e..5e9d82153e 100644 --- a/include/wx/generic/progdlgg.h +++ b/include/wx/generic/progdlgg.h @@ -12,10 +12,6 @@ #ifndef __PROGDLGH_G__ #define __PROGDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "progdlgg.h" -#endif - #include "wx/setup.h" #if wxUSE_PROGRESSDLG diff --git a/include/wx/generic/sashwin.h b/include/wx/generic/sashwin.h index dcd39f47f5..623176d3f0 100644 --- a/include/wx/generic/sashwin.h +++ b/include/wx/generic/sashwin.h @@ -14,10 +14,6 @@ #ifndef _WX_SASHWIN_H_G_ #define _WX_SASHWIN_H_G_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "sashwin.h" -#endif - #if wxUSE_SASH #include "wx/defs.h" diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index e0336e1368..9c0c6b26e9 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -12,10 +12,6 @@ #ifndef _WX_GENERIC_SCROLLWIN_H_ #define _WX_GENERIC_SCROLLWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "genscrolwin.h" -#endif - // ---------------------------------------------------------------------------- // headers and constants // ---------------------------------------------------------------------------- diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index d6d9a4043b..d7dbedd6b9 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -22,10 +22,6 @@ #if wxUSE_SPINBTN -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "spinctlg.h" -#endif - class WXDLLEXPORT wxSpinButton; class WXDLLEXPORT wxTextCtrl; diff --git a/include/wx/generic/splash.h b/include/wx/generic/splash.h index fe80e818c2..6d0e2b894f 100644 --- a/include/wx/generic/splash.h +++ b/include/wx/generic/splash.h @@ -9,10 +9,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "splash.h" -#endif - #ifndef _WX_SPLASH_H_ #define _WX_SPLASH_H_ diff --git a/include/wx/generic/splitter.h b/include/wx/generic/splitter.h index 26480fe129..84371e7f33 100644 --- a/include/wx/generic/splitter.h +++ b/include/wx/generic/splitter.h @@ -12,10 +12,6 @@ #ifndef __SPLITTERH_G__ #define __SPLITTERH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "splitter.h" -#endif - #include "wx/window.h" // base class declaration #include "wx/containr.h" // wxControlContainer diff --git a/include/wx/generic/statline.h b/include/wx/generic/statline.h index 32ec10dee6..79d93539ee 100644 --- a/include/wx/generic/statline.h +++ b/include/wx/generic/statline.h @@ -11,10 +11,6 @@ #ifndef _WX_GENERIC_STATLINE_H_ #define _WX_GENERIC_STATLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "statline.h" -#endif - class wxStaticBox; // ---------------------------------------------------------------------------- diff --git a/include/wx/generic/statusbr.h b/include/wx/generic/statusbr.h index fe00d93e30..eee23e542f 100644 --- a/include/wx/generic/statusbr.h +++ b/include/wx/generic/statusbr.h @@ -12,10 +12,6 @@ #ifndef _WX_GENERIC_STATUSBR_H_ #define _WX_GENERIC_STATUSBR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "statusbr.h" -#endif - #include "wx/pen.h" #include "wx/font.h" #include "wx/statusbr.h" diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 012fa16667..bd11dbcb40 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -12,10 +12,6 @@ #ifndef __TABGH_G__ #define __TABGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "tabg.h" -#endif - #define WXTAB_VERSION 1.1 #include "wx/hash.h" diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index 74fa8fa12e..3a6ab5af1b 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -12,10 +12,6 @@ #ifndef __TEXTDLGH_G__ #define __TEXTDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "textdlgg.h" -#endif - #include "wx/defs.h" #include "wx/dialog.h" diff --git a/include/wx/generic/timer.h b/include/wx/generic/timer.h index 7e80d8c754..6f2776bea1 100644 --- a/include/wx/generic/timer.h +++ b/include/wx/generic/timer.h @@ -11,10 +11,6 @@ #ifndef __WX_TIMER_H__ #define __WX_TIMER_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "timer.h" -#endif - //----------------------------------------------------------------------------- // wxTimer //----------------------------------------------------------------------------- diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index 7d42d09ae2..26a7d7b4c3 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -12,10 +12,6 @@ #ifndef _GENERIC_TREECTRL_H_ #define _GENERIC_TREECTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "treectlg.h" -#endif - #if wxUSE_TREECTRL #include "wx/scrolwin.h" diff --git a/include/wx/generic/treelay.h b/include/wx/generic/treelay.h index b202da646e..6fcdc68b63 100644 --- a/include/wx/generic/treelay.h +++ b/include/wx/generic/treelay.h @@ -12,10 +12,6 @@ #ifndef _WX_TREELAY_H_ #define _WX_TREELAY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wxtree.h" -#endif - #ifndef WX_PRECOMP #include "wx/object.h" class wxList; diff --git a/include/wx/generic/wizard.h b/include/wx/generic/wizard.h index 68362e06ec..6de538b2a2 100644 --- a/include/wx/generic/wizard.h +++ b/include/wx/generic/wizard.h @@ -13,10 +13,6 @@ // wxWizard // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "wizardg.h" -#endif - class WXDLLEXPORT wxButton; class WXDLLEXPORT wxStaticBitmap; class WXDLLEXPORT wxWizardEvent; diff --git a/include/wx/geometry.h b/include/wx/geometry.h index f77947867b..3ba0b8600f 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -12,10 +12,6 @@ #ifndef _WX_GEOMETRY_H_ #define _WX_GEOMETRY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "geometry.cpp" -#endif - #include "wx/defs.h" #ifndef wxUSE_GEOMETRY diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index 13a3a7b5a8..3dc7a3d1df 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -11,10 +11,6 @@ #ifndef _WX_GIFDECOD_H #define _WX_GIFDECOD_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "gifdecod.h" -#endif - #include "wx/setup.h" #if wxUSE_STREAMS && wxUSE_GIF diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index 398275be71..69137912be 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -10,10 +10,6 @@ #ifndef __GTKAPPH__ #define __GTKAPPH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/frame.h" #include "wx/icon.h" diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index f0fde41d75..96be82f635 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -11,10 +11,6 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 0454769f06..2e84f96c20 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -11,10 +11,6 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxBitmapButton // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/brush.h b/include/wx/gtk/brush.h index eabb80bde9..adda6ba5a5 100644 --- a/include/wx/gtk/brush.h +++ b/include/wx/gtk/brush.h @@ -11,10 +11,6 @@ #ifndef __GTKBRUSHH__ #define __GTKBRUSHH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index 5b895a059e..434c2f9b83 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -10,10 +10,6 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index 2d262a0978..0f217841a5 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -10,10 +10,6 @@ #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxCheckBox // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h index 19d1ae02ef..541c994db5 100644 --- a/include/wx/gtk/checklst.h +++ b/include/wx/gtk/checklst.h @@ -11,10 +11,6 @@ #ifndef __GTKCHECKLISTH__ #define __GTKCHECKLISTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // macros // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 2739c20267..7bce3f2bfd 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -10,10 +10,6 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "choice.h" -#endif - //----------------------------------------------------------------------------- // wxChoice //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/clipbrd.h b/include/wx/gtk/clipbrd.h index bc942af2a5..7f7c2d45ea 100644 --- a/include/wx/gtk/clipbrd.h +++ b/include/wx/gtk/clipbrd.h @@ -11,10 +11,6 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #if wxUSE_CLIPBOARD #include "wx/object.h" diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index de243d30a7..ae8ee926b8 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -11,10 +11,6 @@ #ifndef __GTKCOLOURH__ #define __GTKCOLOURH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 6fc045a704..084c22bf14 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -12,10 +12,6 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "combobox.h" -#endif - #include "wx/defs.h" #if wxUSE_COMBOBOX diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index 17db76e571..c67f5733df 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -10,10 +10,6 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk/cursor.h b/include/wx/gtk/cursor.h index 655103113a..f85b5614e7 100644 --- a/include/wx/gtk/cursor.h +++ b/include/wx/gtk/cursor.h @@ -11,10 +11,6 @@ #ifndef __GTKCURSORH__ #define __GTKCURSORH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdicmn.h" diff --git a/include/wx/gtk/dataobj.h b/include/wx/gtk/dataobj.h index 52ea20c7bd..3713d8f92a 100644 --- a/include/wx/gtk/dataobj.h +++ b/include/wx/gtk/dataobj.h @@ -10,10 +10,6 @@ #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxDataObject is the same as wxDataObjectBase under wxGTK // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/dataobj2.h b/include/wx/gtk/dataobj2.h index 1535030396..93e7c88022 100644 --- a/include/wx/gtk/dataobj2.h +++ b/include/wx/gtk/dataobj2.h @@ -11,10 +11,6 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/dc.h b/include/wx/gtk/dc.h index 1550c268e7..42eb3b46e3 100644 --- a/include/wx/gtk/dc.h +++ b/include/wx/gtk/dc.h @@ -11,10 +11,6 @@ #ifndef __GTKDCH__ #define __GTKDCH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index a9cb16b074..abe77dc227 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -10,10 +10,6 @@ #ifndef __GTKDCCLIENTH__ #define __GTKDCCLIENTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/dc.h" #include "wx/window.h" diff --git a/include/wx/gtk/dcmemory.h b/include/wx/gtk/dcmemory.h index a4493740d1..6244c611ad 100644 --- a/include/wx/gtk/dcmemory.h +++ b/include/wx/gtk/dcmemory.h @@ -11,10 +11,6 @@ #ifndef __GTKDCMEMORYH__ #define __GTKDCMEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/dcclient.h" diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index 8e1ee24e63..71fca73494 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -11,10 +11,6 @@ #ifndef __GTKDIALOGH__ #define __GTKDIALOGH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/dnd.h b/include/wx/gtk/dnd.h index 9bc4868523..115ac75415 100644 --- a/include/wx/gtk/dnd.h +++ b/include/wx/gtk/dnd.h @@ -11,10 +11,6 @@ #ifndef __GTKDNDH__ #define __GTKDNDH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #if wxUSE_DRAG_AND_DROP #include "wx/object.h" diff --git a/include/wx/gtk/filedlg.h b/include/wx/gtk/filedlg.h index db117cfe23..f367f3ffd4 100644 --- a/include/wx/gtk/filedlg.h +++ b/include/wx/gtk/filedlg.h @@ -11,10 +11,6 @@ #ifndef __GTKFILEDLGH__ #define __GTKFILEDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/dialog.h" //------------------------------------------------------------------------- diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index bad03b9d6b..a7ace917c4 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -10,10 +10,6 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface -#endif - #include "wx/hash.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/fontdlg.h b/include/wx/gtk/fontdlg.h index f777cbe96f..9c7468d293 100644 --- a/include/wx/gtk/fontdlg.h +++ b/include/wx/gtk/fontdlg.h @@ -11,10 +11,6 @@ #ifndef __GTK_FONTDLGH__ #define __GTK_FONTDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fontdlg.h" -#endif - //----------------------------------------------------------------------------- // wxFontDialog //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index d4ec4bc940..ea2de6acc2 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -11,10 +11,6 @@ #ifndef __GTKFRAMEH__ #define __GTKFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "frame.h" -#endif - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index c1d22c1a98..3bf4aba836 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -11,10 +11,6 @@ #ifndef __GTKGAUGEH__ #define __GTKGAUGEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_GAUGE diff --git a/include/wx/gtk/gdiobj.h b/include/wx/gtk/gdiobj.h index 12e15f3e0f..f6c64a5fda 100644 --- a/include/wx/gtk/gdiobj.h +++ b/include/wx/gtk/gdiobj.h @@ -13,10 +13,6 @@ #include "wx/object.h" -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - class wxGDIObject : public wxObject { public: diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index 29f3deabc3..953a406739 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index be2f6be3d8..aa7a75c536 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/icon.h @@ -11,10 +11,6 @@ #ifndef __GTKICONH__ #define __GTKICONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/bitmap.h" diff --git a/include/wx/gtk/joystick.h b/include/wx/gtk/joystick.h index 96a5f8ad1c..684b6595a7 100644 --- a/include/wx/gtk/joystick.h +++ b/include/wx/gtk/joystick.h @@ -12,10 +12,6 @@ #ifndef __JOYSTICKH__ #define __JOYSTICKH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "joystick.h" -#endif - #include "wx/event.h" #include "wx/thread.h" diff --git a/include/wx/gtk/listbox.h b/include/wx/gtk/listbox.h index f9632f26b1..6ea273090c 100644 --- a/include/wx/gtk/listbox.h +++ b/include/wx/gtk/listbox.h @@ -11,10 +11,6 @@ #ifndef __GTKLISTBOXH__ #define __GTKLISTBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "listbox.h" -#endif - #include "wx/list.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index ec57a59548..dd5ad42f44 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -11,10 +11,6 @@ #ifndef __MDIH__ #define __MDIH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index afc85c0a0c..ae7303336d 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -10,10 +10,6 @@ #ifndef __GTKMENUH__ #define __GTKMENUH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "menu.h" -#endif - //----------------------------------------------------------------------------- // wxMenuBar //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/menuitem.h b/include/wx/gtk/menuitem.h index e839670539..29a8c7ae7e 100644 --- a/include/wx/gtk/menuitem.h +++ b/include/wx/gtk/menuitem.h @@ -10,10 +10,6 @@ #ifndef __GTKMENUITEMH__ #define __GTKMENUITEMH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/bitmap.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/minifram.h b/include/wx/gtk/minifram.h index bedee8e027..80dd5170f2 100644 --- a/include/wx/gtk/minifram.h +++ b/include/wx/gtk/minifram.h @@ -10,10 +10,6 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_MINIFRAME diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index ec9ce37371..8e360d378c 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -11,10 +11,6 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // internal class //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/pen.h b/include/wx/gtk/pen.h index 3ee44368e2..9600ba7e45 100644 --- a/include/wx/gtk/pen.h +++ b/include/wx/gtk/pen.h @@ -11,10 +11,6 @@ #ifndef __GTKPENH__ #define __GTKPENH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index 46a00922d3..ed6a615957 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/popupwin.h @@ -11,10 +11,6 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "popupwin.h" -#endif - #include "wx/defs.h" #include "wx/panel.h" #include "wx/icon.h" diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index 97a318bdcd..6c81e98a39 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -11,10 +11,6 @@ #ifndef __GTKRADIOBOXH__ #define __GTKRADIOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/bitmap.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index fc3e0c21b7..bdeabaf9f9 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -11,10 +11,6 @@ #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxRadioButton //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 5ec51def18..458e1547e2 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -10,10 +10,6 @@ #ifndef _WX_GTK_REGION_H_ #define _WX_GTK_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/gtk/scrolbar.h b/include/wx/gtk/scrolbar.h index f471873aa3..24e1a6bf76 100644 --- a/include/wx/gtk/scrolbar.h +++ b/include/wx/gtk/scrolbar.h @@ -11,10 +11,6 @@ #ifndef __GTKSCROLLBARH__ #define __GTKSCROLLBARH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "scrolbar.h" -#endif - #include "wx/defs.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/scrolwin.h b/include/wx/gtk/scrolwin.h index c31179533a..42cc9346af 100644 --- a/include/wx/gtk/scrolwin.h +++ b/include/wx/gtk/scrolwin.h @@ -12,10 +12,6 @@ #ifndef _WX_GTK_SCROLLWIN_H_ #define _WX_GTK_SCROLLWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "scrolwin.h" -#endif - // ---------------------------------------------------------------------------- // headers and constants // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h index acc01928b1..00f046ba3d 100644 --- a/include/wx/gtk/slider.h +++ b/include/wx/gtk/slider.h @@ -10,10 +10,6 @@ #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxSlider // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/spinbutt.h b/include/wx/gtk/spinbutt.h index 0969b157d3..e4e955d71f 100644 --- a/include/wx/gtk/spinbutt.h +++ b/include/wx/gtk/spinbutt.h @@ -11,10 +11,6 @@ #ifndef _WX_GTK_SPINBUTT_H_ #define _WX_GTK_SPINBUTT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxSpinButton //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/spinctrl.h b/include/wx/gtk/spinctrl.h index 5f967589fd..138497f44f 100644 --- a/include/wx/gtk/spinctrl.h +++ b/include/wx/gtk/spinctrl.h @@ -11,10 +11,6 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_SPINCTRL diff --git a/include/wx/gtk/statbmp.h b/include/wx/gtk/statbmp.h index d11396a14a..0941233ca2 100644 --- a/include/wx/gtk/statbmp.h +++ b/include/wx/gtk/statbmp.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/icon.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index c6e232c525..d6640d9741 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/statline.h b/include/wx/gtk/statline.h index ae4248f906..374ceb0669 100644 --- a/include/wx/gtk/statline.h +++ b/include/wx/gtk/statline.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICLINEH__ #define __GTKSTATICLINEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_STATLINE diff --git a/include/wx/gtk/stattext.h b/include/wx/gtk/stattext.h index 614c0af070..5b9c4640c2 100644 --- a/include/wx/gtk/stattext.h +++ b/include/wx/gtk/stattext.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk/tbargtk.h b/include/wx/gtk/tbargtk.h index 242b327e9e..092d6af1fe 100644 --- a/include/wx/gtk/tbargtk.h +++ b/include/wx/gtk/tbargtk.h @@ -10,10 +10,6 @@ #ifndef _WX_GTK_TBARGTK_H_ #define _WX_GTK_TBARGTK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tbargtk.h" -#endif - #if wxUSE_TOOLBAR // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index cc1f3e68ab..69d2400032 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -11,10 +11,6 @@ #ifndef __GTKTEXTCTRLH__ #define __GTKTEXTCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "textctrl.h" -#endif - //----------------------------------------------------------------------------- // wxTextCtrl //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/timer.h b/include/wx/gtk/timer.h index 6ee7767602..94a1036fa1 100644 --- a/include/wx/gtk/timer.h +++ b/include/wx/gtk/timer.h @@ -11,10 +11,6 @@ #ifndef __GTKTIMERH__ #define __GTKTIMERH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "timer.h" -#endif - //----------------------------------------------------------------------------- // wxTimer //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/tooltip.h b/include/wx/gtk/tooltip.h index 132c98f244..e4cb8d03b1 100644 --- a/include/wx/gtk/tooltip.h +++ b/include/wx/gtk/tooltip.h @@ -10,10 +10,6 @@ #ifndef __GTKTOOLTIPH__ #define __GTKTOOLTIPH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/object.h" diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index e6af7626d5..8002b3abf7 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -11,11 +11,6 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "toplevel.h" -#endif - - //----------------------------------------------------------------------------- // wxTopLevelWindowGTK //----------------------------------------------------------------------------- diff --git a/include/wx/gtk/treectrl.h b/include/wx/gtk/treectrl.h index a6da82561f..950c33e9e0 100644 --- a/include/wx/gtk/treectrl.h +++ b/include/wx/gtk/treectrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TREECTRL_H_ #define _WX_TREECTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "treectrl.h" -#endif - #include "wx/textctrl.h" #include "wx/imaglist.h" diff --git a/include/wx/gtk/wave.h b/include/wx/gtk/wave.h index 89ce444943..6bb08c14ca 100644 --- a/include/wx/gtk/wave.h +++ b/include/wx/gtk/wave.h @@ -14,10 +14,6 @@ #if wxUSE_WAVE -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wave.h" -#endif - #include "wx/object.h" #ifndef AUDIODEV diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 13adf9b21f..167600816a 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -11,10 +11,6 @@ #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface -#endif - //----------------------------------------------------------------------------- // callback definition for inserting a window (internal) //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/app.h b/include/wx/gtk1/app.h index 398275be71..69137912be 100644 --- a/include/wx/gtk1/app.h +++ b/include/wx/gtk1/app.h @@ -10,10 +10,6 @@ #ifndef __GTKAPPH__ #define __GTKAPPH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/frame.h" #include "wx/icon.h" diff --git a/include/wx/gtk1/bitmap.h b/include/wx/gtk1/bitmap.h index f0fde41d75..96be82f635 100644 --- a/include/wx/gtk1/bitmap.h +++ b/include/wx/gtk1/bitmap.h @@ -11,10 +11,6 @@ #ifndef __GTKBITMAPH__ #define __GTKBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 0454769f06..2e84f96c20 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -11,10 +11,6 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxBitmapButton // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index eabb80bde9..adda6ba5a5 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -11,10 +11,6 @@ #ifndef __GTKBRUSHH__ #define __GTKBRUSHH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 5b895a059e..434c2f9b83 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -10,10 +10,6 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk1/checkbox.h b/include/wx/gtk1/checkbox.h index 2d262a0978..0f217841a5 100644 --- a/include/wx/gtk1/checkbox.h +++ b/include/wx/gtk1/checkbox.h @@ -10,10 +10,6 @@ #ifndef __GTKCHECKBOXH__ #define __GTKCHECKBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxCheckBox // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 19d1ae02ef..541c994db5 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -11,10 +11,6 @@ #ifndef __GTKCHECKLISTH__ #define __GTKCHECKLISTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // macros // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 2739c20267..7bce3f2bfd 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -10,10 +10,6 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "choice.h" -#endif - //----------------------------------------------------------------------------- // wxChoice //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/clipbrd.h b/include/wx/gtk1/clipbrd.h index bc942af2a5..7f7c2d45ea 100644 --- a/include/wx/gtk1/clipbrd.h +++ b/include/wx/gtk1/clipbrd.h @@ -11,10 +11,6 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #if wxUSE_CLIPBOARD #include "wx/object.h" diff --git a/include/wx/gtk1/colour.h b/include/wx/gtk1/colour.h index de243d30a7..ae8ee926b8 100644 --- a/include/wx/gtk1/colour.h +++ b/include/wx/gtk1/colour.h @@ -11,10 +11,6 @@ #ifndef __GTKCOLOURH__ #define __GTKCOLOURH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 6fc045a704..084c22bf14 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -12,10 +12,6 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "combobox.h" -#endif - #include "wx/defs.h" #if wxUSE_COMBOBOX diff --git a/include/wx/gtk1/control.h b/include/wx/gtk1/control.h index 17db76e571..c67f5733df 100644 --- a/include/wx/gtk1/control.h +++ b/include/wx/gtk1/control.h @@ -10,10 +10,6 @@ #ifndef __GTKCONTROLH__ #define __GTKCONTROLH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk1/cursor.h b/include/wx/gtk1/cursor.h index 655103113a..f85b5614e7 100644 --- a/include/wx/gtk1/cursor.h +++ b/include/wx/gtk1/cursor.h @@ -11,10 +11,6 @@ #ifndef __GTKCURSORH__ #define __GTKCURSORH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdicmn.h" diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index 52ea20c7bd..3713d8f92a 100644 --- a/include/wx/gtk1/dataobj.h +++ b/include/wx/gtk1/dataobj.h @@ -10,10 +10,6 @@ #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxDataObject is the same as wxDataObjectBase under wxGTK // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/dataobj2.h b/include/wx/gtk1/dataobj2.h index 1535030396..93e7c88022 100644 --- a/include/wx/gtk1/dataobj2.h +++ b/include/wx/gtk1/dataobj2.h @@ -11,10 +11,6 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/dc.h b/include/wx/gtk1/dc.h index 1550c268e7..42eb3b46e3 100644 --- a/include/wx/gtk1/dc.h +++ b/include/wx/gtk1/dc.h @@ -11,10 +11,6 @@ #ifndef __GTKDCH__ #define __GTKDCH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index a9cb16b074..abe77dc227 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -10,10 +10,6 @@ #ifndef __GTKDCCLIENTH__ #define __GTKDCCLIENTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/dc.h" #include "wx/window.h" diff --git a/include/wx/gtk1/dcmemory.h b/include/wx/gtk1/dcmemory.h index a4493740d1..6244c611ad 100644 --- a/include/wx/gtk1/dcmemory.h +++ b/include/wx/gtk1/dcmemory.h @@ -11,10 +11,6 @@ #ifndef __GTKDCMEMORYH__ #define __GTKDCMEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/dcclient.h" diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index 8e1ee24e63..71fca73494 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -11,10 +11,6 @@ #ifndef __GTKDIALOGH__ #define __GTKDIALOGH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/dnd.h b/include/wx/gtk1/dnd.h index 9bc4868523..115ac75415 100644 --- a/include/wx/gtk1/dnd.h +++ b/include/wx/gtk1/dnd.h @@ -11,10 +11,6 @@ #ifndef __GTKDNDH__ #define __GTKDNDH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #if wxUSE_DRAG_AND_DROP #include "wx/object.h" diff --git a/include/wx/gtk1/filedlg.h b/include/wx/gtk1/filedlg.h index db117cfe23..f367f3ffd4 100644 --- a/include/wx/gtk1/filedlg.h +++ b/include/wx/gtk1/filedlg.h @@ -11,10 +11,6 @@ #ifndef __GTKFILEDLGH__ #define __GTKFILEDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/dialog.h" //------------------------------------------------------------------------- diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index bad03b9d6b..a7ace917c4 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/font.h @@ -10,10 +10,6 @@ #ifndef __GTKFONTH__ #define __GTKFONTH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface -#endif - #include "wx/hash.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/fontdlg.h b/include/wx/gtk1/fontdlg.h index f777cbe96f..9c7468d293 100644 --- a/include/wx/gtk1/fontdlg.h +++ b/include/wx/gtk1/fontdlg.h @@ -11,10 +11,6 @@ #ifndef __GTK_FONTDLGH__ #define __GTK_FONTDLGH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fontdlg.h" -#endif - //----------------------------------------------------------------------------- // wxFontDialog //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index d4ec4bc940..ea2de6acc2 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/frame.h @@ -11,10 +11,6 @@ #ifndef __GTKFRAMEH__ #define __GTKFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "frame.h" -#endif - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index c1d22c1a98..3bf4aba836 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -11,10 +11,6 @@ #ifndef __GTKGAUGEH__ #define __GTKGAUGEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_GAUGE diff --git a/include/wx/gtk1/gdiobj.h b/include/wx/gtk1/gdiobj.h index 12e15f3e0f..f6c64a5fda 100644 --- a/include/wx/gtk1/gdiobj.h +++ b/include/wx/gtk1/gdiobj.h @@ -13,10 +13,6 @@ #include "wx/object.h" -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - class wxGDIObject : public wxObject { public: diff --git a/include/wx/gtk1/glcanvas.h b/include/wx/gtk1/glcanvas.h index 29f3deabc3..953a406739 100644 --- a/include/wx/gtk1/glcanvas.h +++ b/include/wx/gtk1/glcanvas.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index be2f6be3d8..aa7a75c536 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -11,10 +11,6 @@ #ifndef __GTKICONH__ #define __GTKICONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/bitmap.h" diff --git a/include/wx/gtk1/joystick.h b/include/wx/gtk1/joystick.h index 96a5f8ad1c..684b6595a7 100644 --- a/include/wx/gtk1/joystick.h +++ b/include/wx/gtk1/joystick.h @@ -12,10 +12,6 @@ #ifndef __JOYSTICKH__ #define __JOYSTICKH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "joystick.h" -#endif - #include "wx/event.h" #include "wx/thread.h" diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index f9632f26b1..6ea273090c 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -11,10 +11,6 @@ #ifndef __GTKLISTBOXH__ #define __GTKLISTBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "listbox.h" -#endif - #include "wx/list.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/mdi.h b/include/wx/gtk1/mdi.h index ec57a59548..dd5ad42f44 100644 --- a/include/wx/gtk1/mdi.h +++ b/include/wx/gtk1/mdi.h @@ -11,10 +11,6 @@ #ifndef __MDIH__ #define __MDIH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk1/menu.h b/include/wx/gtk1/menu.h index afc85c0a0c..ae7303336d 100644 --- a/include/wx/gtk1/menu.h +++ b/include/wx/gtk1/menu.h @@ -10,10 +10,6 @@ #ifndef __GTKMENUH__ #define __GTKMENUH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "menu.h" -#endif - //----------------------------------------------------------------------------- // wxMenuBar //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/menuitem.h b/include/wx/gtk1/menuitem.h index e839670539..29a8c7ae7e 100644 --- a/include/wx/gtk1/menuitem.h +++ b/include/wx/gtk1/menuitem.h @@ -10,10 +10,6 @@ #ifndef __GTKMENUITEMH__ #define __GTKMENUITEMH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/bitmap.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/minifram.h b/include/wx/gtk1/minifram.h index bedee8e027..80dd5170f2 100644 --- a/include/wx/gtk1/minifram.h +++ b/include/wx/gtk1/minifram.h @@ -10,10 +10,6 @@ #ifndef __GTKMINIFRAMEH__ #define __GTKMINIFRAMEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_MINIFRAME diff --git a/include/wx/gtk1/notebook.h b/include/wx/gtk1/notebook.h index ec9ce37371..8e360d378c 100644 --- a/include/wx/gtk1/notebook.h +++ b/include/wx/gtk1/notebook.h @@ -11,10 +11,6 @@ #ifndef __GTKNOTEBOOKH__ #define __GTKNOTEBOOKH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // internal class //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/pen.h b/include/wx/gtk1/pen.h index 3ee44368e2..9600ba7e45 100644 --- a/include/wx/gtk1/pen.h +++ b/include/wx/gtk1/pen.h @@ -11,10 +11,6 @@ #ifndef __GTKPENH__ #define __GTKPENH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h index 46a00922d3..ed6a615957 100644 --- a/include/wx/gtk1/popupwin.h +++ b/include/wx/gtk1/popupwin.h @@ -11,10 +11,6 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "popupwin.h" -#endif - #include "wx/defs.h" #include "wx/panel.h" #include "wx/icon.h" diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index 97a318bdcd..6c81e98a39 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/radiobox.h @@ -11,10 +11,6 @@ #ifndef __GTKRADIOBOXH__ #define __GTKRADIOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/bitmap.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/radiobut.h b/include/wx/gtk1/radiobut.h index fc3e0c21b7..bdeabaf9f9 100644 --- a/include/wx/gtk1/radiobut.h +++ b/include/wx/gtk1/radiobut.h @@ -11,10 +11,6 @@ #ifndef __GTKRADIOBUTTONH__ #define __GTKRADIOBUTTONH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxRadioButton //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 5ec51def18..458e1547e2 100644 --- a/include/wx/gtk1/region.h +++ b/include/wx/gtk1/region.h @@ -10,10 +10,6 @@ #ifndef _WX_GTK_REGION_H_ #define _WX_GTK_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/gtk1/scrolbar.h b/include/wx/gtk1/scrolbar.h index f471873aa3..24e1a6bf76 100644 --- a/include/wx/gtk1/scrolbar.h +++ b/include/wx/gtk1/scrolbar.h @@ -11,10 +11,6 @@ #ifndef __GTKSCROLLBARH__ #define __GTKSCROLLBARH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "scrolbar.h" -#endif - #include "wx/defs.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/scrolwin.h b/include/wx/gtk1/scrolwin.h index c31179533a..42cc9346af 100644 --- a/include/wx/gtk1/scrolwin.h +++ b/include/wx/gtk1/scrolwin.h @@ -12,10 +12,6 @@ #ifndef _WX_GTK_SCROLLWIN_H_ #define _WX_GTK_SCROLLWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "scrolwin.h" -#endif - // ---------------------------------------------------------------------------- // headers and constants // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/slider.h b/include/wx/gtk1/slider.h index acc01928b1..00f046ba3d 100644 --- a/include/wx/gtk1/slider.h +++ b/include/wx/gtk1/slider.h @@ -10,10 +10,6 @@ #ifndef __GTKSLIDERH__ #define __GTKSLIDERH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxSlider // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/spinbutt.h b/include/wx/gtk1/spinbutt.h index 0969b157d3..e4e955d71f 100644 --- a/include/wx/gtk1/spinbutt.h +++ b/include/wx/gtk1/spinbutt.h @@ -11,10 +11,6 @@ #ifndef _WX_GTK_SPINBUTT_H_ #define _WX_GTK_SPINBUTT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxSpinButton //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index 5f967589fd..138497f44f 100644 --- a/include/wx/gtk1/spinctrl.h +++ b/include/wx/gtk1/spinctrl.h @@ -11,10 +11,6 @@ #ifndef __GTKSPINCTRLH__ #define __GTKSPINCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_SPINCTRL diff --git a/include/wx/gtk1/statbmp.h b/include/wx/gtk1/statbmp.h index d11396a14a..0941233ca2 100644 --- a/include/wx/gtk1/statbmp.h +++ b/include/wx/gtk1/statbmp.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/icon.h" //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/statbox.h b/include/wx/gtk1/statbox.h index c6e232c525..d6640d9741 100644 --- a/include/wx/gtk1/statbox.h +++ b/include/wx/gtk1/statbox.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/statline.h b/include/wx/gtk1/statline.h index ae4248f906..374ceb0669 100644 --- a/include/wx/gtk1/statline.h +++ b/include/wx/gtk1/statline.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICLINEH__ #define __GTKSTATICLINEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_STATLINE diff --git a/include/wx/gtk1/stattext.h b/include/wx/gtk1/stattext.h index 614c0af070..5b9c4640c2 100644 --- a/include/wx/gtk1/stattext.h +++ b/include/wx/gtk1/stattext.h @@ -11,10 +11,6 @@ #ifndef __GTKSTATICTEXTH__ #define __GTKSTATICTEXTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/gtk1/tbargtk.h b/include/wx/gtk1/tbargtk.h index 242b327e9e..092d6af1fe 100644 --- a/include/wx/gtk1/tbargtk.h +++ b/include/wx/gtk1/tbargtk.h @@ -10,10 +10,6 @@ #ifndef _WX_GTK_TBARGTK_H_ #define _WX_GTK_TBARGTK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tbargtk.h" -#endif - #if wxUSE_TOOLBAR // ---------------------------------------------------------------------------- diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index cc1f3e68ab..69d2400032 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -11,10 +11,6 @@ #ifndef __GTKTEXTCTRLH__ #define __GTKTEXTCTRLH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "textctrl.h" -#endif - //----------------------------------------------------------------------------- // wxTextCtrl //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/timer.h b/include/wx/gtk1/timer.h index 6ee7767602..94a1036fa1 100644 --- a/include/wx/gtk1/timer.h +++ b/include/wx/gtk1/timer.h @@ -11,10 +11,6 @@ #ifndef __GTKTIMERH__ #define __GTKTIMERH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "timer.h" -#endif - //----------------------------------------------------------------------------- // wxTimer //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/tooltip.h b/include/wx/gtk1/tooltip.h index 132c98f244..e4cb8d03b1 100644 --- a/include/wx/gtk1/tooltip.h +++ b/include/wx/gtk1/tooltip.h @@ -10,10 +10,6 @@ #ifndef __GTKTOOLTIPH__ #define __GTKTOOLTIPH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/object.h" diff --git a/include/wx/gtk1/toplevel.h b/include/wx/gtk1/toplevel.h index e6af7626d5..8002b3abf7 100644 --- a/include/wx/gtk1/toplevel.h +++ b/include/wx/gtk1/toplevel.h @@ -11,11 +11,6 @@ #ifndef __GTKTOPLEVELH__ #define __GTKTOPLEVELH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "toplevel.h" -#endif - - //----------------------------------------------------------------------------- // wxTopLevelWindowGTK //----------------------------------------------------------------------------- diff --git a/include/wx/gtk1/treectrl.h b/include/wx/gtk1/treectrl.h index a6da82561f..950c33e9e0 100644 --- a/include/wx/gtk1/treectrl.h +++ b/include/wx/gtk1/treectrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TREECTRL_H_ #define _WX_TREECTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "treectrl.h" -#endif - #include "wx/textctrl.h" #include "wx/imaglist.h" diff --git a/include/wx/gtk1/wave.h b/include/wx/gtk1/wave.h index 89ce444943..6bb08c14ca 100644 --- a/include/wx/gtk1/wave.h +++ b/include/wx/gtk1/wave.h @@ -14,10 +14,6 @@ #if wxUSE_WAVE -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wave.h" -#endif - #include "wx/object.h" #ifndef AUDIODEV diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 13adf9b21f..167600816a 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -11,10 +11,6 @@ #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface -#endif - //----------------------------------------------------------------------------- // callback definition for inserting a window (internal) //----------------------------------------------------------------------------- diff --git a/include/wx/hash.h b/include/wx/hash.h index bc52a2209a..42757da257 100644 --- a/include/wx/hash.h +++ b/include/wx/hash.h @@ -12,10 +12,6 @@ #ifndef _WX_HASH_H__ #define _WX_HASH_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "hash.h" -#endif - #include "wx/list.h" #include "wx/dynarray.h" diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index a24afe66c5..9c59d7820c 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -12,10 +12,6 @@ #ifndef _WX_HASHMAP_H_ #define _WX_HASHMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "hashmap.h" -#endif - #include "wx/string.h" #include // for ptrdiff_t diff --git a/include/wx/helpbase.h b/include/wx/helpbase.h index 95a1562e7a..3ff83a8593 100644 --- a/include/wx/helpbase.h +++ b/include/wx/helpbase.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPBASEH__ #define _WX_HELPBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "helpbase.h" -#endif - #include "wx/defs.h" #if wxUSE_HELP diff --git a/include/wx/html/helpctrl.h b/include/wx/html/helpctrl.h index a2a795b243..9fbe2a49bb 100644 --- a/include/wx/html/helpctrl.h +++ b/include/wx/html/helpctrl.h @@ -14,10 +14,6 @@ #include "wx/defs.h" -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "helpctrl.h" -#endif - #if wxUSE_WXHTML_HELP #include "wx/html/helpfrm.h" diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index c6efdfd96c..0c5230f3e9 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPDATA_H_ #define _WX_HELPDATA_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "helpdata.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/helpfrm.h b/include/wx/html/helpfrm.h index 3e0e6e9264..814200ef76 100644 --- a/include/wx/html/helpfrm.h +++ b/include/wx/html/helpfrm.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPFRM_H_ #define _WX_HELPFRM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "helpfrm.h" -#endif - #include "wx/defs.h" #if wxUSE_WXHTML_HELP diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index fb8d3e5ea6..22664539a1 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -12,10 +12,6 @@ #ifndef _WX_HTMLCELL_H_ #define _WX_HTMLCELL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmlcell.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/htmlfilt.h b/include/wx/html/htmlfilt.h index 4f49f9f8c7..dcb0ee777a 100644 --- a/include/wx/html/htmlfilt.h +++ b/include/wx/html/htmlfilt.h @@ -11,10 +11,6 @@ #ifndef _WX_HTMLFILT_H_ #define _WX_HTMLFILT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmlfilt.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/htmlpars.h b/include/wx/html/htmlpars.h index 58f2f2bcc0..64d345f769 100644 --- a/include/wx/html/htmlpars.h +++ b/include/wx/html/htmlpars.h @@ -11,10 +11,6 @@ #ifndef _WX_HTMLPARS_H_ #define _WX_HTMLPARS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmlpars.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/htmlproc.h b/include/wx/html/htmlproc.h index 59cb01ed94..071ecedb98 100644 --- a/include/wx/html/htmlproc.h +++ b/include/wx/html/htmlproc.h @@ -11,11 +11,6 @@ #ifndef _WX_HTMLPREP_H_ #define _WX_HTMLPREP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmlproc.h" -// (implementation is in htmlwin.cpp, there's no htmlprep.cpp!) -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/htmltag.h b/include/wx/html/htmltag.h index 0dc91747ed..25520e9e8d 100644 --- a/include/wx/html/htmltag.h +++ b/include/wx/html/htmltag.h @@ -11,10 +11,6 @@ #ifndef _WX_HTMLTAG_H_ #define _WX_HTMLTAG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmltag.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 7314b23ea7..7848ec6351 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -11,10 +11,6 @@ #ifndef _WX_HTMLWIN_H_ #define _WX_HTMLWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmlwin.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index 91e286a917..82fbb3a17b 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -11,10 +11,6 @@ #ifndef _WX_HTMPRINT_H_ #define _WX_HTMPRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "htmprint.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE diff --git a/include/wx/html/winpars.h b/include/wx/html/winpars.h index 83500c5ad9..f8e52ebfaa 100644 --- a/include/wx/html/winpars.h +++ b/include/wx/html/winpars.h @@ -11,10 +11,6 @@ #ifndef _WX_WINPARS_H_ #define _WX_WINPARS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "winpars.h" -#endif - #include "wx/defs.h" #if wxUSE_HTML diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index 8f04625360..1311465496 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -12,10 +12,6 @@ #ifndef _WX_ICONBNDL_H_ #define _WX_ICONBNDL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "iconbndl.h" -#endif - #include "wx/dynarray.h" // for wxSize #include "wx/gdicmn.h" diff --git a/include/wx/imagbmp.h b/include/wx/imagbmp.h index 7ddbd1c3f5..cdc24ebde6 100644 --- a/include/wx/imagbmp.h +++ b/include/wx/imagbmp.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGBMP_H_ #define _WX_IMAGBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagbmp.h" -#endif - #include "wx/image.h" // defines for saving the BMP file in different formats, Bits Per Pixel diff --git a/include/wx/image.h b/include/wx/image.h index ec660d1418..ae0979d524 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGE_H_ #define _WX_IMAGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "image.h" -#endif - #include "wx/setup.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/imaggif.h b/include/wx/imaggif.h index 5af07e4072..db893855c6 100644 --- a/include/wx/imaggif.h +++ b/include/wx/imaggif.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGGIF_H_ #define _WX_IMAGGIF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imaggif.h" -#endif - #include "wx/image.h" diff --git a/include/wx/imagiff.h b/include/wx/imagiff.h index 3591d7570e..91684603c0 100644 --- a/include/wx/imagiff.h +++ b/include/wx/imagiff.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGE_IFF_H_ #define _WX_IMAGE_IFF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagiff.h" -#endif - #include "wx/image.h" //----------------------------------------------------------------------------- diff --git a/include/wx/imagjpeg.h b/include/wx/imagjpeg.h index 7c9a82de9d..0ae4afb3dc 100644 --- a/include/wx/imagjpeg.h +++ b/include/wx/imagjpeg.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGJPEG_H_ #define _WX_IMAGJPEG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagjpeg.h" -#endif - #include "wx/image.h" //----------------------------------------------------------------------------- diff --git a/include/wx/imagpcx.h b/include/wx/imagpcx.h index 40d3ca7c7e..066a6ce718 100644 --- a/include/wx/imagpcx.h +++ b/include/wx/imagpcx.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGPCX_H_ #define _WX_IMAGPCX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagpcx.h" -#endif - #include "wx/image.h" diff --git a/include/wx/imagpng.h b/include/wx/imagpng.h index 1183280c11..0d9cc2796a 100644 --- a/include/wx/imagpng.h +++ b/include/wx/imagpng.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGPNG_H_ #define _WX_IMAGPNG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagpng.h" -#endif - #include "wx/image.h" //----------------------------------------------------------------------------- diff --git a/include/wx/imagpnm.h b/include/wx/imagpnm.h index 12f184f587..1dc28a4bed 100644 --- a/include/wx/imagpnm.h +++ b/include/wx/imagpnm.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGPNM_H_ #define _WX_IMAGPNM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagpnm.h" -#endif - #include "wx/image.h" //----------------------------------------------------------------------------- diff --git a/include/wx/imagtiff.h b/include/wx/imagtiff.h index 67657d6d4f..36bb89c462 100644 --- a/include/wx/imagtiff.h +++ b/include/wx/imagtiff.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGTIFF_H_ #define _WX_IMAGTIFF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagtiff.h" -#endif - #include "wx/image.h" diff --git a/include/wx/imagxpm.h b/include/wx/imagxpm.h index f8825308c2..ae34b9ba26 100644 --- a/include/wx/imagxpm.h +++ b/include/wx/imagxpm.h @@ -10,10 +10,6 @@ #ifndef _WX_IMAGXPM_H_ #define _WX_IMAGXPM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imagxpm.h" -#endif - #include "wx/image.h" diff --git a/include/wx/intl.h b/include/wx/intl.h index f565a144cd..5299df96c1 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -12,10 +12,6 @@ #ifndef _WX_INTL_H_ #define _WX_INTL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "intl.h" -#endif - #include "wx/defs.h" #include "wx/string.h" diff --git a/include/wx/ipcbase.h b/include/wx/ipcbase.h index 49a9f59f9b..a6f121ecaf 100644 --- a/include/wx/ipcbase.h +++ b/include/wx/ipcbase.h @@ -12,10 +12,6 @@ #ifndef _WX_IPCBASEH__ #define _WX_IPCBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "ipcbase.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/layout.h b/include/wx/layout.h index fe232e266a..2d01f8ca83 100644 --- a/include/wx/layout.h +++ b/include/wx/layout.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "layout.h" -#endif - #include "wx/object.h" // X stupidly defines these in X.h diff --git a/include/wx/list.h b/include/wx/list.h index 2b4f642d54..b0c711b9c6 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -25,10 +25,6 @@ #ifndef _WX_LISTH__ #define _WX_LISTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "list.h" -#endif - // ----------------------------------------------------------------------------- // headers // ----------------------------------------------------------------------------- diff --git a/include/wx/listbase.h b/include/wx/listbase.h index a1d85937ff..e39b0203b0 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -12,10 +12,6 @@ #ifndef _WX_LISTBASE_H_BASE_ #define _WX_LISTBASE_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface "listctrlbase.h" -#endif - #if wxUSE_LISTCTRL // ---------------------------------------------------------------------------- diff --git a/include/wx/listbox.h b/include/wx/listbox.h index 3624531b20..1c777008cb 100644 --- a/include/wx/listbox.h +++ b/include/wx/listbox.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "listboxbase.h" -#endif - #include "wx/defs.h" #if wxUSE_LISTBOX diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index c57ee5ef67..2e272cf171 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_LISTCTRL_H_BASE_ #define _WX_LISTCTRL_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "listctrlbase.h" -#endif - #if wxUSE_LISTCTRL #include "wx/listbase.h" diff --git a/include/wx/log.h b/include/wx/log.h index a50e6e8e40..b613727a83 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -12,10 +12,6 @@ #ifndef _WX_LOG_H_ #define _WX_LOG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "log.h" -#endif - #include "wx/setup.h" #include "wx/string.h" diff --git a/include/wx/longlong.h b/include/wx/longlong.h index 129f62f38b..c8039d6abb 100644 --- a/include/wx/longlong.h +++ b/include/wx/longlong.h @@ -13,10 +13,6 @@ #ifndef _WX_LONGLONG_H #define _WX_LONGLONG_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "longlong.h" -#endif - #include "wx/defs.h" #include "wx/string.h" diff --git a/include/wx/mac/accel.h b/include/wx/mac/accel.h index da205da2c8..2127e19a1c 100644 --- a/include/wx/mac/accel.h +++ b/include/wx/mac/accel.h @@ -12,10 +12,6 @@ #ifndef _WX_ACCEL_H_ #define _WX_ACCEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "accel.h" -#endif - #include "wx/string.h" #include "wx/event.h" diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index 0241b2e649..daef46df88 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -12,10 +12,6 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "app.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdicmn.h" diff --git a/include/wx/mac/bitmap.h b/include/wx/mac/bitmap.h index a4d30d11d3..b1d671e7f0 100644 --- a/include/wx/mac/bitmap.h +++ b/include/wx/mac/bitmap.h @@ -12,10 +12,6 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "bitmap.h" -#endif - #include "wx/palette.h" // Bitmap diff --git a/include/wx/mac/bmpbuttn.h b/include/wx/mac/bmpbuttn.h index d588017989..c4536b9c60 100644 --- a/include/wx/mac/bmpbuttn.h +++ b/include/wx/mac/bmpbuttn.h @@ -12,10 +12,6 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "bmpbuttn.h" -#endif - #include "wx/button.h" WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; diff --git a/include/wx/mac/brush.h b/include/wx/mac/brush.h index b03a6b332e..8ebc3a61d6 100644 --- a/include/wx/mac/brush.h +++ b/include/wx/mac/brush.h @@ -12,10 +12,6 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "brush.h" -#endif - #include "wx/gdicmn.h" #include "wx/gdiobj.h" #include "wx/bitmap.h" diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index 2279d82316..782f663361 100644 --- a/include/wx/mac/button.h +++ b/include/wx/mac/button.h @@ -12,10 +12,6 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "button.h" -#endif - #include "wx/control.h" #include "wx/gdicmn.h" diff --git a/include/wx/mac/checkbox.h b/include/wx/mac/checkbox.h index 5f7db2068f..be7adb9166 100644 --- a/include/wx/mac/checkbox.h +++ b/include/wx/mac/checkbox.h @@ -12,10 +12,6 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "checkbox.h" -#endif - // Checkbox item (single checkbox) class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase { diff --git a/include/wx/mac/checklst.h b/include/wx/mac/checklst.h index ef452a1c21..5e943898de 100644 --- a/include/wx/mac/checklst.h +++ b/include/wx/mac/checklst.h @@ -13,10 +13,6 @@ #ifndef _WX_CHECKLST_H_ #define _WX_CHECKLST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "checklst.h" -#endif - #if !defined(__MWERKS__) && !defined(__UNIX__) typedef unsigned int size_t; #endif diff --git a/include/wx/mac/choice.h b/include/wx/mac/choice.h index a122f95f37..5ad9dacf67 100644 --- a/include/wx/mac/choice.h +++ b/include/wx/mac/choice.h @@ -12,10 +12,6 @@ #ifndef _WX_CHOICE_H_ #define _WX_CHOICE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "choice.h" -#endif - #include "wx/control.h" #include "wx/dynarray.h" diff --git a/include/wx/mac/clipbrd.h b/include/wx/mac/clipbrd.h index 17b7367b30..6c9e7db664 100644 --- a/include/wx/mac/clipbrd.h +++ b/include/wx/mac/clipbrd.h @@ -15,10 +15,6 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "clipbrd.h" -#endif - #if wxUSE_CLIPBOARD #include "wx/list.h" diff --git a/include/wx/mac/colordlg.h b/include/wx/mac/colordlg.h index e12da2d92f..c3637ad323 100644 --- a/include/wx/mac/colordlg.h +++ b/include/wx/mac/colordlg.h @@ -13,10 +13,6 @@ #ifndef _WX_COLORDLG_H_ #define _WX_COLORDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "colordlg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/mac/colour.h b/include/wx/mac/colour.h index 857eb6143c..a5e4c67b2a 100644 --- a/include/wx/mac/colour.h +++ b/include/wx/mac/colour.h @@ -12,10 +12,6 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "colour.h" -#endif - #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/mac/combobox.h b/include/wx/mac/combobox.h index 4b10550e60..73d519dec3 100644 --- a/include/wx/mac/combobox.h +++ b/include/wx/mac/combobox.h @@ -12,10 +12,6 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "combobox.h" -#endif - #include "wx/textctrl.h" #include "wx/choice.h" diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index c97686d258..c8271bc4ca 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -12,10 +12,6 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "control.h" -#endif - WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr; // General item class diff --git a/include/wx/mac/cursor.h b/include/wx/mac/cursor.h index 0b9fff3a85..c84f9e0598 100644 --- a/include/wx/mac/cursor.h +++ b/include/wx/mac/cursor.h @@ -12,10 +12,6 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "cursor.h" -#endif - #include "wx/bitmap.h" class WXDLLEXPORT wxCursorRefData: public wxBitmapRefData diff --git a/include/wx/mac/dataobj.h b/include/wx/mac/dataobj.h index d0986d168e..c75b4cad4a 100644 --- a/include/wx/mac/dataobj.h +++ b/include/wx/mac/dataobj.h @@ -12,10 +12,6 @@ #ifndef _WX_MAC_DATAOBJ_H_ #define _WX_MAC_DATAOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxDataObject is the same as wxDataObjectBase under wxGTK // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/dataobj2.h b/include/wx/mac/dataobj2.h index c6fd53689c..20a2a24937 100644 --- a/include/wx/mac/dataobj2.h +++ b/include/wx/mac/dataobj2.h @@ -12,10 +12,6 @@ #ifndef _WX_GTK_DATAOBJ2_H_ #define _WX_GTK_DATAOBJ2_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index 679130d65b..b42ed7616b 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dc.h" -#endif - #include "wx/pen.h" #include "wx/brush.h" #include "wx/icon.h" diff --git a/include/wx/mac/dcclient.h b/include/wx/mac/dcclient.h index c7078fe77e..0b960beb77 100644 --- a/include/wx/mac/dcclient.h +++ b/include/wx/mac/dcclient.h @@ -12,10 +12,6 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dcclient.h" -#endif - #include "wx/dc.h" //----------------------------------------------------------------------------- diff --git a/include/wx/mac/dcmemory.h b/include/wx/mac/dcmemory.h index c72e4017b7..67d94624c2 100644 --- a/include/wx/mac/dcmemory.h +++ b/include/wx/mac/dcmemory.h @@ -12,10 +12,6 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxMemoryDC: public wxPaintDC diff --git a/include/wx/mac/dcprint.h b/include/wx/mac/dcprint.h index cc581688d3..aafa2e28bf 100644 --- a/include/wx/mac/dcprint.h +++ b/include/wx/mac/dcprint.h @@ -12,10 +12,6 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dcprint.h" -#endif - #include "wx/dc.h" #include "wx/cmndata.h" diff --git a/include/wx/mac/dcscreen.h b/include/wx/mac/dcscreen.h index fcd6cf7eee..fe3a8061f3 100644 --- a/include/wx/mac/dcscreen.h +++ b/include/wx/mac/dcscreen.h @@ -12,10 +12,6 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxScreenDC: public wxWindowDC diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index fc58b6f03a..9b2ea86574 100644 --- a/include/wx/mac/dialog.h +++ b/include/wx/mac/dialog.h @@ -12,10 +12,6 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dialog.h" -#endif - #include "wx/panel.h" WXDLLEXPORT_DATA(extern const char*) wxDialogNameStr; diff --git a/include/wx/mac/dirdlg.h b/include/wx/mac/dirdlg.h index 13498f42e7..b94ef13b55 100644 --- a/include/wx/mac/dirdlg.h +++ b/include/wx/mac/dirdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_DIRDLG_H_ #define _WX_DIRDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dirdlg.h" -#endif - class WXDLLEXPORT wxDirDialog : public wxDialog { public: diff --git a/include/wx/mac/dnd.h b/include/wx/mac/dnd.h index 964894d65c..5060122471 100644 --- a/include/wx/mac/dnd.h +++ b/include/wx/mac/dnd.h @@ -10,10 +10,6 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dnd.h" -#endif - #if wxUSE_DRAG_AND_DROP #include "wx/defs.h" diff --git a/include/wx/mac/filedlg.h b/include/wx/mac/filedlg.h index a013f9d8de..053a4cebca 100644 --- a/include/wx/mac/filedlg.h +++ b/include/wx/mac/filedlg.h @@ -12,10 +12,6 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "filedlg.h" -#endif - #include "wx/dialog.h" /* diff --git a/include/wx/mac/font.h b/include/wx/mac/font.h index b14155a75b..10feb7b97d 100644 --- a/include/wx/mac/font.h +++ b/include/wx/mac/font.h @@ -12,10 +12,6 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "font.h" -#endif - class WXDLLEXPORT wxFontRefData: public wxGDIRefData { friend class WXDLLEXPORT wxFont; diff --git a/include/wx/mac/fontdlg.h b/include/wx/mac/fontdlg.h index f21d96a7da..772619c5e6 100644 --- a/include/wx/mac/fontdlg.h +++ b/include/wx/mac/fontdlg.h @@ -13,10 +13,6 @@ #ifndef _WX_FONTDLG_H_ #define _WX_FONTDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "fontdlg.h" -#endif - #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 1005712dd7..69547778e4 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -12,10 +12,6 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "frame.h" -#endif - #include "wx/window.h" #include "wx/toolbar.h" #include "wx/accel.h" diff --git a/include/wx/mac/gauge.h b/include/wx/mac/gauge.h index d204ddc15d..73d027df08 100644 --- a/include/wx/mac/gauge.h +++ b/include/wx/mac/gauge.h @@ -12,10 +12,6 @@ #ifndef _WX_GAUGE_H_ #define _WX_GAUGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "gauge.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr; diff --git a/include/wx/mac/gdiobj.h b/include/wx/mac/gdiobj.h index 0e1893f462..32cfcc1061 100644 --- a/include/wx/mac/gdiobj.h +++ b/include/wx/mac/gdiobj.h @@ -12,10 +12,6 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "gdiobj.h" -#endif - #include "wx/object.h" class WXDLLEXPORT wxGDIRefData: public wxObjectRefData { diff --git a/include/wx/mac/glcanvas.h b/include/wx/mac/glcanvas.h index a5465fcc5b..9056eadd1b 100644 --- a/include/wx/mac/glcanvas.h +++ b/include/wx/mac/glcanvas.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -# pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ diff --git a/include/wx/mac/helpxxxx.h b/include/wx/mac/helpxxxx.h index 20a596d8ae..06122112c2 100644 --- a/include/wx/mac/helpxxxx.h +++ b/include/wx/mac/helpxxxx.h @@ -13,10 +13,6 @@ #ifndef _WX_HELPXXXX_H_ #define _WX_HELPXXXX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "helpxxxx.h" -#endif - #include "wx/wx.h" #include "wx/helpbase.h" diff --git a/include/wx/mac/icon.h b/include/wx/mac/icon.h index c95b89aee2..b82ff1f881 100644 --- a/include/wx/mac/icon.h +++ b/include/wx/mac/icon.h @@ -12,10 +12,6 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "icon.h" -#endif - #include "wx/bitmap.h" // Icon diff --git a/include/wx/mac/imaglist.h b/include/wx/mac/imaglist.h index 13b7be60fa..f383140ce0 100644 --- a/include/wx/mac/imaglist.h +++ b/include/wx/mac/imaglist.h @@ -14,10 +14,6 @@ #ifndef _WX_IMAGLIST_H_ #define _WX_IMAGLIST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "imaglist.h" -#endif - #include "wx/bitmap.h" /* diff --git a/include/wx/mac/joystick.h b/include/wx/mac/joystick.h index 601b32f6bb..f522cfdf84 100644 --- a/include/wx/mac/joystick.h +++ b/include/wx/mac/joystick.h @@ -12,10 +12,6 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "joystick.h" -#endif - #include "wx/event.h" class WXDLLEXPORT wxJoystick: public wxObject diff --git a/include/wx/mac/listbox.h b/include/wx/mac/listbox.h index 8158bf6731..7703bdae39 100644 --- a/include/wx/mac/listbox.h +++ b/include/wx/mac/listbox.h @@ -13,10 +13,6 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "listbox.h" -#endif - // ---------------------------------------------------------------------------- // simple types // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/listctrl.h b/include/wx/mac/listctrl.h index b38b7973dd..52725f6ed8 100644 --- a/include/wx/mac/listctrl.h +++ b/include/wx/mac/listctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_LISTCTRL_H_ #define _WX_LISTCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "listctrl.h" -#endif - #include "wx/control.h" #include "wx/event.h" #include "wx/imaglist.h" diff --git a/include/wx/mac/mdi.h b/include/wx/mac/mdi.h index 3886829522..7fec7f986c 100644 --- a/include/wx/mac/mdi.h +++ b/include/wx/mac/mdi.h @@ -14,10 +14,6 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "mdi.h" -#endif - #include "wx/frame.h" WXDLLEXPORT_DATA(extern const char*) wxFrameNameStr; diff --git a/include/wx/mac/menu.h b/include/wx/mac/menu.h index ea6b3f3e8c..65265d67f5 100644 --- a/include/wx/mac/menu.h +++ b/include/wx/mac/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_MENU_H_ #define _WX_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "menu.h" -#endif - #if wxUSE_ACCEL #include "wx/accel.h" #include "wx/dynarray.h" diff --git a/include/wx/mac/menuitem.h b/include/wx/mac/menuitem.h index 4594525961..1ba8a00799 100644 --- a/include/wx/mac/menuitem.h +++ b/include/wx/mac/menuitem.h @@ -12,10 +12,6 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "menuitem.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/mimetype.h b/include/wx/mac/mimetype.h index 475267c7ba..581a2721d8 100644 --- a/include/wx/mac/mimetype.h +++ b/include/wx/mac/mimetype.h @@ -12,10 +12,6 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "mimetype.h" -#endif - #include "wx/defs.h" #include "wx/mimetype.h" diff --git a/include/wx/mac/minifram.h b/include/wx/mac/minifram.h index 08e145ba32..785969a535 100644 --- a/include/wx/mac/minifram.h +++ b/include/wx/mac/minifram.h @@ -14,10 +14,6 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "minifram.h" -#endif - #include "wx/frame.h" class WXDLLEXPORT wxMiniFrame: public wxFrame { diff --git a/include/wx/mac/msgdlg.h b/include/wx/mac/msgdlg.h index 30a8d7e4cc..8066d05950 100644 --- a/include/wx/mac/msgdlg.h +++ b/include/wx/mac/msgdlg.h @@ -13,10 +13,6 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "msgdlg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" diff --git a/include/wx/mac/notebook.h b/include/wx/mac/notebook.h index bdeec4ee71..c6c284c248 100644 --- a/include/wx/mac/notebook.h +++ b/include/wx/mac/notebook.h @@ -11,10 +11,6 @@ #ifndef _WX_NOTEBOOK_H_ #define _WX_NOTEBOOK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "notebook.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/palette.h b/include/wx/mac/palette.h index 420e0f16fc..bf100e70d9 100644 --- a/include/wx/mac/palette.h +++ b/include/wx/mac/palette.h @@ -12,10 +12,6 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "palette.h" -#endif - #include "wx/colour.h" #include "wx/gdiobj.h" diff --git a/include/wx/mac/pen.h b/include/wx/mac/pen.h index f13fcdfdac..2098e0ea67 100644 --- a/include/wx/mac/pen.h +++ b/include/wx/mac/pen.h @@ -12,10 +12,6 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "pen.h" -#endif - #include "wx/gdiobj.h" #include "wx/colour.h" #include "wx/bitmap.h" diff --git a/include/wx/mac/pnghand.h b/include/wx/mac/pnghand.h index 426b0c4483..0fac6ea6e9 100644 --- a/include/wx/mac/pnghand.h +++ b/include/wx/mac/pnghand.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "pnghand.h" -#endif - #ifndef _WX_PNGHAND_H_ #define _WX_PNGHAND_H_ diff --git a/include/wx/mac/pngread.h b/include/wx/mac/pngread.h index 8aa50a09d4..5244da0d9f 100644 --- a/include/wx/mac/pngread.h +++ b/include/wx/mac/pngread.h @@ -11,10 +11,6 @@ #ifndef _WX_PNGREAD__ #define _WX_PNGREAD__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "pngread.h" -#endif - #ifndef byte typedef unsigned char byte; #endif diff --git a/include/wx/mac/printdlg.h b/include/wx/mac/printdlg.h index d17e9599bb..9d267d4d54 100644 --- a/include/wx/mac/printdlg.h +++ b/include/wx/mac/printdlg.h @@ -14,10 +14,6 @@ #ifndef _WX_PRINTDLG_H_ #define _WX_PRINTDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "printdlg.h" -#endif - #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/mac/printmac.h b/include/wx/mac/printmac.h index 6e155b9470..10a60580f6 100644 --- a/include/wx/mac/printmac.h +++ b/include/wx/mac/printmac.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINTWIN_H_ #define _WX_PRINTWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "printwin.h" -#endif - #include "wx/prntbase.h" /* diff --git a/include/wx/mac/radiobox.h b/include/wx/mac/radiobox.h index 5e0f3644e0..8f6b1c1cb4 100644 --- a/include/wx/mac/radiobox.h +++ b/include/wx/mac/radiobox.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "radiobox.h" -#endif - // List box item class WXDLLEXPORT wxBitmap ; diff --git a/include/wx/mac/radiobut.h b/include/wx/mac/radiobut.h index e418d3f495..b3685abcc7 100644 --- a/include/wx/mac/radiobut.h +++ b/include/wx/mac/radiobut.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "radiobut.h" -#endif - class WXDLLEXPORT wxRadioButton: public wxControl { DECLARE_DYNAMIC_CLASS(wxRadioButton) diff --git a/include/wx/mac/region.h b/include/wx/mac/region.h index d85dd691fb..7233dce0c4 100644 --- a/include/wx/mac/region.h +++ b/include/wx/mac/region.h @@ -12,10 +12,6 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "region.h" -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/mac/scrolbar.h b/include/wx/mac/scrolbar.h index 61c7f5b139..f71aeb1306 100644 --- a/include/wx/mac/scrolbar.h +++ b/include/wx/mac/scrolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "scrolbar.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxScrollBarNameStr; diff --git a/include/wx/mac/slider.h b/include/wx/mac/slider.h index 5a3c76f86a..167cc16589 100644 --- a/include/wx/mac/slider.h +++ b/include/wx/mac/slider.h @@ -12,10 +12,6 @@ #ifndef _WX_SLIDER_H_ #define _WX_SLIDER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "slider.h" -#endif - #include "wx/control.h" #include "wx/slider.h" #include "wx/stattext.h" diff --git a/include/wx/mac/spinbutt.h b/include/wx/mac/spinbutt.h index 80e67b942c..14bc5cf0df 100644 --- a/include/wx/mac/spinbutt.h +++ b/include/wx/mac/spinbutt.h @@ -12,10 +12,6 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "spinbutt.h" -#endif - #include "wx/control.h" #include "wx/event.h" diff --git a/include/wx/mac/spinctrl.h b/include/wx/mac/spinctrl.h index 746dac82c4..c3a57deca0 100755 --- a/include/wx/mac/spinctrl.h +++ b/include/wx/mac/spinctrl.h @@ -22,10 +22,6 @@ #if wxUSE_SPINBTN -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "spinctlg.h" -#endif - class WXDLLEXPORT wxSpinButton; class WXDLLEXPORT wxTextCtrl; diff --git a/include/wx/mac/statbmp.h b/include/wx/mac/statbmp.h index 04b36469bf..04aa0c5b05 100644 --- a/include/wx/mac/statbmp.h +++ b/include/wx/mac/statbmp.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "statbmp.h" -#endif - #include "wx/icon.h" class WXDLLEXPORT wxStaticBitmap: public wxStaticBitmapBase diff --git a/include/wx/mac/statbox.h b/include/wx/mac/statbox.h index 0f25961c37..1b20b7f107 100644 --- a/include/wx/mac/statbox.h +++ b/include/wx/mac/statbox.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "statbox.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxStaticBoxNameStr; diff --git a/include/wx/mac/statline.h b/include/wx/mac/statline.h index 4651d04557..e5467fb6d3 100644 --- a/include/wx/mac/statline.h +++ b/include/wx/mac/statline.h @@ -11,10 +11,6 @@ #ifndef _WX_GENERIC_STATLINE_H_ #define _WX_GENERIC_STATLINE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "statline.h" -#endif - class wxStaticBox; // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/stattext.h b/include/wx/mac/stattext.h index 8884f70452..685faf05b0 100644 --- a/include/wx/mac/stattext.h +++ b/include/wx/mac/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "stattext.h" -#endif - class WXDLLEXPORT wxStaticText: public wxStaticTextBase { DECLARE_DYNAMIC_CLASS(wxStaticText) diff --git a/include/wx/mac/statusbr.h b/include/wx/mac/statusbr.h index 232390ab21..03c9f96857 100644 --- a/include/wx/mac/statusbr.h +++ b/include/wx/mac/statusbr.h @@ -13,10 +13,6 @@ #ifndef _WX_STATBAR_H_ #define _WX_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "statbrma.h" -#endif - class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric { DECLARE_DYNAMIC_CLASS(wxStatusBarMac); diff --git a/include/wx/mac/tabctrl.h b/include/wx/mac/tabctrl.h index 96aae83068..7006a0b8b1 100644 --- a/include/wx/mac/tabctrl.h +++ b/include/wx/mac/tabctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TABCTRL_H_ #define _WX_TABCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "tabctrl.h" -#endif - class wxImageList; /* diff --git a/include/wx/mac/taskbar.h b/include/wx/mac/taskbar.h index a37d0702b7..c9a1f370cd 100644 --- a/include/wx/mac/taskbar.h +++ b/include/wx/mac/taskbar.h @@ -13,10 +13,6 @@ #ifndef _WX_TASKBAR_H_ #define _WX_TASKBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "taskbar.h" -#endif - #include "wx/list.h" #include "wx/icon.h" diff --git a/include/wx/mac/textctrl.h b/include/wx/mac/textctrl.h index 5c2c753c43..d1a860c24c 100644 --- a/include/wx/mac/textctrl.h +++ b/include/wx/mac/textctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "textctrl.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxTextCtrlNameStr; diff --git a/include/wx/mac/timer.h b/include/wx/mac/timer.h index 397edf7485..08df3fc03d 100644 --- a/include/wx/mac/timer.h +++ b/include/wx/mac/timer.h @@ -12,10 +12,6 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "timer.h" -#endif - #include "wx/object.h" #include "wx/mac/macnotfy.h" diff --git a/include/wx/mac/toolbar.h b/include/wx/mac/toolbar.h index caef6bccd2..c1eedbc017 100644 --- a/include/wx/mac/toolbar.h +++ b/include/wx/mac/toolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "toolbar.h" -#endif - #if wxUSE_TOOLBAR #include "wx/tbarbase.h" diff --git a/include/wx/mac/toplevel.h b/include/wx/mac/toplevel.h index 046e4fe8b5..7fc3ee3786 100644 --- a/include/wx/mac/toplevel.h +++ b/include/wx/mac/toplevel.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "toplevel.h" -#endif - // ---------------------------------------------------------------------------- // wxTopLevelWindowMac // ---------------------------------------------------------------------------- diff --git a/include/wx/mac/treectrl.h b/include/wx/mac/treectrl.h index dad81e067f..efe2809b12 100644 --- a/include/wx/mac/treectrl.h +++ b/include/wx/mac/treectrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TREECTRL_H_ #define _WX_TREECTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "treectrl.h" -#endif - #include "wx/control.h" #include "wx/event.h" #include "wx/imaglist.h" diff --git a/include/wx/mac/wave.h b/include/wx/mac/wave.h index 6fdbf6519b..5d82fe3748 100644 --- a/include/wx/mac/wave.h +++ b/include/wx/mac/wave.h @@ -13,10 +13,6 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wave.h" -#endif - #if wxUSE_WAVE #include "wx/object.h" diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index cef26853e1..dd6ddb9c8c 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -12,10 +12,6 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "window.h" -#endif - #include "wx/brush.h" // --------------------------------------------------------------------------- diff --git a/include/wx/matrix.h b/include/wx/matrix.h index c5a7d41a66..3b7b352b10 100644 --- a/include/wx/matrix.h +++ b/include/wx/matrix.h @@ -12,10 +12,6 @@ #ifndef _WX_MATRIXH__ #define _WX_MATRIXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "matrix.h" -#endif - //! headerfiles="matrix.h wx/object.h" #include "wx/object.h" diff --git a/include/wx/memconf.h b/include/wx/memconf.h index 0d7a2228b6..9dba510f9d 100644 --- a/include/wx/memconf.h +++ b/include/wx/memconf.h @@ -22,8 +22,6 @@ #ifndef _WX_MEMCONF_H_ #define _WX_MEMCONF_H_ -// no #pragma interface because no implementation file - #if wxUSE_CONFIG #include "wx/fileconf.h" // the base class diff --git a/include/wx/memory.h b/include/wx/memory.h index e69b1b03bc..19aa19585d 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -12,10 +12,6 @@ #ifndef _WX_MEMORYH__ #define _WX_MEMORYH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "memory.h" -#endif - #include "wx/defs.h" #include "wx/string.h" diff --git a/include/wx/menu.h b/include/wx/menu.h index c3248740d6..16e32db753 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_MENU_H_BASE_ #define _WX_MENU_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "menubase.h" -#endif - #if wxUSE_MENUS // ---------------------------------------------------------------------------- diff --git a/include/wx/mgl/app.h b/include/wx/mgl/app.h index 43bec77767..3569cf8235 100644 --- a/include/wx/mgl/app.h +++ b/include/wx/mgl/app.h @@ -10,10 +10,6 @@ #ifndef __WX_APP_H__ #define __WX_APP_H__ -#ifdef __GNUG__ -#pragma interface "app.h" -#endif - #include "wx/frame.h" #include "wx/icon.h" diff --git a/include/wx/mgl/bitmap.h b/include/wx/mgl/bitmap.h index 51400743f6..706d34b58d 100644 --- a/include/wx/mgl/bitmap.h +++ b/include/wx/mgl/bitmap.h @@ -10,10 +10,6 @@ #ifndef __WX_BITMAP_H__ #define __WX_BITMAP_H__ -#ifdef __GNUG__ -#pragma interface "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index 2352b22442..8c2400ff94 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -11,10 +11,6 @@ #ifndef __WX_BRUSH_H__ #define __WX_BRUSH_H__ -#ifdef __GNUG__ -#pragma interface "brush.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/mgl/clipbrd.h b/include/wx/mgl/clipbrd.h index 595f5f43e0..1d3f7eb3d7 100644 --- a/include/wx/mgl/clipbrd.h +++ b/include/wx/mgl/clipbrd.h @@ -11,10 +11,6 @@ #ifndef __WX_CLIPBOARD_H__ #define __WX_CLIPBOARD_H__ -#ifdef __GNUG__ -#pragma interface "clipbrd.h" -#endif - #if wxUSE_CLIPBOARD #include "wx/object.h" diff --git a/include/wx/mgl/colour.h b/include/wx/mgl/colour.h index 74810827b9..32f01f388b 100644 --- a/include/wx/mgl/colour.h +++ b/include/wx/mgl/colour.h @@ -12,9 +12,6 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ -#pragma interface "colour.h" -#endif #include "wx/object.h" // Colour diff --git a/include/wx/mgl/cursor.h b/include/wx/mgl/cursor.h index 026f5ead50..50823f00d5 100644 --- a/include/wx/mgl/cursor.h +++ b/include/wx/mgl/cursor.h @@ -11,10 +11,6 @@ #ifndef __WX_CURSOR_H__ #define __WX_CURSOR_H__ -#ifdef __GNUG__ -#pragma interface "cursor.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdicmn.h" diff --git a/include/wx/mgl/dc.h b/include/wx/mgl/dc.h index 9e0cccd454..0864d24a0b 100644 --- a/include/wx/mgl/dc.h +++ b/include/wx/mgl/dc.h @@ -11,10 +11,6 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ - #pragma interface "dc.h" -#endif - #include "wx/defs.h" #include "wx/dc.h" #include "wx/region.h" diff --git a/include/wx/mgl/dcclient.h b/include/wx/mgl/dcclient.h index c66fce5141..ca78d1df80 100644 --- a/include/wx/mgl/dcclient.h +++ b/include/wx/mgl/dcclient.h @@ -10,10 +10,6 @@ #ifndef __WX_DCCLIENT_H__ #define __WX_DCCLIENT_H__ -#ifdef __GNUG__ -#pragma interface "dcclient.h" -#endif - #include "wx/dc.h" //----------------------------------------------------------------------------- diff --git a/include/wx/mgl/dcmemory.h b/include/wx/mgl/dcmemory.h index 8e85ffe722..ef3cbb9af0 100644 --- a/include/wx/mgl/dcmemory.h +++ b/include/wx/mgl/dcmemory.h @@ -11,10 +11,6 @@ #ifndef __WX_DCMEMORY_H__ #define __WX_DCMEMORY_H__ -#ifdef __GNUG__ -#pragma interface "dcmemory.h" -#endif - #include "wx/defs.h" #include "wx/dcclient.h" diff --git a/include/wx/mgl/dcscreen.h b/include/wx/mgl/dcscreen.h index 08c5e7bbca..684e211875 100644 --- a/include/wx/mgl/dcscreen.h +++ b/include/wx/mgl/dcscreen.h @@ -10,10 +10,6 @@ #ifndef __WX_DCSCREEN_H__ #define __WX_DCSCREEN_H__ -#ifdef __GNUG__ -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" //----------------------------------------------------------------------------- diff --git a/include/wx/mgl/font.h b/include/wx/mgl/font.h index e4a56a874b..67b7f11a17 100644 --- a/include/wx/mgl/font.h +++ b/include/wx/mgl/font.h @@ -9,10 +9,6 @@ #ifndef __WX_FONT_H__ #define __WX_FONT_H__ -#ifdef __GNUG__ - #pragma interface "font.h" -#endif - #include "wx/hash.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/mgl/gdiobj.h b/include/wx/mgl/gdiobj.h index 228f5508b7..3bed743b4a 100644 --- a/include/wx/mgl/gdiobj.h +++ b/include/wx/mgl/gdiobj.h @@ -12,10 +12,6 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#ifdef __GNUG__ - #pragma interface "gdiobj.h" -#endif - #include "wx/object.h" // base class // ---------------------------------------------------------------------------- diff --git a/include/wx/mgl/icon.h b/include/wx/mgl/icon.h index ca3007a15b..66bad30ef0 100644 --- a/include/wx/mgl/icon.h +++ b/include/wx/mgl/icon.h @@ -11,10 +11,6 @@ #ifndef __WX_ICON_H__ #define __WX_ICON_H__ -#ifdef __GNUG__ -#pragma interface "icon.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/bitmap.h" diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h index 1851dec883..49fc9a9c66 100644 --- a/include/wx/mgl/palette.h +++ b/include/wx/mgl/palette.h @@ -12,10 +12,6 @@ #ifndef __WX_PALETTE_H__ #define __WX_PALETTE_H__ -#ifdef __GNUG__ -#pragma interface "palette.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/gdiobj.h" diff --git a/include/wx/mgl/pen.h b/include/wx/mgl/pen.h index d6e5f02d1d..d318677d4f 100644 --- a/include/wx/mgl/pen.h +++ b/include/wx/mgl/pen.h @@ -11,10 +11,6 @@ #ifndef __WX_PEN_H__ #define __WX_PEN_H__ -#ifdef __GNUG__ -#pragma interface "pen.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/mgl/region.h b/include/wx/mgl/region.h index 440d26c7f5..5c01248637 100644 --- a/include/wx/mgl/region.h +++ b/include/wx/mgl/region.h @@ -11,10 +11,6 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#ifdef __GNUG__ -#pragma interface "region.h" -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/mgl/toplevel.h b/include/wx/mgl/toplevel.h index a3c2b60024..66c64fbe4f 100644 --- a/include/wx/mgl/toplevel.h +++ b/include/wx/mgl/toplevel.h @@ -11,11 +11,6 @@ #ifndef __WX_TOPLEVEL_H__ #define __WX_TOPLEVEL_H__ -#ifdef __GNUG__ - #pragma interface "toplevel.h" -#endif - - //----------------------------------------------------------------------------- // wxTopLevelWindowMGL //----------------------------------------------------------------------------- diff --git a/include/wx/mgl/window.h b/include/wx/mgl/window.h index 7b99981b6c..f3eb562bed 100644 --- a/include/wx/mgl/window.h +++ b/include/wx/mgl/window.h @@ -14,10 +14,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma interface "window.h" -#endif - #include "wx/font.h" struct window_t; diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index 241bdb34f9..7564d0e900 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -13,10 +13,6 @@ #ifndef _WX_MIMETYPE_H_ #define _WX_MIMETYPE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "mimetypebase.h" -#endif // __GNUG__ - // ---------------------------------------------------------------------------- // headers and such // ---------------------------------------------------------------------------- diff --git a/include/wx/module.h b/include/wx/module.h index aeee79b942..fe0df730fe 100644 --- a/include/wx/module.h +++ b/include/wx/module.h @@ -12,10 +12,6 @@ #ifndef _WX_MODULEH__ #define _WX_MODULEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "module.h" -#endif - #include "wx/object.h" #include "wx/list.h" diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index fa2b70bed8..901019fca5 100644 --- a/include/wx/motif/accel.h +++ b/include/wx/motif/accel.h @@ -12,10 +12,6 @@ #ifndef _WX_ACCEL_H_ #define _WX_ACCEL_H_ -#ifdef __GNUG__ -#pragma interface "accel.h" -#endif - #include "wx/object.h" #include "wx/string.h" #include "wx/event.h" diff --git a/include/wx/motif/app.h b/include/wx/motif/app.h index 650736e9c3..150b48542b 100644 --- a/include/wx/motif/app.h +++ b/include/wx/motif/app.h @@ -12,10 +12,6 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#ifdef __GNUG__ -#pragma interface "app.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/motif/bitmap.h b/include/wx/motif/bitmap.h index fd93fc1c2e..f06a4f6975 100644 --- a/include/wx/motif/bitmap.h +++ b/include/wx/motif/bitmap.h @@ -12,10 +12,6 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#ifdef __GNUG__ -#pragma interface "bitmap.h" -#endif - #include "wx/gdiobj.h" #include "wx/gdicmn.h" #include "wx/palette.h" diff --git a/include/wx/motif/bmpbuttn.h b/include/wx/motif/bmpbuttn.h index b1fa37bd96..9a24dc2707 100644 --- a/include/wx/motif/bmpbuttn.h +++ b/include/wx/motif/bmpbuttn.h @@ -12,10 +12,6 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#ifdef __GNUG__ -#pragma interface "bmpbuttn.h" -#endif - #include "wx/button.h" WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; diff --git a/include/wx/motif/brush.h b/include/wx/motif/brush.h index 513d7fc9c3..a26bbcd871 100644 --- a/include/wx/motif/brush.h +++ b/include/wx/motif/brush.h @@ -12,10 +12,6 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ -#pragma interface "brush.h" -#endif - #include "wx/gdicmn.h" #include "wx/gdiobj.h" #include "wx/bitmap.h" diff --git a/include/wx/motif/button.h b/include/wx/motif/button.h index dc69dceae7..baf182a8ae 100644 --- a/include/wx/motif/button.h +++ b/include/wx/motif/button.h @@ -12,10 +12,6 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#ifdef __GNUG__ -#pragma interface "button.h" -#endif - #include "wx/control.h" #include "wx/gdicmn.h" diff --git a/include/wx/motif/checkbox.h b/include/wx/motif/checkbox.h index b38d441538..638b55d49b 100644 --- a/include/wx/motif/checkbox.h +++ b/include/wx/motif/checkbox.h @@ -12,10 +12,6 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#ifdef __GNUG__ -#pragma interface "checkbox.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxCheckBoxNameStr; diff --git a/include/wx/motif/checklst.h b/include/wx/motif/checklst.h index 85d12339e6..d21deea651 100644 --- a/include/wx/motif/checklst.h +++ b/include/wx/motif/checklst.h @@ -13,10 +13,6 @@ #ifndef _WX_CHECKLST_H_ #define _WX_CHECKLST_H_ -#ifdef __GNUG__ -#pragma interface "checklst.h" -#endif - #include "wx/listbox.h" class wxCheckListBox : public wxCheckListBoxBase diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index ea94e39e03..423e70158f 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -12,10 +12,6 @@ #ifndef _WX_CHOICE_H_ #define _WX_CHOICE_H_ -#ifdef __GNUG__ -#pragma interface "choice.h" -#endif - WXDLLEXPORT_DATA(extern const char*) wxChoiceNameStr; // Choice item diff --git a/include/wx/motif/clipbrd.h b/include/wx/motif/clipbrd.h index 848bfe6565..cf27dbe970 100644 --- a/include/wx/motif/clipbrd.h +++ b/include/wx/motif/clipbrd.h @@ -12,10 +12,6 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#ifdef __GNUG__ -#pragma interface "clipbrd.h" -#endif - #if wxUSE_CLIPBOARD #include "wx/list.h" diff --git a/include/wx/motif/colordlg.h b/include/wx/motif/colordlg.h index 911e766596..940867955d 100644 --- a/include/wx/motif/colordlg.h +++ b/include/wx/motif/colordlg.h @@ -13,10 +13,6 @@ #ifndef _WX_COLORDLG_H_ #define _WX_COLORDLG_H_ -#ifdef __GNUG__ -#pragma interface "colordlg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/motif/colour.h b/include/wx/motif/colour.h index 0a3409aa7b..3e89348c2b 100644 --- a/include/wx/motif/colour.h +++ b/include/wx/motif/colour.h @@ -12,10 +12,6 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ -#pragma interface "colour.h" -#endif - #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/motif/combobox.h b/include/wx/motif/combobox.h index 68980bf6b1..1be1d71fd2 100644 --- a/include/wx/motif/combobox.h +++ b/include/wx/motif/combobox.h @@ -12,10 +12,6 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#ifdef __GNUG__ -#pragma interface "combobox.h" -#endif - #include "wx/choice.h" WXDLLEXPORT_DATA(extern const char*) wxComboBoxNameStr; diff --git a/include/wx/motif/control.h b/include/wx/motif/control.h index 9ef06a5b48..ff30c83101 100644 --- a/include/wx/motif/control.h +++ b/include/wx/motif/control.h @@ -12,10 +12,6 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#ifdef __GNUG__ -#pragma interface "control.h" -#endif - #include "wx/window.h" #include "wx/list.h" #include "wx/validate.h" diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index 8ec642b7c9..7d85bd6aae 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -12,10 +12,6 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#ifdef __GNUG__ -#pragma interface "cursor.h" -#endif - #include "wx/bitmap.h" #if wxUSE_IMAGE #include "wx/image.h" diff --git a/include/wx/motif/dataobj.h b/include/wx/motif/dataobj.h index 042cf6c63b..501ec0ae56 100644 --- a/include/wx/motif/dataobj.h +++ b/include/wx/motif/dataobj.h @@ -10,10 +10,6 @@ #ifndef _WX_MOTIF_DATAOBJ_H_ #define _WX_MOTIF_DATAOBJ_H_ -#ifdef __GNUG__ -#pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxDataObject is the same as wxDataObjectBase under wxMotif // ---------------------------------------------------------------------------- diff --git a/include/wx/motif/dc.h b/include/wx/motif/dc.h index f456f8d57f..830ed07f70 100644 --- a/include/wx/motif/dc.h +++ b/include/wx/motif/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ -#pragma interface "dc.h" -#endif - #include "wx/pen.h" #include "wx/brush.h" #include "wx/icon.h" diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index b1db3e481f..a8cfbfb36f 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -12,10 +12,6 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#ifdef __GNUG__ -#pragma interface "dcclient.h" -#endif - #include "wx/dc.h" // ----------------------------------------------------------------------------- diff --git a/include/wx/motif/dcmemory.h b/include/wx/motif/dcmemory.h index 5d85ded03e..2a293cfbc5 100644 --- a/include/wx/motif/dcmemory.h +++ b/include/wx/motif/dcmemory.h @@ -12,10 +12,6 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#ifdef __GNUG__ -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" class wxMemoryDC : public wxWindowDC diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 2454826e8e..941c83f900 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -12,10 +12,6 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ -#pragma interface "dcprint.h" -#endif - #include "wx/dc.h" class WXDLLEXPORT wxPrinterDC: public wxDC diff --git a/include/wx/motif/dcscreen.h b/include/wx/motif/dcscreen.h index 27cf673db2..fce03a0e2e 100644 --- a/include/wx/motif/dcscreen.h +++ b/include/wx/motif/dcscreen.h @@ -12,10 +12,6 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxScreenDC: public wxWindowDC diff --git a/include/wx/motif/dialog.h b/include/wx/motif/dialog.h index a97d5bb203..a6c6c23dc1 100644 --- a/include/wx/motif/dialog.h +++ b/include/wx/motif/dialog.h @@ -12,10 +12,6 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#ifdef __GNUG__ -#pragma interface "dialog.h" -#endif - WXDLLEXPORT_DATA(extern const char*) wxDialogNameStr; // Dialog boxes diff --git a/include/wx/motif/dirdlg.h b/include/wx/motif/dirdlg.h index 6a9275c1ba..380880bdbc 100644 --- a/include/wx/motif/dirdlg.h +++ b/include/wx/motif/dirdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_DIRDLG_H_ #define _WX_DIRDLG_H_ -#ifdef __GNUG__ -#pragma interface "dirdlg.h" -#endif - #include "wx/dialog.h" WXDLLEXPORT_DATA(extern const char*) wxFileSelectorPromptStr; diff --git a/include/wx/motif/dnd.h b/include/wx/motif/dnd.h index fa392bd9d8..f63af0c0ae 100644 --- a/include/wx/motif/dnd.h +++ b/include/wx/motif/dnd.h @@ -11,10 +11,6 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#ifdef __GNUG__ -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP diff --git a/include/wx/motif/filedlg.h b/include/wx/motif/filedlg.h index 10fae98744..ae68eba566 100644 --- a/include/wx/motif/filedlg.h +++ b/include/wx/motif/filedlg.h @@ -12,10 +12,6 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#ifdef __GNUG__ -#pragma interface "filedlg.h" -#endif - #include "wx/dialog.h" /* diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index f75bf6c423..b23303a996 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -12,10 +12,6 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#ifdef __GNUG__ -#pragma interface "font.h" -#endif - class wxXFont; // Font diff --git a/include/wx/motif/fontdlg.h b/include/wx/motif/fontdlg.h index 530719ff34..646bf50f7f 100644 --- a/include/wx/motif/fontdlg.h +++ b/include/wx/motif/fontdlg.h @@ -13,10 +13,6 @@ #ifndef _WX_FONTDLG_H_ #define _WX_FONTDLG_H_ -#ifdef __GNUG__ -#pragma interface "fontdlg.h" -#endif - #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index 638e8da237..223cb93ee4 100644 --- a/include/wx/motif/frame.h +++ b/include/wx/motif/frame.h @@ -12,10 +12,6 @@ #ifndef _WX_MOTIF_FRAME_H_ #define _WX_MOTIF_FRAME_H_ -#ifdef __GNUG__ -#pragma interface "frame.h" -#endif - class WXDLLEXPORT wxFrame : public wxFrameBase { public: diff --git a/include/wx/motif/gauge.h b/include/wx/motif/gauge.h index d8c6e2edb3..7615c306d0 100644 --- a/include/wx/motif/gauge.h +++ b/include/wx/motif/gauge.h @@ -12,10 +12,6 @@ #ifndef _WX_GAUGE_H_ #define _WX_GAUGE_H_ -#ifdef __GNUG__ -#pragma interface "gauge.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr; diff --git a/include/wx/motif/gdiobj.h b/include/wx/motif/gdiobj.h index f55c95cec7..5b018e50e5 100644 --- a/include/wx/motif/gdiobj.h +++ b/include/wx/motif/gdiobj.h @@ -14,10 +14,6 @@ #include "wx/object.h" -#ifdef __GNUG__ -#pragma interface "gdiobj.h" -#endif - class WXDLLEXPORT wxGDIRefData: public wxObjectRefData { public: inline wxGDIRefData() diff --git a/include/wx/motif/glcanvas.h b/include/wx/motif/glcanvas.h index 1932fef522..db42b6748f 100644 --- a/include/wx/motif/glcanvas.h +++ b/include/wx/motif/glcanvas.h @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ diff --git a/include/wx/motif/helpxxxx.h b/include/wx/motif/helpxxxx.h index 1863184953..7f1b4d5f26 100644 --- a/include/wx/motif/helpxxxx.h +++ b/include/wx/motif/helpxxxx.h @@ -13,10 +13,6 @@ #ifndef _WX_HELPXXXX_H_ #define _WX_HELPXXXX_H_ -#ifdef __GNUG__ -#pragma interface "helpxxxx.h" -#endif - #include "wx/wx.h" #include "wx/helpbase.h" diff --git a/include/wx/motif/icon.h b/include/wx/motif/icon.h index 365e581757..22423bbcfc 100644 --- a/include/wx/motif/icon.h +++ b/include/wx/motif/icon.h @@ -12,10 +12,6 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#ifdef __GNUG__ -#pragma interface "icon.h" -#endif - #include "wx/bitmap.h" #define M_ICONDATA ((wxBitmapRefData *)m_refData) diff --git a/include/wx/motif/joystick.h b/include/wx/motif/joystick.h index 7148fcd4c9..52c3c7f56d 100644 --- a/include/wx/motif/joystick.h +++ b/include/wx/motif/joystick.h @@ -12,10 +12,6 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#ifdef __GNUG__ -#pragma interface "joystick.h" -#endif - #include "wx/event.h" class WXDLLEXPORT wxJoystick: public wxObject diff --git a/include/wx/motif/listbox.h b/include/wx/motif/listbox.h index 506dfbf2c0..390d2cabcc 100644 --- a/include/wx/motif/listbox.h +++ b/include/wx/motif/listbox.h @@ -12,10 +12,6 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#ifdef __GNUG__ -#pragma interface "listbox.h" -#endif - #include "wx/ctrlsub.h" WXDLLEXPORT_DATA(extern const char*) wxListBoxNameStr; diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index ee822b515f..bad86ec1b1 100644 --- a/include/wx/motif/mdi.h +++ b/include/wx/motif/mdi.h @@ -12,10 +12,6 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#ifdef __GNUG__ -#pragma interface "mdi.h" -#endif - /* New MDI scheme using tabs. We can use a wxNotebook to implement the client window. wxMDIChildFrame can be implemented as an XmMainWindow widget diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index 50af6f3781..8ef31be6bd 100644 --- a/include/wx/motif/menu.h +++ b/include/wx/motif/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_MOTIF_MENU_H_ #define _WX_MOTIF_MENU_H_ -#ifdef __GNUG__ -#pragma interface "menu.h" -#endif - #include "wx/colour.h" #include "wx/font.h" diff --git a/include/wx/motif/menuitem.h b/include/wx/motif/menuitem.h index b871308031..661fb0314e 100644 --- a/include/wx/motif/menuitem.h +++ b/include/wx/motif/menuitem.h @@ -12,10 +12,6 @@ #ifndef _WX_MOTIF_MENUITEM_H #define _WX_MOTIF_MENUITEM_H -#ifdef __GNUG__ -#pragma interface "menuitem.h" -#endif - #include "wx/bitmap.h" class WXDLLEXPORT wxMenuBar; diff --git a/include/wx/motif/metafile.h b/include/wx/motif/metafile.h index 058d34d2ad..a3a056a2f5 100644 --- a/include/wx/motif/metafile.h +++ b/include/wx/motif/metafile.h @@ -14,10 +14,6 @@ #ifndef _WX_METAFIILE_H_ #define _WX_METAFIILE_H_ -#ifdef __GNUG__ -#pragma interface "metafile.h" -#endif - #include "wx/setup.h" /* diff --git a/include/wx/motif/minifram.h b/include/wx/motif/minifram.h index cbe4f63269..5c833353f1 100644 --- a/include/wx/motif/minifram.h +++ b/include/wx/motif/minifram.h @@ -14,10 +14,6 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ -#pragma interface "minifram.h" -#endif - #include "wx/frame.h" class WXDLLEXPORT wxMiniFrame: public wxFrame { diff --git a/include/wx/motif/msgdlg.h b/include/wx/motif/msgdlg.h index cc4d9e9a3f..ec50be0516 100644 --- a/include/wx/motif/msgdlg.h +++ b/include/wx/motif/msgdlg.h @@ -13,10 +13,6 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -#ifdef __GNUG__ -#pragma interface "msgdlg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index c34767f8ce..201ae03474 100644 --- a/include/wx/motif/palette.h +++ b/include/wx/motif/palette.h @@ -12,10 +12,6 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#ifdef __GNUG__ -#pragma interface "palette.h" -#endif - #include "wx/gdiobj.h" #include "wx/list.h" diff --git a/include/wx/motif/pen.h b/include/wx/motif/pen.h index 35247eb99c..b7a44e9d61 100644 --- a/include/wx/motif/pen.h +++ b/include/wx/motif/pen.h @@ -12,10 +12,6 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#ifdef __GNUG__ -#pragma interface "pen.h" -#endif - #include "wx/gdiobj.h" #include "wx/colour.h" #include "wx/bitmap.h" diff --git a/include/wx/motif/print.h b/include/wx/motif/print.h index 0576e30923..a814a64dcc 100644 --- a/include/wx/motif/print.h +++ b/include/wx/motif/print.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINT_H_ #define _WX_PRINT_H_ -#ifdef __GNUG__ -#pragma interface "print.h" -#endif - #include "wx/prntbase.h" /* diff --git a/include/wx/motif/printdlg.h b/include/wx/motif/printdlg.h index 3a97021ce7..bfe8e30e51 100644 --- a/include/wx/motif/printdlg.h +++ b/include/wx/motif/printdlg.h @@ -14,10 +14,6 @@ #ifndef _WX_PRINTDLG_H_ #define _WX_PRINTDLG_H_ -#ifdef __GNUG__ -#pragma interface "printdlg.h" -#endif - #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/motif/radiobox.h b/include/wx/motif/radiobox.h index bf7c100c46..4864bce792 100644 --- a/include/wx/motif/radiobox.h +++ b/include/wx/motif/radiobox.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#ifdef __GNUG__ -#pragma interface "radiobox.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxRadioBoxNameStr; diff --git a/include/wx/motif/radiobut.h b/include/wx/motif/radiobut.h index ebb0d1ad1e..a481d7cdb9 100644 --- a/include/wx/motif/radiobut.h +++ b/include/wx/motif/radiobut.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#ifdef __GNUG__ -#pragma interface "radiobut.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxRadioButtonNameStr; diff --git a/include/wx/motif/region.h b/include/wx/motif/region.h index ac25f27390..ec170f806a 100644 --- a/include/wx/motif/region.h +++ b/include/wx/motif/region.h @@ -12,10 +12,6 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#ifdef __GNUG__ -#pragma interface "region.h" -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/motif/scrolbar.h b/include/wx/motif/scrolbar.h index 5a155bde24..a3169c6745 100644 --- a/include/wx/motif/scrolbar.h +++ b/include/wx/motif/scrolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#ifdef __GNUG__ -#pragma interface "scrolbar.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxScrollBarNameStr; diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h index 935ddbd88f..bba70f6bad 100644 --- a/include/wx/motif/slider.h +++ b/include/wx/motif/slider.h @@ -12,10 +12,6 @@ #ifndef _WX_SLIDER_H_ #define _WX_SLIDER_H_ -#ifdef __GNUG__ -#pragma interface "slider.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxSliderNameStr; diff --git a/include/wx/motif/spinbutt.h b/include/wx/motif/spinbutt.h index 756b210e03..381ddbcc12 100644 --- a/include/wx/motif/spinbutt.h +++ b/include/wx/motif/spinbutt.h @@ -12,10 +12,6 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#ifdef __GNUG__ -#pragma interface "spinbutt.h" -#endif - class WXDLLEXPORT wxArrowButton; // internal class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase diff --git a/include/wx/motif/statbmp.h b/include/wx/motif/statbmp.h index ae5698036b..55709dda13 100644 --- a/include/wx/motif/statbmp.h +++ b/include/wx/motif/statbmp.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#ifdef __GNUG__ -#pragma interface "statbmp.h" -#endif - #include "wx/control.h" #include "wx/icon.h" diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index 38a5e89ebd..e26584108a 100644 --- a/include/wx/motif/statbox.h +++ b/include/wx/motif/statbox.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#ifdef __GNUG__ -#pragma interface "statbox.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxStaticBoxNameStr; diff --git a/include/wx/motif/stattext.h b/include/wx/motif/stattext.h index 336ff7ae76..13de2640b4 100644 --- a/include/wx/motif/stattext.h +++ b/include/wx/motif/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ -#pragma interface "stattext.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const char*) wxStaticTextNameStr; diff --git a/include/wx/motif/tabctrl.h b/include/wx/motif/tabctrl.h index 41d5620ce1..b379ae10ca 100644 --- a/include/wx/motif/tabctrl.h +++ b/include/wx/motif/tabctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TABCTRL_H_ #define _WX_TABCTRL_H_ -#ifdef __GNUG__ -#pragma interface "tabctrl.h" -#endif - class wxImageList; /* diff --git a/include/wx/motif/taskbar.h b/include/wx/motif/taskbar.h index 8227232367..6607c57f10 100644 --- a/include/wx/motif/taskbar.h +++ b/include/wx/motif/taskbar.h @@ -13,10 +13,6 @@ #ifndef _WX_TASKBAR_H_ #define _WX_TASKBAR_H_ -#ifdef __GNUG__ -#pragma interface "taskbar.h" -#endif - #include "wx/list.h" #include "wx/icon.h" diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 7355c85555..1cf993f8c2 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#ifdef __GNUG__ -#pragma interface "textctrl.h" -#endif - WXDLLEXPORT_DATA(extern const char*) wxTextCtrlNameStr; WXDLLEXPORT_DATA(extern const char*) wxEmptyString; diff --git a/include/wx/motif/timer.h b/include/wx/motif/timer.h index 2476a768e2..dfd07b13c2 100644 --- a/include/wx/motif/timer.h +++ b/include/wx/motif/timer.h @@ -12,10 +12,6 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#ifdef __GNUG__ -#pragma interface "timer.h" -#endif - class WXDLLEXPORT wxTimer : public wxTimerBase { friend void wxTimerCallback(wxTimer * timer); diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index fdb2e95681..dd8bddcdda 100644 --- a/include/wx/motif/toolbar.h +++ b/include/wx/motif/toolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#ifdef __GNUG__ -#pragma interface "toolbar.h" -#endif - class WXDLLEXPORT wxToolBar : public wxToolBarBase { public: diff --git a/include/wx/motif/wave.h b/include/wx/motif/wave.h index 1b337bb7cd..252f1e7b16 100644 --- a/include/wx/motif/wave.h +++ b/include/wx/motif/wave.h @@ -13,10 +13,6 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#ifdef __GNUG__ -#pragma interface "wave.h" -#endif - #include "wx/object.h" class wxWave : public wxObject diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index 01236fcb7e..6ba6faab3c 100644 --- a/include/wx/motif/window.h +++ b/include/wx/motif/window.h @@ -12,10 +12,6 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#ifdef __GNUG__ -#pragma interface "window.h" -#endif - #include "wx/region.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/msgout.h b/include/wx/msgout.h index 7a43ada630..e3d69ef211 100755 --- a/include/wx/msgout.h +++ b/include/wx/msgout.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "msgout.h" -#endif - #include "wx/defs.h" #include "wx/wxchar.h" diff --git a/include/wx/msw/accel.h b/include/wx/msw/accel.h index 7d07af2c57..860656ef17 100644 --- a/include/wx/msw/accel.h +++ b/include/wx/msw/accel.h @@ -12,10 +12,6 @@ #ifndef _WX_ACCEL_H_ #define _WX_ACCEL_H_ -#ifdef __GNUG__ - #pragma interface "accel.h" -#endif - // ---------------------------------------------------------------------------- // the accel table has all accelerators for a given window or menu // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index c85dcc4b83..458fbdaca5 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -12,10 +12,6 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#ifdef __GNUG__ -#pragma interface "app.h" -#endif - #include "wx/event.h" #include "wx/icon.h" diff --git a/include/wx/msw/bitmap.h b/include/wx/msw/bitmap.h index dff632bbb3..b61f0882b2 100644 --- a/include/wx/msw/bitmap.h +++ b/include/wx/msw/bitmap.h @@ -12,10 +12,6 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#ifdef __GNUG__ - #pragma interface "bitmap.h" -#endif - #include "wx/msw/gdiimage.h" #include "wx/gdicmn.h" #include "wx/palette.h" diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index fa4233e801..ffd377fe50 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -12,10 +12,6 @@ #ifndef _WX_BMPBUTTN_H_ #define _WX_BMPBUTTN_H_ -#ifdef __GNUG__ -#pragma interface "bmpbuttn.h" -#endif - #include "wx/button.h" #include "wx/bitmap.h" diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index 842e259d27..22dfd08fc0 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -12,10 +12,6 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ - #pragma interface "brush.h" -#endif - #include "wx/gdicmn.h" #include "wx/gdiobj.h" #include "wx/bitmap.h" diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 5710249793..6ee145605c 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -12,10 +12,6 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#ifdef __GNUG__ -#pragma interface "button.h" -#endif - // ---------------------------------------------------------------------------- // Pushbutton // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/caret.h b/include/wx/msw/caret.h index 29c00938e9..492bd823db 100644 --- a/include/wx/msw/caret.h +++ b/include/wx/msw/caret.h @@ -12,10 +12,6 @@ #ifndef _WX_CARET_H_ #define _WX_CARET_H_ -#ifdef __GNUG__ - #pragma interface "caret.h" -#endif - class WXDLLEXPORT wxCaret : public wxCaretBase { public: diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 57603fc9a0..c30193d625 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -12,10 +12,6 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#ifdef __GNUG__ -#pragma interface "checkbox.h" -#endif - // Checkbox item (single checkbox) class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase { diff --git a/include/wx/msw/checklst.h b/include/wx/msw/checklst.h index ffc70a0a51..b63dc506e7 100644 --- a/include/wx/msw/checklst.h +++ b/include/wx/msw/checklst.h @@ -12,10 +12,6 @@ #ifndef __CHECKLST__H_ #define __CHECKLST__H_ -#ifdef __GNUG__ -#pragma interface "checklst.h" -#endif - #if !wxUSE_OWNER_DRAWN #error "wxCheckListBox class requires owner-drawn functionality." #endif diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index fdc9fef5b8..4f3e20e9d8 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -12,10 +12,6 @@ #ifndef _WX_CHOICE_H_ #define _WX_CHOICE_H_ -#ifdef __GNUG__ - #pragma interface "choice.h" -#endif - // ---------------------------------------------------------------------------- // Choice item // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/clipbrd.h b/include/wx/msw/clipbrd.h index bc4e18fdbe..347f84b177 100644 --- a/include/wx/msw/clipbrd.h +++ b/include/wx/msw/clipbrd.h @@ -12,10 +12,6 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#ifdef __GNUG__ -#pragma interface "clipbrd.h" -#endif - #if wxUSE_CLIPBOARD #include "wx/list.h" diff --git a/include/wx/msw/colordlg.h b/include/wx/msw/colordlg.h index af068a631e..887589c39b 100644 --- a/include/wx/msw/colordlg.h +++ b/include/wx/msw/colordlg.h @@ -12,10 +12,6 @@ #ifndef _WX_COLORDLG_H_ #define _WX_COLORDLG_H_ -#ifdef __GNUG__ -#pragma interface "colordlg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" #include "wx/cmndata.h" diff --git a/include/wx/msw/colour.h b/include/wx/msw/colour.h index 56ef566d85..a007ccac73 100644 --- a/include/wx/msw/colour.h +++ b/include/wx/msw/colour.h @@ -12,9 +12,6 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ -#pragma interface "colour.h" -#endif #include "wx/object.h" // Colour diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index 6c911828e9..c47914dd45 100644 --- a/include/wx/msw/combobox.h +++ b/include/wx/msw/combobox.h @@ -12,10 +12,6 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#ifdef __GNUG__ - #pragma interface "combobox.h" -#endif - #include "wx/choice.h" #if wxUSE_COMBOBOX diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index e5e7f5c918..438dc9c8c9 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -12,10 +12,6 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#ifdef __GNUG__ - #pragma interface "control.h" -#endif - #include "wx/dynarray.h" // General item class diff --git a/include/wx/msw/cursor.h b/include/wx/msw/cursor.h index 8b1c63a172..acdbc1a438 100644 --- a/include/wx/msw/cursor.h +++ b/include/wx/msw/cursor.h @@ -12,10 +12,6 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#ifdef __GNUG__ - #pragma interface "cursor.h" -#endif - // compatible (even if incorrect) behaviour by default: derive wxCursor from // wxBitmap #ifndef wxICON_IS_BITMAP diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index dde2cf4246..3597167596 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ - #pragma interface "dc.h" -#endif - #include "wx/defs.h" #include "wx/dc.h" diff --git a/include/wx/msw/dcclient.h b/include/wx/msw/dcclient.h index ccf5927bf2..4e5cb80873 100644 --- a/include/wx/msw/dcclient.h +++ b/include/wx/msw/dcclient.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma interface "dcclient.h" -#endif - #include "wx/dc.h" #include "wx/dynarray.h" diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index 01f37663aa..cc3261c6e1 100644 --- a/include/wx/msw/dcmemory.h +++ b/include/wx/msw/dcmemory.h @@ -12,10 +12,6 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#ifdef __GNUG__ -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxMemoryDC : public wxDC diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 245a6a49be..f7b0286131 100644 --- a/include/wx/msw/dcprint.h +++ b/include/wx/msw/dcprint.h @@ -12,10 +12,6 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ - #pragma interface "dcprint.h" -#endif - #if wxUSE_PRINTING_ARCHITECTURE #include "wx/dc.h" diff --git a/include/wx/msw/dcscreen.h b/include/wx/msw/dcscreen.h index 3517e78b61..782392fbcf 100644 --- a/include/wx/msw/dcscreen.h +++ b/include/wx/msw/dcscreen.h @@ -12,10 +12,6 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxScreenDC : public wxWindowDC diff --git a/include/wx/msw/dde.h b/include/wx/msw/dde.h index 56813e4340..b76123e8a2 100644 --- a/include/wx/msw/dde.h +++ b/include/wx/msw/dde.h @@ -12,10 +12,6 @@ #ifndef _WX_DDE_H_ #define _WX_DDE_H_ -#ifdef __GNUG__ -#pragma interface "dde.h" -#endif - #include "wx/ipcbase.h" /* diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 2c3b5b2088..9e9a6c81cf 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -12,10 +12,6 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#ifdef __GNUG__ - #pragma interface "dialog.h" -#endif - #include "wx/panel.h" WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; diff --git a/include/wx/msw/dibutils.h b/include/wx/msw/dibutils.h index bb9845f2c6..36e1347fca 100644 --- a/include/wx/msw/dibutils.h +++ b/include/wx/msw/dibutils.h @@ -29,10 +29,6 @@ #ifndef SAMPLES_UTILS_H #define SAMPLES_UTILS_H -#ifdef __GNUG__ -#pragma interface "dibutils.h" -#endif - typedef LPBITMAPINFOHEADER PDIB; typedef HANDLE HDIB; diff --git a/include/wx/msw/dirdlg.h b/include/wx/msw/dirdlg.h index ac2f48971d..189f9644d3 100644 --- a/include/wx/msw/dirdlg.h +++ b/include/wx/msw/dirdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_DIRDLG_H_ #define _WX_DIRDLG_H_ -#ifdef __GNUG__ -#pragma interface "dirdlg.h" -#endif - class WXDLLEXPORT wxDirDialog : public wxDialog { public: diff --git a/include/wx/msw/dragimag.h b/include/wx/msw/dragimag.h index bf5dbdc9fa..8213aa61dc 100644 --- a/include/wx/msw/dragimag.h +++ b/include/wx/msw/dragimag.h @@ -13,10 +13,6 @@ #ifndef _WX_DRAGIMAG_H_ #define _WX_DRAGIMAG_H_ -#ifdef __GNUG__ -#pragma interface "dragimag.h" -#endif - #include "wx/bitmap.h" #include "wx/icon.h" #include "wx/cursor.h" diff --git a/include/wx/msw/enhmeta.h b/include/wx/msw/enhmeta.h index bf2574b935..b84f5f75d4 100644 --- a/include/wx/msw/enhmeta.h +++ b/include/wx/msw/enhmeta.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_ENHMETA_H_ #define _WX_MSW_ENHMETA_H_ -#ifdef __GNUG__ - #pragma interface "enhmeta.h" -#endif - #include "wx/dc.h" #if wxUSE_DRAG_AND_DROP diff --git a/include/wx/msw/fdrepdlg.h b/include/wx/msw/fdrepdlg.h index 919ef8d7ab..9517a8580a 100644 --- a/include/wx/msw/fdrepdlg.h +++ b/include/wx/msw/fdrepdlg.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma interface "mswfdrepdlg.h" -#endif - // ---------------------------------------------------------------------------- // wxFindReplaceDialog: dialog for searching / replacing text // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/filedlg.h b/include/wx/msw/filedlg.h index f4637fcc78..7537a51476 100644 --- a/include/wx/msw/filedlg.h +++ b/include/wx/msw/filedlg.h @@ -12,10 +12,6 @@ #ifndef _WX_FILEDLG_H_ #define _WX_FILEDLG_H_ -#ifdef __GNUG__ - #pragma interface "filedlg.h" -#endif - #include "wx/dialog.h" /* diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 505e9970b9..caf69230b2 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -12,10 +12,6 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#ifdef __GNUG__ - #pragma interface "font.h" -#endif - // ---------------------------------------------------------------------------- // wxFont // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/fontdlg.h b/include/wx/msw/fontdlg.h index cc5d046254..86ebe9c666 100644 --- a/include/wx/msw/fontdlg.h +++ b/include/wx/msw/fontdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_FONTDLG_H_ #define _WX_MSW_FONTDLG_H_ -#ifdef __GNUG__ - #pragma interface "fontdlg.h" -#endif - // ---------------------------------------------------------------------------- // wxFontDialog // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/fontenum.h b/include/wx/msw/fontenum.h index c5cc84c9ba..396a843c2e 100644 --- a/include/wx/msw/fontenum.h +++ b/include/wx/msw/fontenum.h @@ -12,10 +12,6 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ -#ifdef __GNUG__ -#pragma interface "fontenum.h" -#endif - /* * wxFontEnumerator: for gathering font information */ diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 109be748ee..d2e4640491 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -12,10 +12,6 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#ifdef __GNUG__ - #pragma interface "frame.h" -#endif - class WXDLLEXPORT wxFrame : public wxFrameBase { public: diff --git a/include/wx/msw/gauge95.h b/include/wx/msw/gauge95.h index c1ab4ab1d0..2fc7048b30 100644 --- a/include/wx/msw/gauge95.h +++ b/include/wx/msw/gauge95.h @@ -12,10 +12,6 @@ #ifndef _GAUGE95_H_ #define _GAUGE95_H_ -#ifdef __GNUG__ -#pragma interface "gauge95.h" -#endif - #if wxUSE_SLIDER #include "wx/control.h" diff --git a/include/wx/msw/gaugemsw.h b/include/wx/msw/gaugemsw.h index 78cf35fc14..d63adce947 100644 --- a/include/wx/msw/gaugemsw.h +++ b/include/wx/msw/gaugemsw.h @@ -12,10 +12,6 @@ #ifndef _GAUGEMSW_H_ #define _GAUGEMSW_H_ -#ifdef __GNUG__ -#pragma interface "gaugemsw.h" -#endif - #include "wx/control.h" WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; diff --git a/include/wx/msw/gdiimage.h b/include/wx/msw/gdiimage.h index 3bf601dda4..12beca6c56 100644 --- a/include/wx/msw/gdiimage.h +++ b/include/wx/msw/gdiimage.h @@ -16,10 +16,6 @@ #ifndef _WX_MSW_GDIIMAGE_H_ #define _WX_MSW_GDIIMAGE_H_ -#ifdef __GNUG__ - #pragma interface "gdiimage.h" -#endif - #include "wx/gdiobj.h" // base class #include "wx/gdicmn.h" // wxBITMAP_TYPE_INVALID #include "wx/list.h" diff --git a/include/wx/msw/gdiobj.h b/include/wx/msw/gdiobj.h index 7ea71fbec2..c6de4e3c7c 100644 --- a/include/wx/msw/gdiobj.h +++ b/include/wx/msw/gdiobj.h @@ -12,10 +12,6 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#ifdef __GNUG__ - #pragma interface "gdiobj.h" -#endif - #include "wx/object.h" // base class // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index b8dab7af65..cffddd0a78 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ diff --git a/include/wx/msw/helpbest.h b/include/wx/msw/helpbest.h index 3709a6ab63..1afb421282 100644 --- a/include/wx/msw/helpbest.h +++ b/include/wx/msw/helpbest.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPBEST_H_ #define _WX_HELPBEST_H_ -#ifdef __GNUG__ -#pragma interface "helpbest.h" -#endif - #if wxUSE_HELP && wxUSE_MS_HTML_HELP && defined(__WIN95__) && wxUSE_WXHTML_HELP #include "wx/helpbase.h" diff --git a/include/wx/msw/helpchm.h b/include/wx/msw/helpchm.h index 776902520c..f2b80813e5 100644 --- a/include/wx/msw/helpchm.h +++ b/include/wx/msw/helpchm.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPCHM_H_ #define _WX_HELPCHM_H_ -#ifdef __GNUG__ -#pragma interface "helpchm.h" -#endif - #if wxUSE_MS_HTML_HELP #include "wx/helpbase.h" diff --git a/include/wx/msw/helpwin.h b/include/wx/msw/helpwin.h index 3de4b65a73..677fd7cf22 100644 --- a/include/wx/msw/helpwin.h +++ b/include/wx/msw/helpwin.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPWIN_H_ #define _WX_HELPWIN_H_ -#ifdef __GNUG__ -#pragma interface "helpwin.h" -#endif - #include "wx/wx.h" #if wxUSE_HELP diff --git a/include/wx/msw/icon.h b/include/wx/msw/icon.h index 1d9305e9aa..ad8fcd59c5 100644 --- a/include/wx/msw/icon.h +++ b/include/wx/msw/icon.h @@ -12,10 +12,6 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#ifdef __GNUG__ - #pragma interface "icon.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/imaglist.h b/include/wx/msw/imaglist.h index bef31bd242..6cee4a2e77 100644 --- a/include/wx/msw/imaglist.h +++ b/include/wx/msw/imaglist.h @@ -12,10 +12,6 @@ #ifndef _WX_IMAGLIST_H_ #define _WX_IMAGLIST_H_ -#ifdef __GNUG__ -#pragma interface "imaglist.h" -#endif - #include "wx/bitmap.h" /* diff --git a/include/wx/msw/joystick.h b/include/wx/msw/joystick.h index 18cad55c79..49c6e0674d 100644 --- a/include/wx/msw/joystick.h +++ b/include/wx/msw/joystick.h @@ -12,10 +12,6 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#ifdef __GNUG__ -#pragma interface "joystick.h" -#endif - #include "wx/event.h" class WXDLLEXPORT wxJoystick: public wxObject diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 0c5161b91f..c28e15442b 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -12,10 +12,6 @@ #ifndef _WX_LISTBOX_H_ #define _WX_LISTBOX_H_ -#ifdef __GNUG__ - #pragma interface "listbox.h" -#endif - #if wxUSE_LISTBOX // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/listctrl.h b/include/wx/msw/listctrl.h index fc495d9950..c5a9511f6e 100644 --- a/include/wx/msw/listctrl.h +++ b/include/wx/msw/listctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_LISTCTRL_H_ #define _WX_LISTCTRL_H_ -#ifdef __GNUG__ - #pragma interface "listctrl.h" -#endif - #if wxUSE_LISTCTRL #include "wx/control.h" diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index d70470724b..2428194041 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -12,10 +12,6 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#ifdef __GNUG__ - #pragma interface "mdi.h" -#endif - #include "wx/frame.h" WXDLLEXPORT_DATA(extern const wxChar*) wxFrameNameStr; diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 310586e498..be8f7b3107 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_MENU_H_ #define _WX_MENU_H_ -#ifdef __GNUG__ - #pragma interface "menu.h" -#endif - #if wxUSE_ACCEL #include "wx/accel.h" #include "wx/dynarray.h" diff --git a/include/wx/msw/menuitem.h b/include/wx/msw/menuitem.h index 05a943f6f6..258963786d 100644 --- a/include/wx/msw/menuitem.h +++ b/include/wx/msw/menuitem.h @@ -12,10 +12,6 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#ifdef __GNUG__ - #pragma interface "menuitem.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/metafile.h b/include/wx/msw/metafile.h index c1a648fd24..cee98a388f 100644 --- a/include/wx/msw/metafile.h +++ b/include/wx/msw/metafile.h @@ -12,10 +12,6 @@ #ifndef _WX_METAFIILE_H_ #define _WX_METAFIILE_H_ -#ifdef __GNUG__ - #pragma interface "metafile.h" -#endif - #include "wx/setup.h" #if wxUSE_METAFILE diff --git a/include/wx/msw/microwin.h b/include/wx/msw/microwin.h index 6f9098c434..0e2145baa3 100644 --- a/include/wx/msw/microwin.h +++ b/include/wx/msw/microwin.h @@ -13,11 +13,6 @@ #ifndef _WX_MICROWIN_H_ #define _WX_MICROWIN_H_ -#ifdef __GNUG__ -#pragma interface "microwin.h" -#endif - - /* Implemented by microwin.cpp */ #ifdef __cplusplus diff --git a/include/wx/msw/mimetype.h b/include/wx/msw/mimetype.h index 408d26b406..9a880b663c 100644 --- a/include/wx/msw/mimetype.h +++ b/include/wx/msw/mimetype.h @@ -12,10 +12,6 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#ifdef __GNUG__ - #pragma interface "mimetype.h" -#endif - #include "wx/defs.h" #if wxUSE_MIMETYPE diff --git a/include/wx/msw/minifram.h b/include/wx/msw/minifram.h index 1e34b5d88d..93199484bc 100644 --- a/include/wx/msw/minifram.h +++ b/include/wx/msw/minifram.h @@ -12,10 +12,6 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ -#pragma interface "minifram.h" -#endif - #include "wx/frame.h" #ifdef __WIN32__ diff --git a/include/wx/msw/msgdlg.h b/include/wx/msw/msgdlg.h index eeccdf6c91..4507184f5c 100644 --- a/include/wx/msw/msgdlg.h +++ b/include/wx/msw/msgdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -#ifdef __GNUG__ -#pragma interface "msgdlg.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index a2f9d167e1..4dd5cf6ba3 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -11,10 +11,6 @@ #ifndef _NOTEBOOK_H #define _NOTEBOOK_H -#ifdef __GNUG__ - #pragma interface "notebook.h" -#endif - #if wxUSE_NOTEBOOK // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/ole/automtn.h b/include/wx/msw/ole/automtn.h index 95ea0215c8..cbe1bbb152 100644 --- a/include/wx/msw/ole/automtn.h +++ b/include/wx/msw/ole/automtn.h @@ -9,10 +9,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "automtn.h" -#endif - #ifndef _WX_AUTOMTN_H_ #define _WX_AUTOMTN_H_ diff --git a/include/wx/msw/ole/dropsrc.h b/include/wx/msw/ole/dropsrc.h index 24a3153738..b35677bab8 100644 --- a/include/wx/msw/ole/dropsrc.h +++ b/include/wx/msw/ole/dropsrc.h @@ -12,10 +12,6 @@ #ifndef _WX_OLEDROPSRC_H #define _WX_OLEDROPSRC_H -#ifdef __GNUG__ - #pragma interface -#endif - #if !wxUSE_DRAG_AND_DROP #error "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!" #endif //WX_DRAG_DROP diff --git a/include/wx/msw/ole/droptgt.h b/include/wx/msw/ole/droptgt.h index a4648b5edf..53f238c2db 100644 --- a/include/wx/msw/ole/droptgt.h +++ b/include/wx/msw/ole/droptgt.h @@ -12,10 +12,6 @@ #ifndef _WX_OLEDROPTGT_H #define _WX_OLEDROPTGT_H -#ifdef __GNUG__ -#pragma interface "droptgt.h" -#endif - #if !wxUSE_DRAG_AND_DROP #error "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!" #endif //WX_DRAG_DROP diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index ffca9d360e..949c63f793 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -12,10 +12,6 @@ #ifndef _WX_OLEUTILS_H #define _WX_OLEUTILS_H -#ifdef __GNUG__ -#pragma interface "oleutils.h" -#endif - #include "wx/defs.h" #if wxUSE_NORLANDER_HEADERS diff --git a/include/wx/msw/ole/uuid.h b/include/wx/msw/ole/uuid.h index b70672d3e3..593bddc825 100644 --- a/include/wx/msw/ole/uuid.h +++ b/include/wx/msw/ole/uuid.h @@ -14,9 +14,6 @@ #ifndef _WX_OLEUUID_H #define _WX_OLEUUID_H -#ifdef __GNUG__ -#pragma interface "uuid.h" -#endif #include "wx/wxchar.h" // ------------------------------------------------------------------ // UUID (Universally Unique IDentifier) definition diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index 3eaa3ac4ef..f412d0a4e1 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -12,10 +12,6 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#ifdef __GNUG__ -#pragma interface "palette.h" -#endif - #include "wx/gdiobj.h" class WXDLLEXPORT wxPalette; diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index a653d39db0..76d1d1ecdb 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -12,10 +12,6 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#ifdef __GNUG__ -#pragma interface "pen.h" -#endif - #include "wx/gdiobj.h" #include "wx/bitmap.h" diff --git a/include/wx/msw/popupwin.h b/include/wx/msw/popupwin.h index ae220bc388..e55a52a1e6 100644 --- a/include/wx/msw/popupwin.h +++ b/include/wx/msw/popupwin.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_POPUPWIN_H_ #define _WX_MSW_POPUPWIN_H_ -#ifdef __GNUG__ - #pragma interface "popup.h" -#endif - // ---------------------------------------------------------------------------- // wxPopupWindow // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/printdlg.h b/include/wx/msw/printdlg.h index 7704c3f15d..60ea13ad84 100644 --- a/include/wx/msw/printdlg.h +++ b/include/wx/msw/printdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINTDLG_H_ #define _WX_PRINTDLG_H_ -#ifdef __GNUG__ -#pragma interface "printdlg.h" -#endif - #if wxUSE_PRINTING_ARCHITECTURE #include "wx/dialog.h" diff --git a/include/wx/msw/printwin.h b/include/wx/msw/printwin.h index 9f7d368f7a..90d5127643 100644 --- a/include/wx/msw/printwin.h +++ b/include/wx/msw/printwin.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINTWIN_H_ #define _WX_PRINTWIN_H_ -#ifdef __GNUG__ - #pragma interface "printwin.h" -#endif - #include "wx/prntbase.h" // --------------------------------------------------------------------------- diff --git a/include/wx/msw/radiobox.h b/include/wx/msw/radiobox.h index 1ba95def67..861c9b0407 100644 --- a/include/wx/msw/radiobox.h +++ b/include/wx/msw/radiobox.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBOX_H_ #define _WX_RADIOBOX_H_ -#ifdef __GNUG__ - #pragma interface "radiobox.h" -#endif - class WXDLLEXPORT wxBitmap; // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index ea577bca88..9ba7d36eb5 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#ifdef __GNUG__ - #pragma interface "radiobut.h" -#endif - class WXDLLEXPORT wxRadioButton: public wxControl { public: diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index 960d098f82..d7e61cba17 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -12,10 +12,6 @@ #ifndef _REGCONF_H #define _REGCONF_H -#ifdef __GNUG__ -#pragma interface "regconf.h" -#endif - #ifndef _REGISTRY_H #include "wx/msw/registry.h" #endif diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index d52276eb30..6bc80928f0 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -12,10 +12,6 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#ifdef __GNUG__ - #pragma interface "region.h" -#endif - #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/msw/registry.h b/include/wx/msw/registry.h index 5e995ad25b..4bc2749161 100644 --- a/include/wx/msw/registry.h +++ b/include/wx/msw/registry.h @@ -12,10 +12,6 @@ #ifndef _REGISTRY_H #define _REGISTRY_H -#ifdef __GNUG__ -#pragma interface "registry.h" -#endif - // ---------------------------------------------------------------------------- // types used in this module // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/scrolbar.h b/include/wx/msw/scrolbar.h index bf601b2883..95568c85ad 100644 --- a/include/wx/msw/scrolbar.h +++ b/include/wx/msw/scrolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#ifdef __GNUG__ -#pragma interface "scrolbar.h" -#endif - // Scrollbar item class WXDLLEXPORT wxScrollBar: public wxScrollBarBase { diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index 5c1d103e02..45a43ff9c2 100644 --- a/include/wx/msw/slider95.h +++ b/include/wx/msw/slider95.h @@ -12,10 +12,6 @@ #ifndef _SLIDER95_H_ #define _SLIDER95_H_ -#ifdef __GNUG__ -#pragma interface "slider95.h" -#endif - // Slider class WXDLLEXPORT wxSlider95 : public wxSliderBase { diff --git a/include/wx/msw/slidrmsw.h b/include/wx/msw/slidrmsw.h index 5dd73da601..b84697c365 100644 --- a/include/wx/msw/slidrmsw.h +++ b/include/wx/msw/slidrmsw.h @@ -12,10 +12,6 @@ #ifndef _SLIDRMSW_H_ #define _SLIDRMSW_H_ -#ifdef __GNUG__ -#pragma interface "slidrmsw.h" -#endif - // Slider class WXDLLEXPORT wxSliderMSW : public wxSliderBase { diff --git a/include/wx/msw/spinbutt.h b/include/wx/msw/spinbutt.h index 295ea3867d..271b00abd6 100644 --- a/include/wx/msw/spinbutt.h +++ b/include/wx/msw/spinbutt.h @@ -12,10 +12,6 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#ifdef __GNUG__ - #pragma interface "spinbutt.h" -#endif - #include "wx/control.h" #include "wx/event.h" diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index e1f461e621..4fe8f5db98 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_SPINCTRL_H_ #define _WX_MSW_SPINCTRL_H_ -#ifdef __GNUG__ - #pragma interface "spinctrl.h" -#endif - #include "wx/spinbutt.h" // the base class #include "wx/dynarray.h" diff --git a/include/wx/msw/statbmp.h b/include/wx/msw/statbmp.h index ec79fcfe00..6a7c1dcf67 100644 --- a/include/wx/msw/statbmp.h +++ b/include/wx/msw/statbmp.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#ifdef __GNUG__ - #pragma interface "statbmp.h" -#endif - #include "wx/control.h" #include "wx/icon.h" #include "wx/bitmap.h" diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index 2e18c72266..a8bef44db8 100644 --- a/include/wx/msw/statbox.h +++ b/include/wx/msw/statbox.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBOX_H_ #define _WX_STATBOX_H_ -#ifdef __GNUG__ - #pragma interface "statbox.h" -#endif - // Group box class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase { diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index f6f56cfe1d..dbf2ccd3c9 100644 --- a/include/wx/msw/statbr95.h +++ b/include/wx/msw/statbr95.h @@ -12,10 +12,6 @@ #ifndef _STATBR95_H #define _STATBR95_H -#ifdef __GNUG__ -#pragma interface "statbr95.h" -#endif - #if wxUSE_NATIVE_STATUSBAR class WXDLLEXPORT wxStatusBar95 : public wxStatusBarBase diff --git a/include/wx/msw/statline.h b/include/wx/msw/statline.h index 36d6a5897a..77efbea40b 100644 --- a/include/wx/msw/statline.h +++ b/include/wx/msw/statline.h @@ -11,10 +11,6 @@ #ifndef _WX_MSW_STATLINE_H_ #define _WX_MSW_STATLINE_H_ -#ifdef __GNUG__ - #pragma interface -#endif - // ---------------------------------------------------------------------------- // wxStaticLine // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 20c49b73a4..c0c06294a6 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ - #pragma interface "stattext.h" -#endif - class WXDLLEXPORT wxStaticText : public wxStaticTextBase { public: diff --git a/include/wx/msw/tabctrl.h b/include/wx/msw/tabctrl.h index 014ea3167b..be5da0dcd1 100644 --- a/include/wx/msw/tabctrl.h +++ b/include/wx/msw/tabctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TABCTRL_H_ #define _WX_TABCTRL_H_ -#ifdef __GNUG__ -#pragma interface "tabctrl.h" -#endif - class wxImageList; // WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr; diff --git a/include/wx/msw/taskbar.h b/include/wx/msw/taskbar.h index 2da54b6894..3c4943c2c1 100644 --- a/include/wx/msw/taskbar.h +++ b/include/wx/msw/taskbar.h @@ -13,10 +13,6 @@ #ifndef _TASKBAR_H_ #define _TASKBAR_H_ -#ifdef __GNUG__ -#pragma interface "taskbar.h" -#endif - #include #include #include diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index 980714d08e..54c6576a78 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -12,10 +12,6 @@ #ifndef _WX_TBAR95_H_ #define _WX_TBAR95_H_ -#ifdef __GNUG__ - #pragma interface "tbar95.h" -#endif - #if wxUSE_TOOLBAR #include "wx/dynarray.h" diff --git a/include/wx/msw/tbarmsw.h b/include/wx/msw/tbarmsw.h index 53874e300a..17656c5039 100644 --- a/include/wx/msw/tbarmsw.h +++ b/include/wx/msw/tbarmsw.h @@ -12,10 +12,6 @@ #ifndef _WX_TBARMSW_H_ #define _WX_TBARMSW_H_ -#ifdef __GNUG__ -#pragma interface "tbarmsw.h" -#endif - #if wxUSE_TOOLBAR #include "wx/tbarbase.h" diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 1ac33d3ad2..fb04c499e5 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#ifdef __GNUG__ - #pragma interface "textctrl.h" -#endif - class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase { public: diff --git a/include/wx/msw/timer.h b/include/wx/msw/timer.h index 104a7fffb0..65af239e40 100644 --- a/include/wx/msw/timer.h +++ b/include/wx/msw/timer.h @@ -12,10 +12,6 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#ifdef __GNUG__ - #pragma interface "timer.h" -#endif - class WXDLLEXPORT wxTimer : public wxTimerBase { friend void wxProcessTimer(wxTimer& timer); diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index 047d5d44ba..69165d2737 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#ifdef __GNUG__ - #pragma interface "toplevel.h" -#endif - // ---------------------------------------------------------------------------- // wxTopLevelWindowMSW // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index 8191e7d94d..b02c84cf71 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma interface "treectrl.h" -#endif - #if wxUSE_TREECTRL #include "wx/textctrl.h" diff --git a/include/wx/msw/uxtheme.h b/include/wx/msw/uxtheme.h index 1a8a20b084..ca8aca79f0 100644 --- a/include/wx/msw/uxtheme.h +++ b/include/wx/msw/uxtheme.h @@ -12,10 +12,6 @@ #ifndef _WX_UXTHEME_H_ #define _WX_UXTHEME_H_ -#ifdef __GNUG__ - #pragma interface "uxtheme.cpp" -#endif - #include "wx/defs.h" #include "wx/msw/uxthemep.h" diff --git a/include/wx/msw/wave.h b/include/wx/msw/wave.h index 12807e7e20..a4c3dce7b4 100644 --- a/include/wx/msw/wave.h +++ b/include/wx/msw/wave.h @@ -12,10 +12,6 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#ifdef __GNUG__ -#pragma interface "wave.h" -#endif - #if wxUSE_WAVE #include "wx/object.h" diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index b80c993338..f190afb56b 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma interface "window.h" -#endif - // [at least] some version of Windows send extra mouse move messages after // a mouse click or a key press - to temporarily fix this problem, set the // define below to 1 diff --git a/include/wx/notebook.h b/include/wx/notebook.h index 4213cc0753..28c8c0b59b 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -12,10 +12,6 @@ #ifndef _WX_NOTEBOOK_H_BASE_ #define _WX_NOTEBOOK_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "notebookbase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/object.h b/include/wx/object.h index ffe41bd663..8d8514972c 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -13,10 +13,6 @@ #ifndef _WX_OBJECTH__ #define _WX_OBJECTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "object.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/odbc.h b/include/wx/odbc.h index c75a316369..3afdfaa8d6 100644 --- a/include/wx/odbc.h +++ b/include/wx/odbc.h @@ -13,10 +13,6 @@ #if wxUSE_ODBC -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "odbc.h" -#endif - #ifndef _WX_ODBCH__ #define _WX_ODBCH__ diff --git a/include/wx/os2/bitmap.h b/include/wx/os2/bitmap.h index d7e9c0c376..6ca99b3c57 100644 --- a/include/wx/os2/bitmap.h +++ b/include/wx/os2/bitmap.h @@ -12,10 +12,6 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#ifdef __GNUG__ - #pragma interface "bitmap.h" -#endif - #include "wx/os2/private.h" #include "wx/os2/gdiimage.h" #include "wx/gdicmn.h" diff --git a/include/wx/os2/dataobj.h b/include/wx/os2/dataobj.h index 148b637c77..f163aa082a 100644 --- a/include/wx/os2/dataobj.h +++ b/include/wx/os2/dataobj.h @@ -12,10 +12,6 @@ #ifndef _WX_MAC_DATAOBJ_H_ #define _WX_MAC_DATAOBJ_H_ -#ifdef __GNUG__ - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxDataObject is the same as wxDataObjectBase under wxGTK // ---------------------------------------------------------------------------- diff --git a/include/wx/os2/dataobj2.h b/include/wx/os2/dataobj2.h index 3108a1d37e..fbac795a66 100644 --- a/include/wx/os2/dataobj2.h +++ b/include/wx/os2/dataobj2.h @@ -12,10 +12,6 @@ #ifndef _WX_MAC_DATAOBJ2_H_ #define _WX_MAC_DATAOBJ2_H_ -#ifdef __GNUG__ - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- diff --git a/include/wx/os2/dcscreen.h b/include/wx/os2/dcscreen.h index 0d3c694e54..6ffaaf35b5 100644 --- a/include/wx/os2/dcscreen.h +++ b/include/wx/os2/dcscreen.h @@ -12,10 +12,6 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" class WXDLLEXPORT wxScreenDC: public wxWindowDC diff --git a/include/wx/os2/gdiimage.h b/include/wx/os2/gdiimage.h index d2fd412100..d376bdcec7 100644 --- a/include/wx/os2/gdiimage.h +++ b/include/wx/os2/gdiimage.h @@ -16,10 +16,6 @@ #ifndef _WX_OS2_GDIIMAGE_H_ #define _WX_OS2_GDIIMAGE_H_ -#ifdef __GNUG__ - #pragma interface "gdiimage.h" -#endif - #include "wx/gdiobj.h" // base class #include "wx/gdicmn.h" // wxBITMAP_TYPE_INVALID #include "wx/list.h" diff --git a/include/wx/os2/menuitem.h b/include/wx/os2/menuitem.h index 1f0275347c..dd8e21b68b 100644 --- a/include/wx/os2/menuitem.h +++ b/include/wx/os2/menuitem.h @@ -12,10 +12,6 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#ifdef __GNUG__ -#pragma interface "menuitem.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/os2/pnghand.h b/include/wx/os2/pnghand.h index 49c871a219..c8c4bcde7c 100644 --- a/include/wx/os2/pnghand.h +++ b/include/wx/os2/pnghand.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "pnghand.h" -#endif - #ifndef _WX_PNGHAND_H_ #define _WX_PNGHAND_H_ diff --git a/include/wx/os2/statbmp.h b/include/wx/os2/statbmp.h index 4f34c65d5f..445b9589de 100644 --- a/include/wx/os2/statbmp.h +++ b/include/wx/os2/statbmp.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#ifdef __GNUG__ -#pragma interface "statbmp.h" -#endif - #include "wx/control.h" #include "wx/icon.h" diff --git a/include/wx/os2/statline.h b/include/wx/os2/statline.h index 3b2ff75484..93596963ad 100644 --- a/include/wx/os2/statline.h +++ b/include/wx/os2/statline.h @@ -11,10 +11,6 @@ #ifndef _WX_OS2_STATLINE_H_ #define _WX_OS2_STATLINE_H_ -#ifdef __GNUG__ - #pragma interface -#endif - // ---------------------------------------------------------------------------- // wxStaticLine // ---------------------------------------------------------------------------- diff --git a/include/wx/os2/stattext.h b/include/wx/os2/stattext.h index b061ae950f..1399736537 100644 --- a/include/wx/os2/stattext.h +++ b/include/wx/os2/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ -#pragma interface "stattext.h" -#endif - #include "wx/control.h" class WXDLLEXPORT wxStaticText : public wxStaticTextBase diff --git a/include/wx/os2/timer.h b/include/wx/os2/timer.h index 62ab0c423e..90019563b3 100644 --- a/include/wx/os2/timer.h +++ b/include/wx/os2/timer.h @@ -12,10 +12,6 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#ifdef __GNUG__ - #pragma interface "timer.h" -#endif - #include "wx/object.h" class WXDLLEXPORT wxTimer: public wxTimerBase diff --git a/include/wx/os2/toplevel.h b/include/wx/os2/toplevel.h index b89beaf089..6f78a6b65f 100644 --- a/include/wx/os2/toplevel.h +++ b/include/wx/os2/toplevel.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#ifdef __GNUG__ - #pragma interface "toplevel.h" -#endif - enum ETemplateID { kResizeableDialog = 130 ,kCaptionDialog ,kNoCaptionDialog diff --git a/include/wx/ownerdrw.h b/include/wx/ownerdrw.h index 64d4f2b67d..eaa680308e 100644 --- a/include/wx/ownerdrw.h +++ b/include/wx/ownerdrw.h @@ -14,10 +14,6 @@ #if wxUSE_OWNER_DRAWN -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "ownerdrw.h" -#endif - #include "wx/bitmap.h" #include "wx/colour.h" #include "wx/font.h" diff --git a/include/wx/paper.h b/include/wx/paper.h index 322e7e002f..b59fec5fcc 100644 --- a/include/wx/paper.h +++ b/include/wx/paper.h @@ -12,10 +12,6 @@ #ifndef _WX_PAPERH__ #define _WX_PAPERH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "paper.h" -#endif - #include "wx/defs.h" #include "wx/event.h" #include "wx/cmndata.h" diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 185d8c7f65..658aa49e27 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -12,10 +12,6 @@ #ifndef _WX_POPUPWIN_H_BASE_ #define _WX_POPUPWIN_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "popupwinbase.h" -#endif - #include "wx/window.h" #if wxUSE_POPUPWIN diff --git a/include/wx/prntbase.h b/include/wx/prntbase.h index d8357cb11b..15d8b59561 100644 --- a/include/wx/prntbase.h +++ b/include/wx/prntbase.h @@ -12,10 +12,6 @@ #ifndef _WX_PRNTBASEH__ #define _WX_PRNTBASEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "prntbase.h" -#endif - #include "wx/defs.h" #if wxUSE_PRINTING_ARCHITECTURE diff --git a/include/wx/process.h b/include/wx/process.h index e488f264d2..2555643583 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -12,10 +12,6 @@ #ifndef _WX_PROCESSH__ #define _WX_PROCESSH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "process.h" -#endif - #include "wx/event.h" #if wxUSE_STREAMS diff --git a/include/wx/prop.h b/include/wx/prop.h index efc9573399..345e747203 100644 --- a/include/wx/prop.h +++ b/include/wx/prop.h @@ -12,10 +12,6 @@ #ifndef _WX_PROP_H_ #define _WX_PROP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "prop.h" -#endif - #if wxUSE_PROPSHEET #include "wx/defs.h" diff --git a/include/wx/propform.h b/include/wx/propform.h index 723fc50333..ab07340869 100644 --- a/include/wx/propform.h +++ b/include/wx/propform.h @@ -12,10 +12,6 @@ #ifndef _WX_PROPFORM_H_ #define _WX_PROPFORM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "propform.h" -#endif - #if wxUSE_PROPSHEET #include "wx/prop.h" diff --git a/include/wx/proplist.h b/include/wx/proplist.h index 72e0fad5fd..441aaf5d5b 100644 --- a/include/wx/proplist.h +++ b/include/wx/proplist.h @@ -42,10 +42,6 @@ #ifndef _WX_PROPLIST_H_ #define _WX_PROPLIST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "proplist.h" -#endif - #if wxUSE_PROPSHEET #include "wx/prop.h" diff --git a/include/wx/protocol/file.h b/include/wx/protocol/file.h index 3b2d3470e0..ff50e3c16b 100644 --- a/include/wx/protocol/file.h +++ b/include/wx/protocol/file.h @@ -12,10 +12,6 @@ #ifndef __WX_PROTO_FILE_H__ #define __WX_PROTO_FILE_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "sckfile.h" -#endif - #include "wx/defs.h" #if wxUSE_PROTOCOL_FILE diff --git a/include/wx/protocol/ftp.h b/include/wx/protocol/ftp.h index c3631a4278..66617910b8 100644 --- a/include/wx/protocol/ftp.h +++ b/include/wx/protocol/ftp.h @@ -13,10 +13,6 @@ #ifndef __WX_FTP_H__ #define __WX_FTP_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "ftp.h" -#endif - #include "wx/defs.h" #if wxUSE_PROTOCOL_FTP diff --git a/include/wx/protocol/protocol.h b/include/wx/protocol/protocol.h index d17e4dd637..c0873608e7 100644 --- a/include/wx/protocol/protocol.h +++ b/include/wx/protocol/protocol.h @@ -12,10 +12,6 @@ #ifndef _WX_PROTOCOL_PROTOCOL_H #define _WX_PROTOCOL_PROTOCOL_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_PROTOCOL diff --git a/include/wx/quantize.h b/include/wx/quantize.h index bb935dbcd7..e96b802da3 100644 --- a/include/wx/quantize.h +++ b/include/wx/quantize.h @@ -17,10 +17,6 @@ * For conditions of distribution and use, see the accompanying README file. */ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "quantize.h" -#endif - #ifndef _WX_QUANTIZE_H_ #define _WX_QUANTIZE_H_ diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index 5c4d6a53dd..1ca6741786 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBOX_H_BASE_ #define _WX_RADIOBOX_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "radioboxbase.h" -#endif - #if wxUSE_RADIOBOX #include "wx/control.h" diff --git a/include/wx/regex.h b/include/wx/regex.h index 812405852f..13858a9dec 100644 --- a/include/wx/regex.h +++ b/include/wx/regex.h @@ -12,10 +12,6 @@ #ifndef _WX_REGEX_H_ #define _WX_REGEX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "regex.h" -#endif - #include "wx/defs.h" #if wxUSE_REGEX diff --git a/include/wx/resource.h b/include/wx/resource.h index 37c4e86456..bb41f034b6 100644 --- a/include/wx/resource.h +++ b/include/wx/resource.h @@ -12,10 +12,6 @@ #ifndef _WX_RESOURCEH__ #define _WX_RESOURCEH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "resource.h" -#endif - #include "wx/setup.h" #if wxUSE_WX_RESOURCES diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index bb2c1c8d8b..847c2bc42b 100644 --- a/include/wx/sckaddr.h +++ b/include/wx/sckaddr.h @@ -12,10 +12,6 @@ #ifndef _WX_NETWORK_ADDRESS_H #define _WX_NETWORK_ADDRESS_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "sckaddr.h" -#endif - #include "wx/defs.h" #if wxUSE_SOCKETS diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 89f216d0fc..beb86284ff 100644 --- a/include/wx/sckipc.h +++ b/include/wx/sckipc.h @@ -16,10 +16,6 @@ #ifndef _WX_SCKIPC_H #define _WX_SCKIPC_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "sckipc.h" -#endif - #include "wx/defs.h" #if wxUSE_SOCKETS && wxUSE_IPC diff --git a/include/wx/sckstrm.h b/include/wx/sckstrm.h index d649b74793..90d6ca3c47 100644 --- a/include/wx/sckstrm.h +++ b/include/wx/sckstrm.h @@ -11,10 +11,6 @@ #ifndef __SCK_STREAM_H__ #define __SCK_STREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/stream.h" #if wxUSE_SOCKETS && wxUSE_STREAMS diff --git a/include/wx/sizer.h b/include/wx/sizer.h index ece3be312e..9960df5cb3 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -12,10 +12,6 @@ #ifndef __WXSIZER_H__ #define __WXSIZER_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "sizer.h" -#endif - #include "wx/defs.h" #include "wx/window.h" diff --git a/include/wx/snglinst.h b/include/wx/snglinst.h index b940f3dd12..be5d3397f0 100644 --- a/include/wx/snglinst.h +++ b/include/wx/snglinst.h @@ -13,10 +13,6 @@ #ifndef _WX_SNGLINST_H_ #define _WX_SNGLINST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "snglinst.h" -#endif - #if wxUSE_SNGLINST_CHECKER // ---------------------------------------------------------------------------- diff --git a/include/wx/socket.h b/include/wx/socket.h index dbde09bff7..f81a128b45 100644 --- a/include/wx/socket.h +++ b/include/wx/socket.h @@ -12,10 +12,6 @@ #ifndef _WX_NETWORK_SOCKET_H #define _WX_NETWORK_SOCKET_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "socket.h" -#endif - #include "wx/defs.h" #if wxUSE_SOCKETS diff --git a/include/wx/spawnbrowser.h b/include/wx/spawnbrowser.h index 2805d2ba6e..5c0fc9a396 100644 --- a/include/wx/spawnbrowser.h +++ b/include/wx/spawnbrowser.h @@ -12,10 +12,6 @@ #ifndef _WX_SPAWNBROWSER_H_ #define _WX_SPAWNBROWSER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "spawnbrowser.h" -#endif - #if wxUSE_SPAWNBROWSER // ---------------------------------------------------------------------------- diff --git a/include/wx/statbmp.h b/include/wx/statbmp.h index d007045208..89b7db803d 100644 --- a/include/wx/statbmp.h +++ b/include/wx/statbmp.h @@ -12,10 +12,6 @@ #ifndef _WX_STATBMP_H_BASE_ #define _WX_STATBMP_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "statbmpbase.h" -#endif - #if wxUSE_STATBMP #include "wx/control.h" diff --git a/include/wx/statusbr.h b/include/wx/statusbr.h index adafc8bfce..a5bcba913d 100644 --- a/include/wx/statusbr.h +++ b/include/wx/statusbr.h @@ -12,10 +12,6 @@ #ifndef _WX_STATUSBR_H_BASE_ #define _WX_STATUSBR_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "statbar.h" -#endif - #include "wx/window.h" #if wxUSE_STATUSBAR diff --git a/include/wx/strconv.h b/include/wx/strconv.h index 377f928827..7f016ab43e 100644 --- a/include/wx/strconv.h +++ b/include/wx/strconv.h @@ -12,10 +12,6 @@ #ifndef _WX_WXSTRCONVH__ #define _WX_WXSTRCONVH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "strconv.h" -#endif - #include "wx/defs.h" #include "wx/wxchar.h" #include "wx/buffer.h" diff --git a/include/wx/stream.h b/include/wx/stream.h index 5b80f8766c..520ef19d3b 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -12,10 +12,6 @@ #ifndef _WX_WXSTREAM_H__ #define _WX_WXSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "stream.h" -#endif - #include "wx/defs.h" #if wxUSE_STREAMS diff --git a/include/wx/string.h b/include/wx/string.h index 0a2ac05888..3d1c58e9be 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -18,10 +18,6 @@ #ifndef _WX_WXSTRINGH__ #define _WX_WXSTRINGH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "string.h" -#endif - // ---------------------------------------------------------------------------- // conditinal compilation // ---------------------------------------------------------------------------- diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index 96234fc611..0dd2513f5a 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tbarbase.h" -#endif - #include "wx/defs.h" #if wxUSE_TOOLBAR diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index 3dbeac1ae7..4dcf25ad50 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -12,10 +12,6 @@ #ifndef _WX_TBARSMPLH__ #define _WX_TBARSMPLH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tbarsmpl.h" -#endif - #include "wx/tbarbase.h" #if wxUSE_TOOLBAR_SIMPLE diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index 32d8379a0d..9450fe5159 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -12,10 +12,6 @@ #ifndef _WX_TEXTBUFFER_H #define _WX_TEXTBUFFER_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "textbuf.h" -#endif - #include "wx/defs.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 8d9fca190b..6b393c3e45 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "textctrlbase.h" -#endif - #include "wx/defs.h" #if wxUSE_TEXTCTRL diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 43024f64db..d4c7906fde 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -14,10 +14,6 @@ #ifndef _WX_TEXTFILE_H #define _WX_TEXTFILE_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "textfile.h" -#endif - #include "wx/defs.h" #include "wx/textbuf.h" diff --git a/include/wx/thread.h b/include/wx/thread.h index 74af50a7be..8340aa31bd 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -22,11 +22,6 @@ #if wxUSE_THREADS -// only for wxUSE_THREADS - otherwise we'd get undefined symbols -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "thread.h" -#endif - // Windows headers define it #ifdef Yield #undef Yield diff --git a/include/wx/time.h b/include/wx/time.h index 101ee45a4a..cc7011342f 100644 --- a/include/wx/time.h +++ b/include/wx/time.h @@ -21,10 +21,6 @@ #include "wx/datetime.h" #include "wx/date.h" -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "time.h" -#endif - class WXDLLEXPORT wxDate; typedef unsigned short hourTy; diff --git a/include/wx/timer.h b/include/wx/timer.h index 2c030fbd07..6dbeb703c2 100644 --- a/include/wx/timer.h +++ b/include/wx/timer.h @@ -13,10 +13,6 @@ #ifndef _WX_TIMER_H_BASE_ #define _WX_TIMER_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "timerbase.h" -#endif - #include "wx/setup.h" #include "wx/object.h" #include "wx/longlong.h" diff --git a/include/wx/tipdlg.h b/include/wx/tipdlg.h index fe7a6be5c4..232ebf7513 100644 --- a/include/wx/tipdlg.h +++ b/include/wx/tipdlg.h @@ -12,10 +12,6 @@ #ifndef _WX_TIPDLG_H_ #define _WX_TIPDLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tipdlg.h" -#endif - // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- diff --git a/include/wx/tipwin.h b/include/wx/tipwin.h index be2b8bbc28..641b027a36 100644 --- a/include/wx/tipwin.h +++ b/include/wx/tipwin.h @@ -13,10 +13,6 @@ #ifndef _WX_TIPWIN_H_ #define _WX_TIPWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tipwin.h" -#endif - #if wxUSE_TIPWINDOW #if wxUSE_POPUPWIN diff --git a/include/wx/tokenzr.h b/include/wx/tokenzr.h index 2090ba7889..bff882b3ea 100644 --- a/include/wx/tokenzr.h +++ b/include/wx/tokenzr.h @@ -12,10 +12,6 @@ #ifndef _WX_TOKENZRH #define _WX_TOKENZRH -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "tokenzr.h" -#endif - #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index d7a8fddd7a..1ff0a4655c 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -14,10 +14,6 @@ #ifndef _WX_TOPLEVEL_BASE_H_ #define _WX_TOPLEVEL_BASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "toplevelbase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/treebase.h b/include/wx/treebase.h index 10582220a2..5fa3e55ccb 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -12,10 +12,6 @@ #ifndef _WX_TREEBASE_H_ #define _WX_TREEBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "treebase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/txtstrm.h b/include/wx/txtstrm.h index dff4466bd1..c4882af3a2 100644 --- a/include/wx/txtstrm.h +++ b/include/wx/txtstrm.h @@ -12,10 +12,6 @@ #ifndef _WX_TXTSTREAM_H_ #define _WX_TXTSTREAM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "txtstrm.h" -#endif - #include "wx/stream.h" #if wxUSE_STREAMS diff --git a/include/wx/types.h b/include/wx/types.h index bd785f75b5..b7826f3c48 100644 --- a/include/wx/types.h +++ b/include/wx/types.h @@ -12,10 +12,6 @@ #ifndef _WX_TYPESH__ #define _WX_TYPESH__ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface "types.h" -#endif - // Types of objects #define wxTYPE_ANY 0 #define wxTYPE_OBJECT wxTYPE_ANY diff --git a/include/wx/univ/bmpbuttn.h b/include/wx/univ/bmpbuttn.h index 07a07b89bb..9b3886544d 100644 --- a/include/wx/univ/bmpbuttn.h +++ b/include/wx/univ/bmpbuttn.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_BMPBUTTN_H_ #define _WX_UNIV_BMPBUTTN_H_ -#ifdef __GNUG__ - #pragma interface "univbmpbuttn.h" -#endif - class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase { public: diff --git a/include/wx/univ/button.h b/include/wx/univ/button.h index 524d873f09..d3fea284a3 100644 --- a/include/wx/univ/button.h +++ b/include/wx/univ/button.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_BUTTON_H_ #define _WX_UNIV_BUTTON_H_ -#ifdef __GNUG__ - #pragma interface "univbutton.h" -#endif - class WXDLLEXPORT wxInputHandler; #include "wx/bitmap.h" diff --git a/include/wx/univ/checkbox.h b/include/wx/univ/checkbox.h index db3eadda07..58fd54a176 100644 --- a/include/wx/univ/checkbox.h +++ b/include/wx/univ/checkbox.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_CHECKBOX_H_ #define _WX_UNIV_CHECKBOX_H_ -#ifdef __GNUG__ - #pragma interface "univcheckbox.h" -#endif - #include "wx/button.h" // for wxStdButtonInputHandler // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/checklst.h b/include/wx/univ/checklst.h index 6382c16363..c760a5fbf9 100644 --- a/include/wx/univ/checklst.h +++ b/include/wx/univ/checklst.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_CHECKLST_H_ #define _WX_UNIV_CHECKLST_H_ -#ifdef __GNUG__ - #pragma interface "univchecklst.h" -#endif - // ---------------------------------------------------------------------------- // actions // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/choice.h b/include/wx/univ/choice.h index 134192b4a3..c4887f9803 100644 --- a/include/wx/univ/choice.h +++ b/include/wx/univ/choice.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_CHOICE_H_ #define _WX_UNIV_CHOICE_H_ -#ifdef __GNUG__ - #pragma interface "univchoice.h" -#endif - #include "wx/combobox.h" // VS: This is only a *temporary* implementation, real wxChoice should not diff --git a/include/wx/univ/colschem.h b/include/wx/univ/colschem.h index c7afade539..73494b15c6 100644 --- a/include/wx/univ/colschem.h +++ b/include/wx/univ/colschem.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_COLSCHEM_H_ #define _WX_UNIV_COLSCHEM_H_ -#ifdef __GNUG__ - #pragma interface "colschem.h" -#endif - class WXDLLEXPORT wxWindow; #include "wx/colour.h" diff --git a/include/wx/univ/combobox.h b/include/wx/univ/combobox.h index 532073b460..59ebcba2ef 100644 --- a/include/wx/univ/combobox.h +++ b/include/wx/univ/combobox.h @@ -36,10 +36,6 @@ #ifndef _WX_UNIV_COMBOBOX_H_ #define _WX_UNIV_COMBOBOX_H_ -#ifdef __GNUG__ - #pragma interface "univcombobox.h" -#endif - class WXDLLEXPORT wxComboControl; class WXDLLEXPORT wxListBox; class WXDLLEXPORT wxPopupComboWindow; diff --git a/include/wx/univ/control.h b/include/wx/univ/control.h index c0d4ccfd0e..6aadd78bba 100644 --- a/include/wx/univ/control.h +++ b/include/wx/univ/control.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_CONTROL_H_ #define _WX_UNIV_CONTROL_H_ -#ifdef __GNUG__ - #pragma interface "control.h" -#endif - class WXDLLEXPORT wxControlRenderer; class WXDLLEXPORT wxInputHandler; class WXDLLEXPORT wxRenderer; diff --git a/include/wx/univ/dialog.h b/include/wx/univ/dialog.h index c1e08230c2..99a2beaeb8 100644 --- a/include/wx/univ/dialog.h +++ b/include/wx/univ/dialog.h @@ -11,10 +11,6 @@ #ifndef _WX_UNIV_DIALOG_H_ #define _WX_UNIV_DIALOG_H_ -#ifdef __GNUG__ - #pragma interface "univdialog.h" -#endif - WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; class WXDLLEXPORT wxWindowDisabler; class WXDLLEXPORT wxEventLoop; diff --git a/include/wx/univ/frame.h b/include/wx/univ/frame.h index 4f13277f1e..65d7b37446 100644 --- a/include/wx/univ/frame.h +++ b/include/wx/univ/frame.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_FRAME_H_ #define _WX_UNIV_FRAME_H_ -#ifdef __GNUG__ - #pragma interface "univframe.h" -#endif - // ---------------------------------------------------------------------------- // wxFrame // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/gauge.h b/include/wx/univ/gauge.h index c113328e07..e1f69a50e9 100644 --- a/include/wx/univ/gauge.h +++ b/include/wx/univ/gauge.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma interface "gaugeuniv.h" -#endif - // ---------------------------------------------------------------------------- // wxGauge: a progress bar // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/inpcons.h b/include/wx/univ/inpcons.h index 1077ed8979..bbc26af1d9 100644 --- a/include/wx/univ/inpcons.h +++ b/include/wx/univ/inpcons.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_INPCONS_H_ #define _WX_UNIV_INPCONS_H_ -#ifdef __GNUG__ - #pragma interface "inpcons.h" -#endif - class WXDLLEXPORT wxInputHandler; class WXDLLEXPORT wxWindow; diff --git a/include/wx/univ/inphand.h b/include/wx/univ/inphand.h index 55c0ac7e97..2a192a1edb 100644 --- a/include/wx/univ/inphand.h +++ b/include/wx/univ/inphand.h @@ -13,10 +13,6 @@ #ifndef _WX_UNIV_INPHAND_H_ #define _WX_UNIV_INPHAND_H_ -#ifdef __GNUG__ - #pragma interface "inphand.h" -#endif - #include "wx/univ/inpcons.h" // for wxControlAction(s) // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/listbox.h b/include/wx/univ/listbox.h index 363f523ac8..e34046c47a 100644 --- a/include/wx/univ/listbox.h +++ b/include/wx/univ/listbox.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_LISTBOX_H_ #define _WX_UNIV_LISTBOX_H_ -#ifdef __GNUG__ - #pragma interface "univlistbox.h" -#endif - #include "wx/scrolwin.h" // for wxScrollHelper // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/menu.h b/include/wx/univ/menu.h index 3daa74e772..ada2ac63e0 100644 --- a/include/wx/univ/menu.h +++ b/include/wx/univ/menu.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_MENU_H_ #define _WX_UNIV_MENU_H_ -#ifdef __GNUG__ - #pragma interface "univmenu.h" -#endif - #if wxUSE_ACCEL #include "wx/accel.h" #endif // wxUSE_ACCEL diff --git a/include/wx/univ/menuitem.h b/include/wx/univ/menuitem.h index 52049e5f71..4bbcd26a42 100644 --- a/include/wx/univ/menuitem.h +++ b/include/wx/univ/menuitem.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_MENUITEM_H_ #define _WX_UNIV_MENUITEM_H_ -#ifdef __GNUG__ - #pragma interface "univmenuitem.h" -#endif - // ---------------------------------------------------------------------------- // wxMenuItem implements wxMenuItemBase // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 3e29d78106..1902fa09a2 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_NOTEBOOK_H_ #define _WX_UNIV_NOTEBOOK_H_ -#ifdef __GNUG__ - #pragma interface "univnotebook.h" -#endif - class WXDLLEXPORT wxSpinButton; // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/radiobox.h b/include/wx/univ/radiobox.h index 87cad891f4..4fb23374c1 100644 --- a/include/wx/univ/radiobox.h +++ b/include/wx/univ/radiobox.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_RADIOBOX_H_ #define _WX_UNIV_RADIOBOX_H_ -#ifdef __GNUG__ - #pragma interface "univradiobox.h" -#endif - class WXDLLEXPORT wxRadioButton; #include "wx/statbox.h" diff --git a/include/wx/univ/radiobut.h b/include/wx/univ/radiobut.h index 375fac1505..2268d5698c 100644 --- a/include/wx/univ/radiobut.h +++ b/include/wx/univ/radiobut.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_RADIOBUT_H_ #define _WX_UNIV_RADIOBUT_H_ -#ifdef __GNUG__ - #pragma interface "univradiobut.h" -#endif - #include "wx/checkbox.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/renderer.h b/include/wx/univ/renderer.h index c0f8e947fd..bb79f2e4db 100644 --- a/include/wx/univ/renderer.h +++ b/include/wx/univ/renderer.h @@ -21,10 +21,6 @@ methods) */ -#ifdef __GNUG__ - #pragma interface "renderer.h" -#endif - #ifndef _WX_UNIV_RENDERER_H_ #define _WX_UNIV_RENDERER_H_ diff --git a/include/wx/univ/scrarrow.h b/include/wx/univ/scrarrow.h index 226f27a50f..dbbea64553 100644 --- a/include/wx/univ/scrarrow.h +++ b/include/wx/univ/scrarrow.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_SCRARROW_H_ #define _WX_UNIV_SCRARROW_H_ -#ifdef __GNUG__ - #pragma interface "univscrarrow.h" -#endif - // ---------------------------------------------------------------------------- // wxScrollArrows is not a control but just a class containing the common // functionality of scroll arrows, whether part of scrollbars, spin ctrls or diff --git a/include/wx/univ/scrolbar.h b/include/wx/univ/scrolbar.h index f400d4aea8..3a26e019f9 100644 --- a/include/wx/univ/scrolbar.h +++ b/include/wx/univ/scrolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_SCROLBAR_H_ #define _WX_UNIV_SCROLBAR_H_ -#ifdef __GNUG__ - #pragma interface "univscrolbar.h" -#endif - class WXDLLEXPORT wxScrollTimer; #include "wx/univ/scrarrow.h" diff --git a/include/wx/univ/scrthumb.h b/include/wx/univ/scrthumb.h index 1e4fbf4874..f255cfad11 100644 --- a/include/wx/univ/scrthumb.h +++ b/include/wx/univ/scrthumb.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_SCRTHUMB_H_ #define _WX_UNIV_SCRTHUMB_H_ -#ifdef __GNUG__ - #pragma interface "univscrthumb.h" -#endif - // ---------------------------------------------------------------------------- // wxScrollThumb is not a control but just a class containing the common // functionality of scroll thumb such as used by scrollbars, sliders and maybe diff --git a/include/wx/univ/slider.h b/include/wx/univ/slider.h index a5e51055f0..52ab5a2945 100644 --- a/include/wx/univ/slider.h +++ b/include/wx/univ/slider.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma interface "univslider.h" -#endif - #ifndef _WX_UNIV_SLIDER_H_ #define _WX_UNIV_SLIDER_H_ diff --git a/include/wx/univ/spinbutt.h b/include/wx/univ/spinbutt.h index 3fe2215171..549cd59cd4 100644 --- a/include/wx/univ/spinbutt.h +++ b/include/wx/univ/spinbutt.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_SPINBUTT_H_ #define _WX_UNIV_SPINBUTT_H_ -#ifdef __GNUG__ - #pragma interface "univspinbutt.h" -#endif - #include "wx/univ/scrarrow.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/statbmp.h b/include/wx/univ/statbmp.h index fcfdf802ae..b75e8ef16d 100644 --- a/include/wx/univ/statbmp.h +++ b/include/wx/univ/statbmp.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_STATBMP_H_ #define _WX_UNIV_STATBMP_H_ -#ifdef __GNUG__ - #pragma interface "univstatbmp.h" -#endif - #include "wx/bitmap.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/statbox.h b/include/wx/univ/statbox.h index 646bd11902..c7b3b8ff10 100644 --- a/include/wx/univ/statbox.h +++ b/include/wx/univ/statbox.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_STATBOX_H_ #define _WX_UNIV_STATBOX_H_ -#ifdef __GNUG__ - #pragma interface "univstatbox.h" -#endif - class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase { public: diff --git a/include/wx/univ/statline.h b/include/wx/univ/statline.h index ffee40b952..cf8c67f4a0 100644 --- a/include/wx/univ/statline.h +++ b/include/wx/univ/statline.h @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma interface "univstatline.h" -#endif - #ifndef _WX_UNIV_STATLINE_H_ #define _WX_UNIV_STATLINE_H_ diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 810aa35869..e475d745a6 100644 --- a/include/wx/univ/stattext.h +++ b/include/wx/univ/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_STATTEXT_H_ #define _WX_UNIV_STATTEXT_H_ -#ifdef __GNUG__ - #pragma interface "univstattext.h" -#endif - class WXDLLEXPORT wxStaticText : public wxStaticTextBase { public: diff --git a/include/wx/univ/statusbr.h b/include/wx/univ/statusbr.h index 86d957c934..fc964ab84c 100644 --- a/include/wx/univ/statusbr.h +++ b/include/wx/univ/statusbr.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_STATUSBR_H_ #define _WX_UNIV_STATUSBR_H_ -#ifdef __GNUG__ - #pragma interface "univstatusbr.h" -#endif - #include "wx/univ/inpcons.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/textctrl.h b/include/wx/univ/textctrl.h index 947a789c81..0106007aa2 100644 --- a/include/wx/univ/textctrl.h +++ b/include/wx/univ/textctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_TEXTCTRL_H_ #define _WX_UNIV_TEXTCTRL_H_ -#ifdef __GNUG__ - #pragma interface "univtextctrl.h" -#endif - class WXDLLEXPORT wxCaret; class WXDLLEXPORT wxTextCtrlCommandProcessor; diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index ea2cedfce8..c2865ccc52 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -14,10 +14,6 @@ #ifndef _WX_UNIV_THEME_H_ #define _WX_UNIV_THEME_H_ -#ifdef __GNUG__ - #pragma interface "theme.h" -#endif - // ---------------------------------------------------------------------------- // wxTheme // ---------------------------------------------------------------------------- diff --git a/include/wx/univ/toolbar.h b/include/wx/univ/toolbar.h index 5aa190b196..9f1fbf1891 100644 --- a/include/wx/univ/toolbar.h +++ b/include/wx/univ/toolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_TOOLBAR_H_ #define _WX_UNIV_TOOLBAR_H_ -#ifdef __GNUG__ - #pragma interface "univtoolbar.h" -#endif - #include "wx/button.h" // for wxStdButtonInputHandler class WXDLLEXPORT wxToolBarTool; diff --git a/include/wx/univ/toplevel.h b/include/wx/univ/toplevel.h index e9265722ee..f3088bcb27 100644 --- a/include/wx/univ/toplevel.h +++ b/include/wx/univ/toplevel.h @@ -11,10 +11,6 @@ #ifndef __WX_UNIV_TOPLEVEL_H__ #define __WX_UNIV_TOPLEVEL_H__ -#ifdef __GNUG__ - #pragma interface "univtoplevel.h" -#endif - #include "wx/univ/inpcons.h" #include "wx/univ/inphand.h" #include "wx/icon.h" diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index 2c0d484df6..9fd4adbed0 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -14,10 +14,6 @@ #ifndef _WX_UNIV_WINDOW_H_ #define _WX_UNIV_WINDOW_H_ -#ifdef __GNUG__ - #pragma interface "univwindow.h" -#endif - #include "wx/bitmap.h" // for m_bitmapBg class WXDLLEXPORT wxControlRenderer; diff --git a/include/wx/unix/mimetype.h b/include/wx/unix/mimetype.h index 07a88a5018..99cc415099 100644 --- a/include/wx/unix/mimetype.h +++ b/include/wx/unix/mimetype.h @@ -12,10 +12,6 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "mimetype.h" -#endif - #include "wx/mimetype.h" #if (wxUSE_FILE && wxUSE_TEXTFILE) diff --git a/include/wx/url.h b/include/wx/url.h index 3b7dd469f5..805a1047e1 100644 --- a/include/wx/url.h +++ b/include/wx/url.h @@ -12,10 +12,6 @@ #ifndef _WX_URL_H #define _WX_URL_H -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "url.h" -#endif - #include "wx/defs.h" #if wxUSE_URL diff --git a/include/wx/utils.h b/include/wx/utils.h index ee0835608e..1455943940 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "utils.h" -#endif - #include "wx/object.h" #include "wx/list.h" #include "wx/filefn.h" diff --git a/include/wx/valgen.h b/include/wx/valgen.h index f80ced14c3..b241ad5805 100644 --- a/include/wx/valgen.h +++ b/include/wx/valgen.h @@ -12,10 +12,6 @@ #ifndef _WX_VALGENH__ #define _WX_VALGENH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "valgen.h" -#endif - #include "wx/validate.h" #if wxUSE_VALIDATORS diff --git a/include/wx/validate.h b/include/wx/validate.h index f4be5b093d..24a406f83c 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -12,10 +12,6 @@ #ifndef _WX_VALIDATEH__ #define _WX_VALIDATEH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "validate.h" -#endif - #if defined(wxUSE_VALIDATORS) && !wxUSE_VALIDATORS // wxWindows is compiled without support for wxValidator, but we still // want to be able to pass wxDefaultValidator to the functions which take diff --git a/include/wx/valtext.h b/include/wx/valtext.h index cf15da9903..bd68fb5f12 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -12,10 +12,6 @@ #ifndef _WX_VALTEXTH__ #define _WX_VALTEXTH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "valtext.h" -#endif - #include "wx/defs.h" #if wxUSE_VALIDATORS diff --git a/include/wx/variant.h b/include/wx/variant.h index 3c47bc497e..0624e86371 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -12,10 +12,6 @@ #ifndef _WX_VARIANT_H_ #define _WX_VARIANT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "variant.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/volume.h b/include/wx/volume.h index 8b6038d057..bb6afaeeb2 100644 --- a/include/wx/volume.h +++ b/include/wx/volume.h @@ -16,10 +16,6 @@ #ifndef _WX_FSVOLUME_H_ #define _WX_FSVOLUME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "fsvolume.h" -#endif - #include "wx/defs.h" #if wxUSE_FSVOLUME diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index 3987d3e1dc..9fb45668b3 100644 --- a/include/wx/wfstream.h +++ b/include/wx/wfstream.h @@ -12,10 +12,6 @@ #ifndef _WX_WXFSTREAM_H__ #define _WX_WXFSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wfstream.h" -#endif - #include "wx/defs.h" #if wxUSE_STREAMS && wxUSE_FILE diff --git a/include/wx/window.h b/include/wx/window.h index 6cd1e78f58..f4a3f018d0 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -12,10 +12,6 @@ #ifndef _WX_WINDOW_H_BASE_ #define _WX_WINDOW_H_BASE_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "windowbase.h" -#endif - // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 71e38836d6..941581b96c 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -12,10 +12,6 @@ #ifndef _WX_WXCHAR_H_ #define _WX_WXCHAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "wxchar.h" -#endif - // ---------------------------------------------------------------------------- // first deal with Unicode setting: wxUSE_UNICODE should be defined as 0 or 1 // and is used by wxWindows, _UNICODE and/or UNICODE may be defined or used by diff --git a/include/wx/wxexpr.h b/include/wx/wxexpr.h index 031bced15b..f8a83d18cc 100644 --- a/include/wx/wxexpr.h +++ b/include/wx/wxexpr.h @@ -12,10 +12,6 @@ #ifndef _WX_WXEXPRH__ #define _WX_WXEXPRH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "wxexpr.h" -#endif - #if wxUSE_PROLOGIO #include "wx/defs.h" diff --git a/include/wx/wxhtml.h b/include/wx/wxhtml.h index f1311201b7..f4464e7ebe 100644 --- a/include/wx/wxhtml.h +++ b/include/wx/wxhtml.h @@ -10,10 +10,6 @@ #ifndef _WX_HTML_H_ #define _WX_HTML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/html/htmldefs.h" #include "wx/html/htmltag.h" #include "wx/html/htmlcell.h" diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index 3621558b9f..bdcc01f26a 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -12,10 +12,6 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#ifdef __GNUG__ -#pragma interface "app.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/include/wx/x11/bitmap.h b/include/wx/x11/bitmap.h index 55043f8cb1..53fca0813a 100644 --- a/include/wx/x11/bitmap.h +++ b/include/wx/x11/bitmap.h @@ -12,10 +12,6 @@ #ifndef _WX_BITMAP_H_ #define _WX_BITMAP_H_ -#ifdef __GNUG__ -#pragma interface "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/x11/brush.h b/include/wx/x11/brush.h index 25f2efd422..c9167b61b2 100644 --- a/include/wx/x11/brush.h +++ b/include/wx/x11/brush.h @@ -12,10 +12,6 @@ #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ -#pragma interface "brush.h" -#endif - #include "wx/gdicmn.h" #include "wx/gdiobj.h" #include "wx/bitmap.h" diff --git a/include/wx/x11/clipbrd.h b/include/wx/x11/clipbrd.h index 1a42d17cb6..9c3f88b286 100644 --- a/include/wx/x11/clipbrd.h +++ b/include/wx/x11/clipbrd.h @@ -11,10 +11,6 @@ #ifndef __X11CLIPBOARDH__ #define __X11CLIPBOARDH__ -#ifdef __GNUG__ -#pragma interface -#endif - #if wxUSE_CLIPBOARD #include "wx/object.h" diff --git a/include/wx/x11/colour.h b/include/wx/x11/colour.h index 9002149bda..21c3d8dc27 100644 --- a/include/wx/x11/colour.h +++ b/include/wx/x11/colour.h @@ -12,10 +12,6 @@ #ifndef _WX_COLOUR_H_ #define _WX_COLOUR_H_ -#ifdef __GNUG__ -#pragma interface "colour.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" diff --git a/include/wx/x11/cursor.h b/include/wx/x11/cursor.h index 65fe7721a7..ac16f63e97 100644 --- a/include/wx/x11/cursor.h +++ b/include/wx/x11/cursor.h @@ -12,10 +12,6 @@ #ifndef _WX_CURSOR_H_ #define _WX_CURSOR_H_ -#ifdef __GNUG__ -#pragma interface "cursor.h" -#endif - #include "wx/bitmap.h" #if wxUSE_IMAGE diff --git a/include/wx/x11/dataobj.h b/include/wx/x11/dataobj.h index 6dc89e60e4..4b0cdb4934 100644 --- a/include/wx/x11/dataobj.h +++ b/include/wx/x11/dataobj.h @@ -10,10 +10,6 @@ #ifndef _WX_X11_DATAOBJ_H_ #define _WX_X11_DATAOBJ_H_ -#ifdef __GNUG__ -#pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxDataObject is the same as wxDataObjectBase under wxMotif // ---------------------------------------------------------------------------- diff --git a/include/wx/x11/dataobj2.h b/include/wx/x11/dataobj2.h index 74562e6d79..204c22d0ac 100644 --- a/include/wx/x11/dataobj2.h +++ b/include/wx/x11/dataobj2.h @@ -11,10 +11,6 @@ #ifndef _WX_X11_DATAOBJ2_H_ #define _WX_X11_DATAOBJ2_H_ -#ifdef __GNUG__ - #pragma interface "dataobj.h" -#endif - // ---------------------------------------------------------------------------- // wxBitmapDataObject is a specialization of wxDataObject for bitmaps // ---------------------------------------------------------------------------- diff --git a/include/wx/x11/dc.h b/include/wx/x11/dc.h index f4e58fb5d9..73300e1c39 100644 --- a/include/wx/x11/dc.h +++ b/include/wx/x11/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ -#pragma interface "dc.h" -#endif - #include "wx/pen.h" #include "wx/brush.h" #include "wx/icon.h" diff --git a/include/wx/x11/dcclient.h b/include/wx/x11/dcclient.h index f2a16a37fe..6f89f917f2 100644 --- a/include/wx/x11/dcclient.h +++ b/include/wx/x11/dcclient.h @@ -12,10 +12,6 @@ #ifndef _WX_DCCLIENT_H_ #define _WX_DCCLIENT_H_ -#ifdef __GNUG__ -#pragma interface "dcclient.h" -#endif - #include "wx/dc.h" #include "wx/region.h" diff --git a/include/wx/x11/dcmemory.h b/include/wx/x11/dcmemory.h index 0e49834acf..29ebc78e1c 100644 --- a/include/wx/x11/dcmemory.h +++ b/include/wx/x11/dcmemory.h @@ -12,10 +12,6 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#ifdef __GNUG__ -#pragma interface "dcmemory.h" -#endif - #include "wx/dcclient.h" class wxMemoryDC : public wxWindowDC diff --git a/include/wx/x11/dcprint.h b/include/wx/x11/dcprint.h index 2454826e8e..941c83f900 100644 --- a/include/wx/x11/dcprint.h +++ b/include/wx/x11/dcprint.h @@ -12,10 +12,6 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ -#pragma interface "dcprint.h" -#endif - #include "wx/dc.h" class WXDLLEXPORT wxPrinterDC: public wxDC diff --git a/include/wx/x11/dcscreen.h b/include/wx/x11/dcscreen.h index c1f9751d4a..f0075a484b 100644 --- a/include/wx/x11/dcscreen.h +++ b/include/wx/x11/dcscreen.h @@ -12,10 +12,6 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ -#pragma interface "dcscreen.h" -#endif - #include "wx/dcclient.h" //----------------------------------------------------------------------------- diff --git a/include/wx/x11/dnd.h b/include/wx/x11/dnd.h index fa392bd9d8..f63af0c0ae 100644 --- a/include/wx/x11/dnd.h +++ b/include/wx/x11/dnd.h @@ -11,10 +11,6 @@ #ifndef _WX_DND_H_ #define _WX_DND_H_ -#ifdef __GNUG__ -#pragma interface -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP diff --git a/include/wx/x11/font.h b/include/wx/x11/font.h index 83bf79c412..72e35032b7 100644 --- a/include/wx/x11/font.h +++ b/include/wx/x11/font.h @@ -12,10 +12,6 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#ifdef __GNUG__ -#pragma interface "font.h" -#endif - class wxXFont; // Font diff --git a/include/wx/x11/gdiobj.h b/include/wx/x11/gdiobj.h index f55c95cec7..5b018e50e5 100644 --- a/include/wx/x11/gdiobj.h +++ b/include/wx/x11/gdiobj.h @@ -14,10 +14,6 @@ #include "wx/object.h" -#ifdef __GNUG__ -#pragma interface "gdiobj.h" -#endif - class WXDLLEXPORT wxGDIRefData: public wxObjectRefData { public: inline wxGDIRefData() diff --git a/include/wx/x11/glcanvas.h b/include/wx/x11/glcanvas.h index 1932fef522..db42b6748f 100644 --- a/include/wx/x11/glcanvas.h +++ b/include/wx/x11/glcanvas.h @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_ diff --git a/include/wx/x11/icon.h b/include/wx/x11/icon.h index ee6e47fe75..f8a8179daa 100644 --- a/include/wx/x11/icon.h +++ b/include/wx/x11/icon.h @@ -12,10 +12,6 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#ifdef __GNUG__ -#pragma interface "icon.h" -#endif - #include "wx/bitmap.h" //----------------------------------------------------------------------------- diff --git a/include/wx/x11/joystick.h b/include/wx/x11/joystick.h index 7148fcd4c9..52c3c7f56d 100644 --- a/include/wx/x11/joystick.h +++ b/include/wx/x11/joystick.h @@ -12,10 +12,6 @@ #ifndef _WX_JOYSTICK_H_ #define _WX_JOYSTICK_H_ -#ifdef __GNUG__ -#pragma interface "joystick.h" -#endif - #include "wx/event.h" class WXDLLEXPORT wxJoystick: public wxObject diff --git a/include/wx/x11/minifram.h b/include/wx/x11/minifram.h index cbe4f63269..5c833353f1 100644 --- a/include/wx/x11/minifram.h +++ b/include/wx/x11/minifram.h @@ -14,10 +14,6 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ -#pragma interface "minifram.h" -#endif - #include "wx/frame.h" class WXDLLEXPORT wxMiniFrame: public wxFrame { diff --git a/include/wx/x11/nanox/X11/Xlib.h b/include/wx/x11/nanox/X11/Xlib.h index 01ebd461b2..91ef17295e 100644 --- a/include/wx/x11/nanox/X11/Xlib.h +++ b/include/wx/x11/nanox/X11/Xlib.h @@ -5,10 +5,6 @@ #ifndef _DUMMY_XLIBH_ #define _DUMMY_XLIBH_ -#ifdef __GNUG__ - #pragma interface "Xlib.h" -#endif - /* Move away the typedef in XtoNX.h */ #define XFontStruct XFontStruct1 #include diff --git a/include/wx/x11/palette.h b/include/wx/x11/palette.h index 3cbf67020d..a07a364782 100644 --- a/include/wx/x11/palette.h +++ b/include/wx/x11/palette.h @@ -12,10 +12,6 @@ #ifndef _WX_PALETTE_H_ #define _WX_PALETTE_H_ -#ifdef __GNUG__ -#pragma interface "palette.h" -#endif - #include "wx/gdiobj.h" #include "wx/list.h" diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index 46d954158f..ccddf0b246 100644 --- a/include/wx/x11/pen.h +++ b/include/wx/x11/pen.h @@ -12,10 +12,6 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#ifdef __GNUG__ -#pragma interface "pen.h" -#endif - #include "wx/gdiobj.h" #include "wx/colour.h" #include "wx/bitmap.h" diff --git a/include/wx/x11/popupwin.h b/include/wx/x11/popupwin.h index 3fd5ddde05..d13abdea24 100644 --- a/include/wx/x11/popupwin.h +++ b/include/wx/x11/popupwin.h @@ -11,10 +11,6 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#ifdef __GNUG__ - #pragma interface "popupwin.h" -#endif - #include "wx/defs.h" #include "wx/panel.h" #include "wx/icon.h" diff --git a/include/wx/x11/print.h b/include/wx/x11/print.h index 0576e30923..a814a64dcc 100644 --- a/include/wx/x11/print.h +++ b/include/wx/x11/print.h @@ -12,10 +12,6 @@ #ifndef _WX_PRINT_H_ #define _WX_PRINT_H_ -#ifdef __GNUG__ -#pragma interface "print.h" -#endif - #include "wx/prntbase.h" /* diff --git a/include/wx/x11/region.h b/include/wx/x11/region.h index cfbfe80e2d..3e43bf19a4 100644 --- a/include/wx/x11/region.h +++ b/include/wx/x11/region.h @@ -12,10 +12,6 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#ifdef __GNUG__ -#pragma interface "region.h" -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" diff --git a/include/wx/x11/reparent.h b/include/wx/x11/reparent.h index 37f358edfa..f642fb9a1b 100644 --- a/include/wx/x11/reparent.h +++ b/include/wx/x11/reparent.h @@ -12,10 +12,6 @@ #ifndef _WX_REPARENT_H_ #define _WX_REPARENT_H_ -#ifdef __GNUG__ -#pragma interface "reparent.h" -#endif - #include "wx/window.h" /* diff --git a/include/wx/x11/textctrl.h b/include/wx/x11/textctrl.h index 61d313a51e..d138b2f16d 100644 --- a/include/wx/x11/textctrl.h +++ b/include/wx/x11/textctrl.h @@ -11,10 +11,6 @@ #ifndef __X11TEXTCTRLH__ #define __X11TEXTCTRLH__ -#ifdef __GNUG__ - #pragma interface "textctrl.h" -#endif - #include "wx/scrolwin.h" #include "wx/dynarray.h" #include "wx/datetime.h" diff --git a/include/wx/x11/toplevel.h b/include/wx/x11/toplevel.h index 0b16cf9202..f1c059475b 100644 --- a/include/wx/x11/toplevel.h +++ b/include/wx/x11/toplevel.h @@ -12,10 +12,6 @@ #ifndef _WX_X11_TOPLEVEL_H_ #define _WX_X11_TOPLEVEL_H_ -#ifdef __GNUG__ - #pragma interface "toplevel.h" -#endif - // ---------------------------------------------------------------------------- // wxTopLevelWindowX11 // ---------------------------------------------------------------------------- diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index f6c76873d3..1d16cf2689 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -12,10 +12,6 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -#ifdef __GNUG__ -#pragma interface "window.h" -#endif - #include "wx/region.h" // ---------------------------------------------------------------------------- diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index 99c9895eb5..9501865f3b 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -10,10 +10,6 @@ #ifndef _WX_XPMDECOD_H_ #define _WX_XPMDECOD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xpmdecod.h" -#endif - #include "wx/setup.h" diff --git a/include/wx/xrc/xh_bmp.h b/include/wx/xrc/xh_bmp.h index 946d15bc73..6c58a47b13 100644 --- a/include/wx/xrc/xh_bmp.h +++ b/include/wx/xrc/xh_bmp.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_BMP_H_ #define _WX_XH_BMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_bmp.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_bmpbt.h b/include/wx/xrc/xh_bmpbt.h index 34862621f3..5d3f039199 100644 --- a/include/wx/xrc/xh_bmpbt.h +++ b/include/wx/xrc/xh_bmpbt.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_BMPBT_H_ #define _WX_XH_BMPBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_bmpbt.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_bttn.h b/include/wx/xrc/xh_bttn.h index 719be7264d..e07e07b8f4 100644 --- a/include/wx/xrc/xh_bttn.h +++ b/include/wx/xrc/xh_bttn.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_BTTN_H_ #define _WX_XH_BTTN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_bttn.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_cald.h b/include/wx/xrc/xh_cald.h index 5c39f44730..331e2f0fdd 100644 --- a/include/wx/xrc/xh_cald.h +++ b/include/wx/xrc/xh_cald.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CALD_H_ #define _WX_XH_CALD_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_cald.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxCalendarCtrlXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_chckb.h b/include/wx/xrc/xh_chckb.h index 3738377b2f..d7e2c8239a 100644 --- a/include/wx/xrc/xh_chckb.h +++ b/include/wx/xrc/xh_chckb.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CHCKB_H_ #define _WX_XH_CHCKB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_chckb.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_chckl.h b/include/wx/xrc/xh_chckl.h index 9a9d6889ae..92c8b7a422 100644 --- a/include/wx/xrc/xh_chckl.h +++ b/include/wx/xrc/xh_chckl.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CHCKL_H_ #define _WX_XH_CHCKL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_chckl.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxCheckListBoxXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_choic.h b/include/wx/xrc/xh_choic.h index 1ea5a70182..ada5f3506d 100644 --- a/include/wx/xrc/xh_choic.h +++ b/include/wx/xrc/xh_choic.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_CHOIC_H_ #define _WX_XH_CHOIC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_choic.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_combo.h b/include/wx/xrc/xh_combo.h index 6be381c052..5358abab8a 100644 --- a/include/wx/xrc/xh_combo.h +++ b/include/wx/xrc/xh_combo.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_COMBO_H_ #define _WX_XH_COMBO_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_combo.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_COMBOBOX diff --git a/include/wx/xrc/xh_dlg.h b/include/wx/xrc/xh_dlg.h index a7fb822746..70b2d4ee67 100644 --- a/include/wx/xrc/xh_dlg.h +++ b/include/wx/xrc/xh_dlg.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_DLG_H_ #define _WX_XH_DLG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_dlg.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_frame.h b/include/wx/xrc/xh_frame.h index a5e824e323..ce1731050e 100644 --- a/include/wx/xrc/xh_frame.h +++ b/include/wx/xrc/xh_frame.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_FRAME_H_ #define _WX_XH_FRAME_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_frame.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxFrameXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_gauge.h b/include/wx/xrc/xh_gauge.h index 50a83dfba1..5105e7849b 100644 --- a/include/wx/xrc/xh_gauge.h +++ b/include/wx/xrc/xh_gauge.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_GAUGE_H_ #define _WX_XH_GAUGE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_gauge.h" -#endif - #include "wx/defs.h" #if wxUSE_GAUGE diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index c41f1197e6..e100a0067c 100644 --- a/include/wx/xrc/xh_gdctl.h +++ b/include/wx/xrc/xh_gdctl.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_GDCTL_H_ #define _WX_XH_GDCTL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_gdctl.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_DIRDLG diff --git a/include/wx/xrc/xh_html.h b/include/wx/xrc/xh_html.h index 51e59673f5..755962b813 100644 --- a/include/wx/xrc/xh_html.h +++ b/include/wx/xrc/xh_html.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_HTML_H_ #define _WX_XH_HTML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_html.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_listb.h b/include/wx/xrc/xh_listb.h index 35f0b34d2d..a2d1b9e4ac 100644 --- a/include/wx/xrc/xh_listb.h +++ b/include/wx/xrc/xh_listb.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_LISTB_H_ #define _WX_XH_LISTB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_listb.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_LISTBOX diff --git a/include/wx/xrc/xh_listc.h b/include/wx/xrc/xh_listc.h index 9199f594dd..7060468467 100644 --- a/include/wx/xrc/xh_listc.h +++ b/include/wx/xrc/xh_listc.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_LISTC_H_ #define _WX_XH_LISTC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_listc.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxListCtrlXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_menu.h b/include/wx/xrc/xh_menu.h index 79ad952ee3..fbad049bf6 100644 --- a/include/wx/xrc/xh_menu.h +++ b/include/wx/xrc/xh_menu.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_MENU_H_ #define _WX_XH_MENU_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_menu.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h index 07f9f1a017..e1ca32fc7f 100644 --- a/include/wx/xrc/xh_notbk.h +++ b/include/wx/xrc/xh_notbk.h @@ -10,10 +10,6 @@ #ifndef _WX_XH_NOTBK_H_ #define _WX_XH_NOTBK_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_notbk.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_NOTEBOOK diff --git a/include/wx/xrc/xh_panel.h b/include/wx/xrc/xh_panel.h index 40459ae752..e4e36facd4 100644 --- a/include/wx/xrc/xh_panel.h +++ b/include/wx/xrc/xh_panel.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_PANEL_H_ #define _WX_XH_PANEL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_panel.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_radbt.h b/include/wx/xrc/xh_radbt.h index 58c1288c12..34f3b568e5 100644 --- a/include/wx/xrc/xh_radbt.h +++ b/include/wx/xrc/xh_radbt.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_RADBT_H_ #define _WX_XH_RADBT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_radbt.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_radbx.h b/include/wx/xrc/xh_radbx.h index 42cc3f52b8..902650921d 100644 --- a/include/wx/xrc/xh_radbx.h +++ b/include/wx/xrc/xh_radbx.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_RADBX_H_ #define _WX_XH_RADBX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_radbx.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_RADIOBOX diff --git a/include/wx/xrc/xh_scrol.h b/include/wx/xrc/xh_scrol.h index f82e6df7d9..df3f8f8e91 100644 --- a/include/wx/xrc/xh_scrol.h +++ b/include/wx/xrc/xh_scrol.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SCROL_H_ #define _WX_XH_SCROL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_scrol.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_scwin.h b/include/wx/xrc/xh_scwin.h index 1befc41215..d73bd60fea 100644 --- a/include/wx/xrc/xh_scwin.h +++ b/include/wx/xrc/xh_scwin.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SCWIN_H_ #define _WX_XH_SCWIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_scwin.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_sizer.h b/include/wx/xrc/xh_sizer.h index 0c7d16a4ef..93f55c4d0f 100644 --- a/include/wx/xrc/xh_sizer.h +++ b/include/wx/xrc/xh_sizer.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SIZER_H_ #define _WX_XH_SIZER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_sizer.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_slidr.h b/include/wx/xrc/xh_slidr.h index 6e3223f959..c32b678c34 100644 --- a/include/wx/xrc/xh_slidr.h +++ b/include/wx/xrc/xh_slidr.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SLIDR_H_ #define _WX_XH_SLIDR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_slidr.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_spin.h b/include/wx/xrc/xh_spin.h index 241039075e..7675f4e7e2 100644 --- a/include/wx/xrc/xh_spin.h +++ b/include/wx/xrc/xh_spin.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SPIN_H_ #define _WX_XH_SPIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_spin.h" -#endif - #include "wx/xrc/xmlres.h" #include "wx/defs.h" diff --git a/include/wx/xrc/xh_split.h b/include/wx/xrc/xh_split.h index 010bede9f0..83541c034b 100644 --- a/include/wx/xrc/xh_split.h +++ b/include/wx/xrc/xh_split.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_SPLIT_H_ #define _WX_XH_SPLIT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_split.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxSplitterWindowXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index 7e57e00d2f..ddc5fbba34 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STATBAR_H_ #define _WX_XH_STATBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_statbar.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxStatusBarXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_stbmp.h b/include/wx/xrc/xh_stbmp.h index d22e96f53e..597bc41730 100644 --- a/include/wx/xrc/xh_stbmp.h +++ b/include/wx/xrc/xh_stbmp.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STBMP_H_ #define _WX_XH_STBMP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_stbmp.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_stbox.h b/include/wx/xrc/xh_stbox.h index 1773a47f82..eb1b10a394 100644 --- a/include/wx/xrc/xh_stbox.h +++ b/include/wx/xrc/xh_stbox.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STBOX_H_ #define _WX_XH_STBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_stbox.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_stlin.h b/include/wx/xrc/xh_stlin.h index b8758ca7ce..ad47f77667 100644 --- a/include/wx/xrc/xh_stlin.h +++ b/include/wx/xrc/xh_stlin.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STLIN_H_ #define _WX_XH_STLIN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_stlin.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_STATLINE diff --git a/include/wx/xrc/xh_sttxt.h b/include/wx/xrc/xh_sttxt.h index e6c88984fa..60c45e7140 100644 --- a/include/wx/xrc/xh_sttxt.h +++ b/include/wx/xrc/xh_sttxt.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_STTXT_H_ #define _WX_XH_STTXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_sttxt.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_text.h b/include/wx/xrc/xh_text.h index 84d256916b..24aaa7dcc1 100644 --- a/include/wx/xrc/xh_text.h +++ b/include/wx/xrc/xh_text.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TEXT_H_ #define _WX_XH_TEXT_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_text.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_toolb.h b/include/wx/xrc/xh_toolb.h index 22f53ee935..1c80b3bb83 100644 --- a/include/wx/xrc/xh_toolb.h +++ b/include/wx/xrc/xh_toolb.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TOOLB_H_ #define _WX_XH_TOOLB_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_toolb.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_TOOLBAR diff --git a/include/wx/xrc/xh_tree.h b/include/wx/xrc/xh_tree.h index 985468c054..e4fbedb212 100644 --- a/include/wx/xrc/xh_tree.h +++ b/include/wx/xrc/xh_tree.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_TREE_H_ #define _WX_XH_TREE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_tree.h" -#endif - #include "wx/xrc/xmlres.h" class WXXMLDLLEXPORT wxTreeCtrlXmlHandler : public wxXmlResourceHandler diff --git a/include/wx/xrc/xh_unkwn.h b/include/wx/xrc/xh_unkwn.h index 74e835b108..75655f5219 100644 --- a/include/wx/xrc/xh_unkwn.h +++ b/include/wx/xrc/xh_unkwn.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_UNKWN_H_ #define _WX_XH_UNKWN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_unkwn.h" -#endif - #include "wx/xrc/xmlres.h" diff --git a/include/wx/xrc/xh_wizrd.h b/include/wx/xrc/xh_wizrd.h index aa5dfbf972..1cd92fed8a 100644 --- a/include/wx/xrc/xh_wizrd.h +++ b/include/wx/xrc/xh_wizrd.h @@ -11,10 +11,6 @@ #ifndef _WX_XH_WIZRD_H_ #define _WX_XH_WIZRDL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_wizrd.h" -#endif - #include "wx/xrc/xmlres.h" #if wxUSE_WIZARDDLG diff --git a/include/wx/xrc/xml.h b/include/wx/xrc/xml.h index c3122942e4..ae79343293 100644 --- a/include/wx/xrc/xml.h +++ b/include/wx/xrc/xml.h @@ -11,10 +11,6 @@ #ifndef _WX_XML_H_ #define _WX_XML_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xml.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/object.h" diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index ccf92157cf..2a79004373 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -11,10 +11,6 @@ #ifndef _WX_XMLRES_H_ #define _WX_XMLRES_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xmlres.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/dynarray.h" diff --git a/include/wx/zipstrm.h b/include/wx/zipstrm.h index 4f53254dc0..0c915041c2 100644 --- a/include/wx/zipstrm.h +++ b/include/wx/zipstrm.h @@ -9,10 +9,6 @@ #ifndef __ZIPSTREAM_H__ #define __ZIPSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "zipstrm.h" -#endif - #include "wx/defs.h" #if wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB diff --git a/include/wx/zstream.h b/include/wx/zstream.h index fa3d534fe9..4839697905 100644 --- a/include/wx/zstream.h +++ b/include/wx/zstream.h @@ -11,10 +11,6 @@ #ifndef _WX_WXZSTREAM_H__ #define _WX_WXZSTREAM_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "zstream.h" -#endif - #include "wx/defs.h" #if wxUSE_ZLIB && wxUSE_STREAMS diff --git a/samples/artprov/artbrows.cpp b/samples/artprov/artbrows.cpp index 66d967ee0e..ff490a4ced 100644 --- a/samples/artprov/artbrows.cpp +++ b/samples/artprov/artbrows.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "artbrows.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/artprov/artbrows.h b/samples/artprov/artbrows.h index 40bca1ec81..f91fdc2de8 100644 --- a/samples/artprov/artbrows.h +++ b/samples/artprov/artbrows.h @@ -12,10 +12,6 @@ #ifndef __ARTBROWS_H__ #define __ARTBROWS_H__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "artbrows.h" -#endif - #include "wx/dialog.h" #include "wx/artprov.h" diff --git a/samples/calendar/calendar.cpp b/samples/calendar/calendar.cpp index a19364dc5c..e3fcbd353e 100644 --- a/samples/calendar/calendar.cpp +++ b/samples/calendar/calendar.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "calendar.cpp" - #pragma interface "calendar.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index ff801abad6..1be610c5ae 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - //#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 5d7bab47a3..da547ab27e 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "controls.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/db/dbtest.cpp b/samples/db/dbtest.cpp index 0c91b117d8..3614ad8ecf 100644 --- a/samples/db/dbtest.cpp +++ b/samples/db/dbtest.cpp @@ -21,10 +21,6 @@ * SYNOPSIS END */ -#ifdef __GNUG__ -#pragma implementation "dbtest.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/samples/db/dbtest.h b/samples/db/dbtest.h index 780a58e27e..7511488c67 100644 --- a/samples/db/dbtest.h +++ b/samples/db/dbtest.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "dbtest.h" -#endif - #include "wx/string.h" #include "wx/dbtable.h" diff --git a/samples/db/listdb.cpp b/samples/db/listdb.cpp index a38a43caa0..b8eb8148eb 100644 --- a/samples/db/listdb.cpp +++ b/samples/db/listdb.cpp @@ -40,10 +40,6 @@ // SYNOPSIS STOP */ -#ifdef __GNUG__ -#pragma implementation "listdb.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/samples/db/listdb.h b/samples/db/listdb.h index e85b4da17a..f72a870cc4 100644 --- a/samples/db/listdb.h +++ b/samples/db/listdb.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "listdb.h" -#endif - /* Contains dialog class for creating a data table lookup listbox */ diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index f4bf92bfb8..2d6c4b9c72 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/dialup/nettest.cpp b/samples/dialup/nettest.cpp index 99c05d6950..51e1666dfc 100644 --- a/samples/dialup/nettest.cpp +++ b/samples/dialup/nettest.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "nettest.cpp" - #pragma interface "nettest.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/docview/doc.cpp b/samples/docview/doc.cpp index 9cbea87d86..18003fd37a 100644 --- a/samples/docview/doc.cpp +++ b/samples/docview/doc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/docview/doc.h b/samples/docview/doc.h index fde6be752a..778a21219e 100644 --- a/samples/docview/doc.h +++ b/samples/docview/doc.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - #ifndef __DOCSAMPLEH__ #define __DOCSAMPLEH__ diff --git a/samples/docview/docview.cpp b/samples/docview/docview.cpp index d8f9005801..4a8d836bef 100644 --- a/samples/docview/docview.cpp +++ b/samples/docview/docview.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation "docview.h" -#endif - /* * Purpose: Document/view architecture demo for wxWindows class library * Run with no arguments for multiple top-level windows, -single diff --git a/samples/docview/docview.h b/samples/docview/docview.h index d28a204e64..a9df147e06 100644 --- a/samples/docview/docview.h +++ b/samples/docview/docview.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface "docview.h" -#endif - #ifndef __DOCVIEWSAMPLEH__ #define __DOCVIEWSAMPLEH__ diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index 73a6097ec4..4e2a189bf1 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/docview/view.h b/samples/docview/view.h index 2826393da1..4b831ac71b 100644 --- a/samples/docview/view.h +++ b/samples/docview/view.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - #ifndef __VIEWSAMPLEH__ #define __VIEWSAMPLEH__ diff --git a/samples/docvwmdi/doc.cpp b/samples/docvwmdi/doc.cpp index dc0c9c5e70..5dd530b0ac 100644 --- a/samples/docvwmdi/doc.cpp +++ b/samples/docvwmdi/doc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/docvwmdi/doc.h b/samples/docvwmdi/doc.h index 54a233fed1..f8ec2cad70 100644 --- a/samples/docvwmdi/doc.h +++ b/samples/docvwmdi/doc.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - #ifndef __DOCSAMPLEH__ #define __DOCSAMPLEH__ diff --git a/samples/docvwmdi/docview.cpp b/samples/docvwmdi/docview.cpp index 51ca36d7a3..7e7b50ebcf 100644 --- a/samples/docvwmdi/docview.cpp +++ b/samples/docvwmdi/docview.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation "docview.h" -#endif - /* * Purpose: Document/view architecture demo for wxWindows class library - MDI */ diff --git a/samples/docvwmdi/docview.h b/samples/docvwmdi/docview.h index 2674c6a36e..34318cabc3 100644 --- a/samples/docvwmdi/docview.h +++ b/samples/docvwmdi/docview.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface "docview.h" -#endif - #ifndef __DOCVIEWSAMPLEH__ #define __DOCVIEWSAMPLEH__ diff --git a/samples/docvwmdi/view.cpp b/samples/docvwmdi/view.cpp index 6e67a8c51f..f18ecadb52 100644 --- a/samples/docvwmdi/view.cpp +++ b/samples/docvwmdi/view.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/docvwmdi/view.h b/samples/docvwmdi/view.h index 3f62a60453..b853739242 100644 --- a/samples/docvwmdi/view.h +++ b/samples/docvwmdi/view.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - #ifndef __VIEWSAMPLEH__ #define __VIEWSAMPLEH__ diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index 573ef9c94a..532b28ba63 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "drawing.cpp" - #pragma interface "drawing.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/dynamic/dynamic.cpp b/samples/dynamic/dynamic.cpp index 08a43dc832..ddd9e11d7a 100644 --- a/samples/dynamic/dynamic.cpp +++ b/samples/dynamic/dynamic.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation "dynamic.cpp" -#pragma interface "dynamic.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/erase/erase.cpp b/samples/erase/erase.cpp index 2e1d859d80..010b1b376a 100644 --- a/samples/erase/erase.cpp +++ b/samples/erase/erase.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "erase.cpp" - #pragma interface "erase.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/event/event.cpp b/samples/event/event.cpp index beeaad030d..bd85083197 100644 --- a/samples/event/event.cpp +++ b/samples/event/event.cpp @@ -17,13 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - // DO NOT use event.cpp here, it breaks statics initialization in - // src/common/event.cpp and nothing works at all then! - #pragma implementation "eventsample.cpp" - #pragma interface "eventsample.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 13cfdc28e9..f5bbc2a24f 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "exec.cpp" - #pragma interface "exec.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/about/about.cpp b/samples/html/about/about.cpp index eac43f4e19..1abf9299e2 100644 --- a/samples/html/about/about.cpp +++ b/samples/html/about/about.cpp @@ -3,11 +3,6 @@ // Purpose: wxHtml testing example ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "test.cpp" - #pragma interface "test.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp index 0e6ed46d88..3a6cdd644d 100644 --- a/samples/html/help/help.cpp +++ b/samples/html/help/help.cpp @@ -3,11 +3,6 @@ // Purpose: wxHtml testing example ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "help.cpp" - #pragma interface "help.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp index d77e758829..bfcc55d6a5 100644 --- a/samples/html/helpview/helpview.cpp +++ b/samples/html/helpview/helpview.cpp @@ -6,11 +6,6 @@ // standalone help browser. ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation "help.cpp" -#pragma interface "help.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/test/test.cpp b/samples/html/test/test.cpp index 26f225e4b7..341fd1fbea 100644 --- a/samples/html/test/test.cpp +++ b/samples/html/test/test.cpp @@ -3,11 +3,6 @@ // Purpose: wxHtml testing example ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "test.cpp" - #pragma interface "test.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp index bd681ed8a5..ef0b22e503 100644 --- a/samples/html/virtual/virtual.cpp +++ b/samples/html/virtual/virtual.cpp @@ -4,11 +4,6 @@ // demonstrates virtual file systems feature ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "test.cpp" - #pragma interface "test.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/widget/widget.cpp b/samples/html/widget/widget.cpp index b567e193f4..f2e71748ce 100644 --- a/samples/html/widget/widget.cpp +++ b/samples/html/widget/widget.cpp @@ -4,11 +4,6 @@ // demonstrates virtual file systems feature ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "test.cpp" - #pragma interface "test.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/html/zip/zip.cpp b/samples/html/zip/zip.cpp index 655715c590..fb6d2d19c5 100644 --- a/samples/html/zip/zip.cpp +++ b/samples/html/zip/zip.cpp @@ -3,11 +3,6 @@ // Purpose: wxHtml testing example ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "test.cpp" - #pragma interface "test.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 42ac1167e8..b54132cda4 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/listbox/lboxtest.cpp b/samples/listbox/lboxtest.cpp index 85e6832751..a17fe12c9b 100644 --- a/samples/listbox/lboxtest.cpp +++ b/samples/listbox/lboxtest.cpp @@ -20,11 +20,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "lboxtest.cpp" - #pragma interface "lboxtest.cpp" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index c79e252863..72c3c88e34 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index e725baec22..57795caa0f 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/samples/mobile/styles/styles.cpp b/samples/mobile/styles/styles.cpp index 3c7de87fbc..c734dc3979 100644 --- a/samples/mobile/styles/styles.cpp +++ b/samples/mobile/styles/styles.cpp @@ -5,10 +5,6 @@ // Copyright: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "styles.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/samples/mobile/styles/styles.h b/samples/mobile/styles/styles.h index b3c5dfafb1..d054ceff13 100644 --- a/samples/mobile/styles/styles.h +++ b/samples/mobile/styles/styles.h @@ -7,10 +7,6 @@ #ifndef __styles_H__ #define __styles_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "styles.cpp" -#endif - // Include wxWindows' headers #ifndef WX_PRECOMP diff --git a/samples/mobile/wxedit/wxedit.cpp b/samples/mobile/wxedit/wxedit.cpp index c3e155bace..5de2536c07 100644 --- a/samples/mobile/wxedit/wxedit.cpp +++ b/samples/mobile/wxedit/wxedit.cpp @@ -5,10 +5,6 @@ // Copyright: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "wxedit.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/samples/mobile/wxedit/wxedit.h b/samples/mobile/wxedit/wxedit.h index 0f98fcf0f1..dd36e4db8b 100644 --- a/samples/mobile/wxedit/wxedit.h +++ b/samples/mobile/wxedit/wxedit.h @@ -7,10 +7,6 @@ #ifndef __wxedit_H__ #define __wxedit_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "wxedit.cpp" -#endif - // Include wxWindows' headers #ifndef WX_PRECOMP diff --git a/samples/nativdlg/nativdlg.cpp b/samples/nativdlg/nativdlg.cpp index baf7e83cbb..60588c6e6f 100644 --- a/samples/nativdlg/nativdlg.cpp +++ b/samples/nativdlg/nativdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/nativdlg/nativdlg.h b/samples/nativdlg/nativdlg.h index f82f2e1b4b..fe63ebfe9d 100644 --- a/samples/nativdlg/nativdlg.h +++ b/samples/nativdlg/nativdlg.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface -#endif - // Define a new application class MyApp: public wxApp { diff --git a/samples/newgrid/griddemo.cpp b/samples/newgrid/griddemo.cpp index a13e12f181..751b32eb42 100644 --- a/samples/newgrid/griddemo.cpp +++ b/samples/newgrid/griddemo.cpp @@ -16,11 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation - #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/oleauto/oleauto.cpp b/samples/oleauto/oleauto.cpp index 1297437a4b..faec4335e6 100644 --- a/samples/oleauto/oleauto.cpp +++ b/samples/oleauto/oleauto.cpp @@ -16,10 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "oleauto.cpp" - #pragma interface "oleauto.cpp" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/opengl/cube/cube.cpp b/samples/opengl/cube/cube.cpp index 2172b9472c..9784b703b0 100644 --- a/samples/opengl/cube/cube.cpp +++ b/samples/opengl/cube/cube.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/samples/opengl/isosurf/isosurf.cpp b/samples/opengl/isosurf/isosurf.cpp index 895c3d44e3..ced168bfe6 100644 --- a/samples/opengl/isosurf/isosurf.cpp +++ b/samples/opengl/isosurf/isosurf.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/samples/opengl/penguin/penguin.cpp b/samples/opengl/penguin/penguin.cpp index 0c68641835..c56f55e9a7 100644 --- a/samples/opengl/penguin/penguin.cpp +++ b/samples/opengl/penguin/penguin.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/samples/png/pngdemo.cpp b/samples/png/pngdemo.cpp index 7100fd22bd..bbabb4d3eb 100644 --- a/samples/png/pngdemo.cpp +++ b/samples/png/pngdemo.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "pngdemo.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/samples/png/pngdemo.h b/samples/png/pngdemo.h index 5653a14074..17dac863a7 100644 --- a/samples/png/pngdemo.h +++ b/samples/png/pngdemo.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#if defined( __GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - #include "wx/wx.h" // Define a new application diff --git a/samples/printing/printing.cpp b/samples/printing/printing.cpp index 0ce10f7655..0c4db26ab6 100644 --- a/samples/printing/printing.cpp +++ b/samples/printing/printing.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/printing/printing.h b/samples/printing/printing.h index 46276c2428..5830698e42 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - // Define a new application class MyApp: public wxApp { diff --git a/samples/proplist/proplist.cpp b/samples/proplist/proplist.cpp index 8c04d7d35c..08d0b720a3 100644 --- a/samples/proplist/proplist.cpp +++ b/samples/proplist/proplist.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "proplist_sample.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/proplist/proplist.h b/samples/proplist/proplist.h index f984f05655..c78c6af1b6 100644 --- a/samples/proplist/proplist.h +++ b/samples/proplist/proplist.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "proplist_sample.h" -#endif - #ifndef _PROPTEST_H_ #define _PROPTEST_H_ diff --git a/samples/propsize/propsize.cpp b/samples/propsize/propsize.cpp index ac01949d32..07bc871547 100644 --- a/samples/propsize/propsize.cpp +++ b/samples/propsize/propsize.cpp @@ -16,10 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "propsize.cpp" - #pragma interface "propsize.cpp" -#endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/resource/resource.cpp b/samples/resource/resource.cpp index d13abdbff8..86765cdca8 100644 --- a/samples/resource/resource.cpp +++ b/samples/resource/resource.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/resource/resource.h b/samples/resource/resource.h index 5ffccc779d..612b8aa0c3 100644 --- a/samples/resource/resource.h +++ b/samples/resource/resource.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - // Define a new application class MyApp: public wxApp { diff --git a/samples/richedit/kbList.cpp b/samples/richedit/kbList.cpp index 37af1ce9da..de7ab1dcb6 100644 --- a/samples/richedit/kbList.cpp +++ b/samples/richedit/kbList.cpp @@ -6,6 +6,9 @@ * $Id$ * * * * $Log$ + * Revision 1.2.2.1 2005/06/20 17:40:10 MR + * Remove #pragma implementation and #pragma interface lines from 2.4 branch to fix issues with gcc. + * * Revision 1.2 2002/01/16 13:39:50 GT * Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use * @@ -55,10 +58,6 @@ * *******************************************************************/ -#ifdef __GNUG__ -# pragma implementation "kbList.h" -#endif - #include "kbList.h" diff --git a/samples/richedit/kbList.h b/samples/richedit/kbList.h index 8bde57daf0..eb96997ce6 100644 --- a/samples/richedit/kbList.h +++ b/samples/richedit/kbList.h @@ -12,10 +12,6 @@ #ifndef KBLIST_H # define KBLIST_H -#ifdef __GNUG__ -# pragma interface "kbList.h" -#endif - #ifndef NULL # define NULL 0 #endif diff --git a/samples/richedit/wxLayout.cpp b/samples/richedit/wxLayout.cpp index 796dd2a310..a96f7cf6c5 100644 --- a/samples/richedit/wxLayout.cpp +++ b/samples/richedit/wxLayout.cpp @@ -7,10 +7,6 @@ * */ -#ifdef __GNUG__ -#pragma implementation "wxLayout.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ # pragma hdrstop diff --git a/samples/richedit/wxLayout.h b/samples/richedit/wxLayout.h index e979a05d02..01e96d3ed2 100644 --- a/samples/richedit/wxLayout.h +++ b/samples/richedit/wxLayout.h @@ -3,10 +3,6 @@ #ifndef __WXLAYOUTH__ #define __WXLAYOUTH__ -#ifdef __GNUG__ -#pragma interface -#endif - #include #include "wxllist.h" diff --git a/samples/richedit/wxllist.cpp b/samples/richedit/wxllist.cpp index 3a2ff3a604..c785322d1f 100644 --- a/samples/richedit/wxllist.cpp +++ b/samples/richedit/wxllist.cpp @@ -21,10 +21,6 @@ */ -#ifdef __GNUG__ -# pragma implementation "wxllist.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/samples/richedit/wxllist.h b/samples/richedit/wxllist.h index c965f6b322..555b0394e8 100644 --- a/samples/richedit/wxllist.h +++ b/samples/richedit/wxllist.h @@ -10,10 +10,6 @@ #ifndef WXLLIST_H #define WXLLIST_H -#ifdef __GNUG__ -# pragma interface "wxllist.h" -#endif - #include "kbList.h" #include diff --git a/samples/richedit/wxlparser.cpp b/samples/richedit/wxlparser.cpp index dc457fb85d..50af087229 100644 --- a/samples/richedit/wxlparser.cpp +++ b/samples/richedit/wxlparser.cpp @@ -6,10 +6,6 @@ * $Id$ *******************************************************************/ -#ifdef __GNUG__ -# pragma implementation "wxlparser.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/samples/richedit/wxlparser.h b/samples/richedit/wxlparser.h index 129100dd30..da68a6e140 100644 --- a/samples/richedit/wxlparser.h +++ b/samples/richedit/wxlparser.h @@ -8,10 +8,6 @@ #ifndef WXLPARSER_H # define WXLPARSER_H -#ifdef __GNUG__ -# pragma interface "wxlparser.h" -#endif - #ifndef NULL # define NULL 0 #endif diff --git a/samples/richedit/wxlwindow.cpp b/samples/richedit/wxlwindow.cpp index 4383578c2c..fc3c05f020 100644 --- a/samples/richedit/wxlwindow.cpp +++ b/samples/richedit/wxlwindow.cpp @@ -14,10 +14,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -# pragma implementation "wxlwindow.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/samples/richedit/wxlwindow.h b/samples/richedit/wxlwindow.h index 8958e62fab..b539263fa9 100644 --- a/samples/richedit/wxlwindow.h +++ b/samples/richedit/wxlwindow.h @@ -8,10 +8,6 @@ #ifndef WXLWINDOW_H #define WXLWINDOW_H -#ifdef __GNUG__ -# pragma interface "wxlwindow.h" -#endif - #ifndef USE_PCH # include #endif diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index adb508b93a..cdbfed6c1a 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "shaped.cpp" - #pragma interface "shaped.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index 3ba76e9bf2..4a2a517413 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -17,11 +17,6 @@ // headers // -------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) -# pragma implementation "client.cpp" -# pragma interface "client.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/sockets/server.cpp b/samples/sockets/server.cpp index ac8a2dd3f0..61a9c8b118 100644 --- a/samples/sockets/server.cpp +++ b/samples/sockets/server.cpp @@ -17,11 +17,6 @@ // headers // -------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) -# pragma implementation "server.cpp" -# pragma interface "server.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/text/text.cpp b/samples/text/text.cpp index f4f79a219e..1692029b19 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "text.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/treectrl/treetest.cpp b/samples/treectrl/treetest.cpp index 23795b1a30..4d2103dcfe 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation - #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/typetest/typetest.cpp b/samples/typetest/typetest.cpp index 3022597ac0..510e847c65 100644 --- a/samples/typetest/typetest.cpp +++ b/samples/typetest/typetest.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "typetest.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/typetest/typetest.h b/samples/typetest/typetest.h index 0b1ca03b17..e8a92976ad 100644 --- a/samples/typetest/typetest.h +++ b/samples/typetest/typetest.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "typetest.h" -#endif - #ifndef _WX_TYPETEST_H_ #define _WX_TYPETEST_H_ diff --git a/samples/validate/validate.cpp b/samples/validate/validate.cpp index 32ca7fffc6..e613144075 100644 --- a/samples/validate/validate.cpp +++ b/samples/validate/validate.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -// #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/validate/validate.h b/samples/validate/validate.h index 864a926b2f..9dfecbe634 100644 --- a/samples/validate/validate.h +++ b/samples/validate/validate.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma interface -#endif - // Define a new application type class MyApp : public wxApp { diff --git a/samples/wizard/wizard.cpp b/samples/wizard/wizard.cpp index fafaf89ed4..a2efadeb0d 100644 --- a/samples/wizard/wizard.cpp +++ b/samples/wizard/wizard.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "wizard.cpp" - #pragma interface "wizard.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/samples/wxtest/test.cpp b/samples/wxtest/test.cpp index 91f09a013f..30cf843a2f 100644 --- a/samples/wxtest/test.cpp +++ b/samples/wxtest/test.cpp @@ -5,10 +5,6 @@ // Copyright: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "test.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/samples/wxtest/test.h b/samples/wxtest/test.h index 09e2f3d63c..0c3e8a6e7e 100644 --- a/samples/wxtest/test.h +++ b/samples/wxtest/test.h @@ -8,10 +8,6 @@ #ifndef __test_H__ #define __test_H__ -#ifdef __GNUG__ - #pragma interface "test.cpp" -#endif - // Include wxWindows' headers #ifndef WX_PRECOMP diff --git a/samples/wxtest/test_wdr.cpp b/samples/wxtest/test_wdr.cpp index c6ec0d7ed6..fc64e962cf 100644 --- a/samples/wxtest/test_wdr.cpp +++ b/samples/wxtest/test_wdr.cpp @@ -3,10 +3,6 @@ // Do not modify this file, all changes will be lost! //------------------------------------------------------------------------------ -#ifdef __GNUG__ - #pragma implementation "test_wdr.cpp" -#endif - // For compilers that support precompilation #include "wx/wxprec.h" diff --git a/samples/wxtest/test_wdr.h b/samples/wxtest/test_wdr.h index 352fe7a4ef..a55a979cbf 100644 --- a/samples/wxtest/test_wdr.h +++ b/samples/wxtest/test_wdr.h @@ -6,10 +6,6 @@ #ifndef __WDR_test_H__ #define __WDR_test_H__ -#ifdef __GNUG__ - #pragma interface "test_wdr.cpp" -#endif - // Include wxWindows' headers #ifndef WX_PRECOMP diff --git a/samples/xrc/custclas.cpp b/samples/xrc/custclas.cpp index ba30c5f7f7..04fb8ac090 100644 --- a/samples/xrc/custclas.cpp +++ b/samples/xrc/custclas.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "custclas.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/samples/xrc/custclas.h b/samples/xrc/custclas.h index e34efa01b7..57fc160b30 100644 --- a/samples/xrc/custclas.h +++ b/samples/xrc/custclas.h @@ -14,14 +14,6 @@ #ifndef _CUSTCLAS_H_ #define _CUSTCLAS_H_ -//---------------------------------------------------------------------------------------- -// GCC interface -//---------------------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "custclas.h" -#endif - //---------------------------------------------------------------------------------------- // Headers //---------------------------------------------------------------------------------------- diff --git a/samples/xrc/derivdlg.cpp b/samples/xrc/derivdlg.cpp index 437615d60b..d6f4c894a2 100644 --- a/samples/xrc/derivdlg.cpp +++ b/samples/xrc/derivdlg.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "derivdlg.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/samples/xrc/derivdlg.h b/samples/xrc/derivdlg.h index 2bea8e39ea..320a8435f6 100644 --- a/samples/xrc/derivdlg.h +++ b/samples/xrc/derivdlg.h @@ -14,14 +14,6 @@ #ifndef _DERIVDLG_H_ #define _DERIVDLG_H_ -//----------------------------------------------------------------------------- -// GCC interface -//----------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "derivdlg.h" -#endif - //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- diff --git a/samples/xrc/myframe.cpp b/samples/xrc/myframe.cpp index 594d8769e1..eb9c0b7ee8 100644 --- a/samples/xrc/myframe.cpp +++ b/samples/xrc/myframe.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "myframe.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/samples/xrc/myframe.h b/samples/xrc/myframe.h index 33ee6bd4bb..0157f7040c 100644 --- a/samples/xrc/myframe.h +++ b/samples/xrc/myframe.h @@ -14,14 +14,6 @@ #ifndef _MYFRAME_H_ #define _MYFRAME_H_ -//----------------------------------------------------------------------------- -// GCC interface -//----------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "myframe.h" -#endif - //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- diff --git a/samples/xrc/xrcdemo.cpp b/samples/xrc/xrcdemo.cpp index c904f52e28..ba0c927392 100644 --- a/samples/xrc/xrcdemo.cpp +++ b/samples/xrc/xrcdemo.cpp @@ -7,14 +7,6 @@ // Licence: wxWindows licence //----------------------------------------------------------------------------- -//----------------------------------------------------------------------------- -// GCC implementation -//----------------------------------------------------------------------------- - -#ifdef __GNUG__ - #pragma implementation "xrcdemo.h" -#endif - //----------------------------------------------------------------------------- // Standard wxWindows headers //----------------------------------------------------------------------------- diff --git a/samples/xrc/xrcdemo.h b/samples/xrc/xrcdemo.h index d41a649ddc..71fa991357 100644 --- a/samples/xrc/xrcdemo.h +++ b/samples/xrc/xrcdemo.h @@ -14,14 +14,6 @@ #ifndef _XRCDEMO_H_ #define _XRCDEMO_H_ -//----------------------------------------------------------------------------- -// GCC interface -//----------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "xrcdemo.h" -#endif - //----------------------------------------------------------------------------- // Headers //----------------------------------------------------------------------------- diff --git a/setup.h.in b/setup.h.in index e76d9d0bfa..99a984cac0 100644 --- a/setup.h.in +++ b/setup.h.in @@ -3,10 +3,6 @@ #ifndef __WX_SETUP_H__ #define __WX_SETUP_H__ -#ifdef __GNUG__ -#pragma interface -#endif - /* never undefine inline or const keywords for C++ compilation */ #ifndef __cplusplus diff --git a/setup.h_vms b/setup.h_vms index 9a25d2aef8..c684f8ae2f 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -12,10 +12,6 @@ #ifndef __WX_SETUP_H__ #define __WX_SETUP_H__ -#ifdef __GNUG__ -#pragma interface -#endif - #include /* never undefine inline or const keywords for C++ compilation */ diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index c8870b9cbd..0fdcc7da7f 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "appbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index ccd87ed4e8..33f19da482 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -13,10 +13,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "artprov.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/bmpbase.cpp b/src/common/bmpbase.cpp index 86a9341ee2..20cd789041 100644 --- a/src/common/bmpbase.cpp +++ b/src/common/bmpbase.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmapbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index de1d8431a9..4ef7c4a596 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "choicebase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/clipcmn.cpp b/src/common/clipcmn.cpp index 9507ed416b..e012311d0c 100644 --- a/src/common/clipcmn.cpp +++ b/src/common/clipcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "clipboardbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/clntdata.cpp b/src/common/clntdata.cpp index 782f518465..229f777791 100644 --- a/src/common/clntdata.cpp +++ b/src/common/clntdata.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "clntdata.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/cmdline.cpp b/src/common/cmdline.cpp index 6a21925fe7..8a589787c6 100644 --- a/src/common/cmdline.cpp +++ b/src/common/cmdline.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "cmdline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index 3dbefff13f..e009d9f227 100644 --- a/src/common/cmdproc.cpp +++ b/src/common/cmdproc.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "cmdproc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 9bf7b8f145..5d6afeb9dc 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "cmndata.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/config.cpp b/src/common/config.cpp index 014c2ab297..23b62a2350 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -13,9 +13,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "confbase.h" -#endif #include "wx/wxprec.h" diff --git a/src/common/containr.cpp b/src/common/containr.cpp index 5b5df9ea92..dc8975abf2 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "containr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index 5a9ac60b12..722a65070d 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "cshelp.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/common/ctrlcmn.cpp b/src/common/ctrlcmn.cpp index c13f4dcc0c..f642c02d1c 100644 --- a/src/common/ctrlcmn.cpp +++ b/src/common/ctrlcmn.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "controlbase.h" - #pragma implementation "statbmpbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/ctrlsub.cpp b/src/common/ctrlsub.cpp index 67e8a80333..cf10088a4e 100644 --- a/src/common/ctrlsub.cpp +++ b/src/common/ctrlsub.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "controlwithitems.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index ec9d934fb8..a7021af489 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -52,10 +52,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "datetime.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index 88cdcd4049..b4f3b0c5f9 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "datstrm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/db.cpp b/src/common/db.cpp index a48defc3a7..762c7bc2e5 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -34,9 +34,6 @@ // SYNOPSIS START // SYNOPSIS STOP */ -#ifdef __GNUG__ - #pragma implementation "db.h" -#endif #include "wx/wxprec.h" diff --git a/src/common/dbgrid.cpp b/src/common/dbgrid.cpp index 83e673a918..c12f0ad13e 100644 --- a/src/common/dbgrid.cpp +++ b/src/common/dbgrid.cpp @@ -11,10 +11,6 @@ // Branched From : dbgrid.cpp,v 1.18 2000/12/19 13:00:58 /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dbgrid.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index 52cdbf8403..36979d24a3 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -24,9 +24,6 @@ // SYNOPSIS START // SYNOPSIS STOP */ -#ifdef __GNUG__ - #pragma implementation "dbtable.h" -#endif #include "wx/wxprec.h" diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 83e9980940..bbe7ddcd9e 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "dcbase.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 7e9f1319f2..f11861faa8 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -17,12 +17,6 @@ // headers // ---------------------------------------------------------------------------- -/* this is done in platform-specific files -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif -*/ - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index e1b894b63c..9c29c7a867 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dialogbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 9982565683..870d5c19b1 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -12,10 +12,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dndbase.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 93a2d21d23..8f625afe0b 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dataobjbase.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index fa69061271..d7fbf1f58f 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "docmdi.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/docview.cpp b/src/common/docview.cpp index eb6ea86b4d..eed2fa6157 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "docview.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/dseldlg.cpp b/src/common/dseldlg.cpp index bd12182171..06fcd2bada 100644 --- a/src/common/dseldlg.cpp +++ b/src/common/dseldlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dseldlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/dynarray.cpp b/src/common/dynarray.cpp index bdceb587b8..c8bad4393e 100644 --- a/src/common/dynarray.cpp +++ b/src/common/dynarray.cpp @@ -13,10 +13,6 @@ // headers // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "dynarray.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 6a0ce9235e..7f3c460dd0 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -# pragma implementation "dynlib.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index 3c7e8c5e8d..73284ec4ed 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dynload.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/common/effects.cpp b/src/common/effects.cpp index a5b2a828ea..f58f542450 100644 --- a/src/common/effects.cpp +++ b/src/common/effects.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "effects.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index e4763473e5..fca93b666b 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "encconv.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/event.cpp b/src/common/event.cpp index 04b205aac7..7f95bf2e3a 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "event.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/fddlgcmn.cpp b/src/common/fddlgcmn.cpp index 17494e1759..864c7e465c 100644 --- a/src/common/fddlgcmn.cpp +++ b/src/common/fddlgcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fdrepdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index 3e405491ee..68f2bf86e6 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "ffile.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/file.cpp b/src/common/file.cpp index 3ad8c509e2..0c8a19ef81 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -14,10 +14,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "file.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 51dec564ab..28fe78f9de 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fileconf.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 4999c06f80..739d83e95f 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "filefn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 837fe3bad8..6fa0bf2d78 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -60,10 +60,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "filename.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index 274358a6b0..81827f1247 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "filesys.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index b58bd2f1e4..303a28a717 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "fontbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index 15acfee7f2..f1404a4f5a 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontmap.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index abe9d8d1da..bf9f6765ae 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "framebase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index 2aa70a14e4..85762c36f6 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fs_inet.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/fs_mem.cpp b/src/common/fs_mem.cpp index eca35ac6ff..5c91e9ac8a 100644 --- a/src/common/fs_mem.cpp +++ b/src/common/fs_mem.cpp @@ -7,10 +7,6 @@ ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fs_mem.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/fs_zip.cpp b/src/common/fs_zip.cpp index 945d402af6..1144dc0ece 100644 --- a/src/common/fs_zip.cpp +++ b/src/common/fs_zip.cpp @@ -8,11 +8,6 @@ ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "fs_zip.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 23dde41989..b21105ff98 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -17,10 +17,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "ftp.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/common/gaugecmn.cpp b/src/common/gaugecmn.cpp index eeee356908..564da36d66 100644 --- a/src/common/gaugecmn.cpp +++ b/src/common/gaugecmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "gaugebase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 09222b21d4..7bfc722833 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdicmn.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/common/geometry.cpp b/src/common/geometry.cpp index e10221ee8e..0e1967ddc1 100644 --- a/src/common/geometry.cpp +++ b/src/common/geometry.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "geometry.cpp" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index e8151b1fd7..a057786a3e 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gifdecod.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/hash.cpp b/src/common/hash.cpp index f8e5ec096b..7fbcd7a8e2 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "hash.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/hashmap.cpp b/src/common/hashmap.cpp index 19a385d451..680011c6cb 100644 --- a/src/common/hashmap.cpp +++ b/src/common/hashmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "hashmap.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/helpbase.cpp b/src/common/helpbase.cpp index e8f7722899..7f5dddb520 100644 --- a/src/common/helpbase.cpp +++ b/src/common/helpbase.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/http.cpp b/src/common/http.cpp index ca8a57af2c..68fc0e82f8 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "http.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index 54a0b03dc7..a95c5c5495 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "iconbndl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagall.cpp b/src/common/imagall.cpp index da9f1c2999..1ad53109bf 100644 --- a/src/common/imagall.cpp +++ b/src/common/imagall.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -/* - We don't put pragma implement in this file because it is already present in - src/common/image.cpp -*/ - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagbmp.cpp b/src/common/imagbmp.cpp index 010c34084a..95bde82f05 100644 --- a/src/common/imagbmp.cpp +++ b/src/common/imagbmp.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imagbmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/image.cpp b/src/common/image.cpp index edfe4b622a..323bbf7215 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "image.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imaggif.cpp b/src/common/imaggif.cpp index 1aed9a28cb..fa4be1f130 100644 --- a/src/common/imaggif.cpp +++ b/src/common/imaggif.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imaggif.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagiff.cpp b/src/common/imagiff.cpp index e852c4f645..ddc4ead60e 100644 --- a/src/common/imagiff.cpp +++ b/src/common/imagiff.cpp @@ -12,10 +12,6 @@ // by the author of xv, John Bradley for using the iff loading part // in wxWindows has been gratefully given. -#ifdef __GNUG__ -#pragma implementation "imagiff.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagjpeg.cpp b/src/common/imagjpeg.cpp index d1dd8ad150..c056c41ee1 100644 --- a/src/common/imagjpeg.cpp +++ b/src/common/imagjpeg.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imagjpeg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagpcx.cpp b/src/common/imagpcx.cpp index 64a4d246b0..fec47f4463 100644 --- a/src/common/imagpcx.cpp +++ b/src/common/imagpcx.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imagpcx.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 4e99414f2e..2a9e7e9190 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imagpng.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index 984de04ca4..d7aa2cef09 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imagpnm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index 16c952d297..d99c857b56 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imagtiff.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/imagxpm.cpp b/src/common/imagxpm.cpp index 485aa239c0..4fe93b9039 100644 --- a/src/common/imagxpm.cpp +++ b/src/common/imagxpm.cpp @@ -62,10 +62,6 @@ license is as follows: % */ -#ifdef __GNUG__ -#pragma implementation "imagxpm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 3330af0c2a..3033163053 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "intl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/ipcbase.cpp b/src/common/ipcbase.cpp index 01c5bc2234..c81b189306 100644 --- a/src/common/ipcbase.cpp +++ b/src/common/ipcbase.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "ipcbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 74850c5631..2d244f80c3 100644 --- a/src/common/layout.cpp +++ b/src/common/layout.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "layout.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/lboxcmn.cpp b/src/common/lboxcmn.cpp index 55ab6ade5e..3f95a89970 100644 --- a/src/common/lboxcmn.cpp +++ b/src/common/lboxcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "listboxbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/list.cpp b/src/common/list.cpp index e94aa517a8..225f5fbba6 100644 --- a/src/common/list.cpp +++ b/src/common/list.cpp @@ -17,10 +17,6 @@ // headers // ----------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "list.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/log.cpp b/src/common/log.cpp index 0f2860dcfa..aace80d440 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "log.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/longlong.cpp b/src/common/longlong.cpp index 1baf36f4f4..667dbb57e7 100644 --- a/src/common/longlong.cpp +++ b/src/common/longlong.cpp @@ -15,10 +15,6 @@ // headers // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "longlong.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 5068f5f836..8dcfe9b6ca 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "matrix.h" -#endif - // Note: this is intended to be used in wxDC at some point to replace // the current system of scaling/translation. It is not yet used. diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 0f44178f44..79f0a70be4 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "memory.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -26,10 +22,6 @@ #if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT -#ifdef __GNUG__ -// #pragma implementation -#endif - #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/app.h" diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index af29182def..b721ee0fea 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "menubase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 82875e9c60..e1c2bee2af 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "mimetypebase.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/module.cpp b/src/common/module.cpp index 0853642073..685edb3099 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "module.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index e6a079969e..680ebb4339 100755 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "msgout.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/mstream.cpp b/src/common/mstream.cpp index b1ac75aa94..0a4b8e2d86 100644 --- a/src/common/mstream.cpp +++ b/src/common/mstream.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "mstream.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index 07b9a52c46..a7e644ff63 100644 --- a/src/common/nbkbase.cpp +++ b/src/common/nbkbase.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "notebookbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/object.cpp b/src/common/object.cpp index e7f0630a72..c8a7274527 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "object.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/odbc.cpp b/src/common/odbc.cpp index bdf71719d7..757f2719dc 100644 --- a/src/common/odbc.cpp +++ b/src/common/odbc.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "odbc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/paper.cpp b/src/common/paper.cpp index 58156a1bb4..8083668519 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "paper.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 7c8de4c9b7..a70f039ac9 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "popupwinbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index c6c6600738..9925508c4d 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "prntbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/process.cpp b/src/common/process.cpp index 43dfcdf867..173675ca3b 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "process.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 1de1a297cb..b72e9f81db 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "protocol.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/quantize.cpp b/src/common/quantize.cpp index 1d1e1500fb..37a3eda3d2 100644 --- a/src/common/quantize.cpp +++ b/src/common/quantize.cpp @@ -30,10 +30,6 @@ /* modified by Vaclav Slavik for use as jpeglib-independent module */ -#ifdef __GNUG__ -#pragma implementation "quantize.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index 2c91443928..0bdbf2da36 100644 --- a/src/common/radiocmn.cpp +++ b/src/common/radiocmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "radioboxbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/regex.cpp b/src/common/regex.cpp index e96257c8b6..01c87847c5 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "regex.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/resourc2.cpp b/src/common/resourc2.cpp index 3b378ec002..0c01564a67 100644 --- a/src/common/resourc2.cpp +++ b/src/common/resourc2.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "resource.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/resource.cpp b/src/common/resource.cpp index de02d6a71f..a1fb592443 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "resource.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/rgncmn.cpp b/src/common/rgncmn.cpp index c192366f29..df31df0669 100644 --- a/src/common/rgncmn.cpp +++ b/src/common/rgncmn.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "rgncmn.h" -#endif - - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 06fa6a1c47..5e23fabfc6 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "sckaddr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index 87bdfd78ea..41603445c8 100644 --- a/src/common/sckfile.cpp +++ b/src/common/sckfile.cpp @@ -8,9 +8,6 @@ // Copyright: (c) 1997, 1998 Guilhem Lavaux // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "sckfile.h" -#endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 4151df7172..091b9b0b29 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -22,10 +22,6 @@ // headers // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sckipc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/sckstrm.cpp b/src/common/sckstrm.cpp index bc56194375..54d72931c8 100644 --- a/src/common/sckstrm.cpp +++ b/src/common/sckstrm.cpp @@ -8,9 +8,6 @@ // Copyright: (c) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "sckstrm.h" -#endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/settcmn.cpp b/src/common/settcmn.cpp index 1a890fad16..f423ee3aa5 100644 --- a/src/common/settcmn.cpp +++ b/src/common/settcmn.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "settings.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 2727d57d1c..c0335c87b4 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "sizer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 2848d09a9a..8bcb38fe30 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -13,10 +13,6 @@ // Declarations // ========================================================================== -#ifdef __GNUG__ -#pragma implementation "socket.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/statbar.cpp b/src/common/statbar.cpp index df95ab4369..7a6be0112e 100644 --- a/src/common/statbar.cpp +++ b/src/common/statbar.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index c6403944ae..105187430f 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "strconv.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/stream.cpp b/src/common/stream.cpp index d5c5dd3318..1246ac6b37 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "stream.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/string.cpp b/src/common/string.cpp index d2c5e8c052..f095ef0c45 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "string.h" -#endif - /* * About ref counting: * 1) all empty strings use g_strEmpty, nRefs = -1 (set in Init()) diff --git a/src/common/sysopt.cpp b/src/common/sysopt.cpp index 39849e7fa9..8247611541 100644 --- a/src/common/sysopt.cpp +++ b/src/common/sysopt.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "sysopt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index da745d66bc..2d5eac32a8 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tbarbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/textbuf.cpp b/src/common/textbuf.cpp index 629976253e..27e41fd5f5 100644 --- a/src/common/textbuf.cpp +++ b/src/common/textbuf.cpp @@ -11,10 +11,6 @@ // headers // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "textbuf.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index de9a68979c..938ff1e0ad 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "textctrlbase.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index fd7b30c50e..658957dc05 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -13,10 +13,6 @@ // headers // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "textfile.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index 0f0b478fdb..b52016a886 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -22,10 +22,6 @@ // wxWin headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "timerbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/tokenzr.cpp b/src/common/tokenzr.cpp index 32c220a69a..7996cfc796 100644 --- a/src/common/tokenzr.cpp +++ b/src/common/tokenzr.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tokenzr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/toplvcmn.cpp b/src/common/toplvcmn.cpp index b1af3fdd14..768a56c928 100644 --- a/src/common/toplvcmn.cpp +++ b/src/common/toplvcmn.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevelbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 6bf725823f..c420640bb6 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -17,10 +17,6 @@ // headers // ----------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "treebase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/txtstrm.cpp b/src/common/txtstrm.cpp index 62f2e5f72c..a2dc167596 100644 --- a/src/common/txtstrm.cpp +++ b/src/common/txtstrm.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "txtstrm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/url.cpp b/src/common/url.cpp index 39015e511e..bb0db0c427 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "url.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 9240974ed9..cfadde3e6c 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "utils.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index b4814ac7b0..7f2c5cfc32 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "valgen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/validate.cpp b/src/common/validate.cpp index 92848841c4..af54b8ee7f 100644 --- a/src/common/validate.cpp +++ b/src/common/validate.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "validate.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/valtext.cpp b/src/common/valtext.cpp index 0f94b484a1..3a1a02cffd 100644 --- a/src/common/valtext.cpp +++ b/src/common/valtext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "valtext.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/variant.cpp b/src/common/variant.cpp index 48d54c7ec1..bc6a33abcd 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -9,12 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "variant.h" -#pragma implementation "time.h" -#pragma implementation "date.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index d460dd61ab..a2c344b6b8 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wfstream.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index f2d7d8849f..782c663c58 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "windowbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 0b46889b8b..e6983d8cf4 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "wxchar.h" -#endif - // =========================================================================== // headers, declarations, constants // =========================================================================== diff --git a/src/common/wxexpr.cpp b/src/common/wxexpr.cpp index 3db96de17a..5b9639823a 100644 --- a/src/common/wxexpr.cpp +++ b/src/common/wxexpr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wxexpr.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/common/xpmdecod.cpp b/src/common/xpmdecod.cpp index 4b4e47e045..540078c755 100644 --- a/src/common/xpmdecod.cpp +++ b/src/common/xpmdecod.cpp @@ -90,10 +90,6 @@ license is as follows: * in this Software without prior written authorization from GROUPE BULL. */ -#ifdef __GNUG__ -#pragma implementation "xpmdecod.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/zipstrm.cpp b/src/common/zipstrm.cpp index 1ed942c0ea..e61c4e74ee 100644 --- a/src/common/zipstrm.cpp +++ b/src/common/zipstrm.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "zipstrm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index bb275575ff..ccf4f9b1d0 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "zstream.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/accel.cpp b/src/generic/accel.cpp index df4ec78f67..050a03b374 100644 --- a/src/generic/accel.cpp +++ b/src/generic/accel.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "accel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index e85e99151a..5d5a85490e 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "busyinfo.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index 7232860863..fb94f2951e 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "calctrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/caret.cpp b/src/generic/caret.cpp index d199e5290f..efa29f7ba7 100644 --- a/src/generic/caret.cpp +++ b/src/generic/caret.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "caret.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index 8577247a2b..ca521641da 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "choicdgg.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/generic/colrdlgg.cpp b/src/generic/colrdlgg.cpp index 952a1ebddd..06367ddaa9 100644 --- a/src/generic/colrdlgg.cpp +++ b/src/generic/colrdlgg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colrdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/dcbuffer.cpp b/src/generic/dcbuffer.cpp index bc21ffa1df..1f002b4c83 100644 --- a/src/generic/dcbuffer.cpp +++ b/src/generic/dcbuffer.cpp @@ -10,10 +10,6 @@ ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dcbuffer.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 531e074930..65328b9c3b 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcpsg.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index c8ec6ca41e..7128415ba8 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dirctrlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/dirdlgg.cpp b/src/generic/dirdlgg.cpp index d7c41a3386..02cee22212 100644 --- a/src/generic/dirdlgg.cpp +++ b/src/generic/dirdlgg.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dirdlgg.h" -#endif - - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/dragimgg.cpp b/src/generic/dragimgg.cpp index 8e89afe823..d46acc58c1 100644 --- a/src/generic/dragimgg.cpp +++ b/src/generic/dragimgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "dragimgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index d613e1e4c9..5ffe06a944 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "genericfdrepdlg.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index d24196e6bb..c8a55928b3 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "filedlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 13f1ca45cd..1291eb759c 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 1ff91e8273..ad8eff3a00 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "grid.h" -#endif - // For compilers that support precompilatixon, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/gridctrl.cpp b/src/generic/gridctrl.cpp index 9d502277e6..7af7489d7d 100644 --- a/src/generic/gridctrl.cpp +++ b/src/generic/gridctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "gridctrl.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/generic/gridg.cpp b/src/generic/gridg.cpp index a4d53fc435..dcf6731ac7 100644 --- a/src/generic/gridg.cpp +++ b/src/generic/gridg.cpp @@ -13,11 +13,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "gridg.h" - #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/gridsel.cpp b/src/generic/gridsel.cpp index 4e3fdbe60d..bdb5dff58d 100644 --- a/src/generic/gridsel.cpp +++ b/src/generic/gridsel.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "gridsel.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/helpext.cpp b/src/generic/helpext.cpp index f6e3add7b5..f4c82f1855 100644 --- a/src/generic/helpext.cpp +++ b/src/generic/helpext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "wxexthlp.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/generic/helphtml.cpp b/src/generic/helphtml.cpp index 9f106ae59c..dfe0c93332 100644 --- a/src/generic/helphtml.cpp +++ b/src/generic/helphtml.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "helphtml.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index b70f3e23bf..596139327d 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "imaglist.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/laywin.cpp b/src/generic/laywin.cpp index 8d33f42ccf..c5b20f5545 100644 --- a/src/generic/laywin.cpp +++ b/src/generic/laywin.cpp @@ -12,10 +12,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "laywin.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index bd910ee6e2..a7bd0fbe93 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -23,11 +23,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "listctrl.h" - #pragma implementation "listctrlbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 969ccb4b2d..ba3ab3a7a1 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -18,8 +18,6 @@ // headers // ---------------------------------------------------------------------------- -// no #pragma implementation "log.h" because it's already in src/common/log.cpp - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/mdig.cpp b/src/generic/mdig.cpp index ea08482ba2..b18bbfbf6d 100644 --- a/src/generic/mdig.cpp +++ b/src/generic/mdig.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "mdig.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/msgdlgg.cpp b/src/generic/msgdlgg.cpp index 467ce46b18..0547f65be1 100644 --- a/src/generic/msgdlgg.cpp +++ b/src/generic/msgdlgg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "msgdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index 118b9dd1f7..066f4da40a 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -16,9 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "notebook.h" -#endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/numdlgg.cpp b/src/generic/numdlgg.cpp index 9fa5693a4d..6337b164b7 100644 --- a/src/generic/numdlgg.cpp +++ b/src/generic/numdlgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "numdlgg.cpp" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/paletteg.cpp b/src/generic/paletteg.cpp index 336afdc2ba..64fb0df0a6 100644 --- a/src/generic/paletteg.cpp +++ b/src/generic/paletteg.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "paletteg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index d7f69ce937..81c151423b 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "panelg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index dfa6611416..c7d967563f 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "printps.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 80274376a9..ce0d1edd51 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "prntdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index a7c9e246b0..31eb18c77e 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "progdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/prop.cpp b/src/generic/prop.cpp index ae8170a5ab..e8284404e4 100644 --- a/src/generic/prop.cpp +++ b/src/generic/prop.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "prop.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/propform.cpp b/src/generic/propform.cpp index b8469214eb..793adf9808 100644 --- a/src/generic/propform.cpp +++ b/src/generic/propform.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "propform.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/proplist.cpp b/src/generic/proplist.cpp index cd6af4d9c1..2233e6a2ca 100644 --- a/src/generic/proplist.cpp +++ b/src/generic/proplist.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "proplist.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index 6f0fc70c24..ebdb54a5a0 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -11,10 +11,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "sashwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 72b6e4eb3f..5b391207c3 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "genscrolwin.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/generic/spinctlg.cpp b/src/generic/spinctlg.cpp index eb52e041a2..34174b257d 100644 --- a/src/generic/spinctlg.cpp +++ b/src/generic/spinctlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "spinctlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index 7f3af1d427..d90e8db666 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "splash.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index d2102d36fe..5db46411c7 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "splitter.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/statline.cpp b/src/generic/statline.cpp index 27437f2e6a..36d378f411 100644 --- a/src/generic/statline.cpp +++ b/src/generic/statline.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index 4b204e06e9..a486a483cc 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statusbr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/tabg.cpp b/src/generic/tabg.cpp index 33119247e6..01bf9a14ae 100644 --- a/src/generic/tabg.cpp +++ b/src/generic/tabg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "tabg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/tbarsmpl.cpp b/src/generic/tbarsmpl.cpp index 054fc30003..4352e21df1 100644 --- a/src/generic/tbarsmpl.cpp +++ b/src/generic/tbarsmpl.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tbarsmpl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/textdlgg.cpp b/src/generic/textdlgg.cpp index 4397306f2e..1e1b838c49 100644 --- a/src/generic/textdlgg.cpp +++ b/src/generic/textdlgg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "textdlgg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/timer.cpp b/src/generic/timer.cpp index 259a0ebe0e..28159508a7 100644 --- a/src/generic/timer.cpp +++ b/src/generic/timer.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "timer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 603f7881a9..a646ae5009 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tipdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index 84d8d86f62..0266a85cc0 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tipwin.h" -#endif - // For compilers that support precompilatixon, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 081b429940..6333ce5ae8 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -17,10 +17,6 @@ // headers // ----------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "treectlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/treelay.cpp b/src/generic/treelay.cpp index 43aae86378..2767adc09f 100644 --- a/src/generic/treelay.cpp +++ b/src/generic/treelay.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wxtree.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 4ca0096f53..d2307220cd 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -20,10 +20,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "wizardg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index b784e9d0b9..74febcb63d 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - #ifdef __VMS #include #endif diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index dc7d3d154d..e73920e51b 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/palette.h" diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index 4f28995d7b..1eba0896c9 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpbuttn.h" -#endif - #include "wx/defs.h" #if wxUSE_BMPBUTTON diff --git a/src/gtk/brush.cpp b/src/gtk/brush.cpp index f20993f3cb..847ce9e120 100644 --- a/src/gtk/brush.cpp +++ b/src/gtk/brush.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - #include "wx/brush.h" #include diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index b61143a0ef..bb05502fef 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "button.h" -#endif - #include "wx/defs.h" #if wxUSE_BUTTON diff --git a/src/gtk/checkbox.cpp b/src/gtk/checkbox.cpp index c49c46ccff..7dbb87c840 100644 --- a/src/gtk/checkbox.cpp +++ b/src/gtk/checkbox.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "checkbox.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKBOX diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index 5a4f2469f5..0dbd245235 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKLISTBOX diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 18aedd01ae..004dfcc784 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "choice.h" -#endif - #include "wx/defs.h" #if wxUSE_CHOICE diff --git a/src/gtk/clipbrd.cpp b/src/gtk/clipbrd.cpp index 251709b69e..9574119808 100644 --- a/src/gtk/clipbrd.cpp +++ b/src/gtk/clipbrd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "clipbrd.h" -#endif - #include "wx/clipbrd.h" #if wxUSE_CLIPBOARD diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index 21d852e55d..f38ff726cd 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/gtk/private.h" diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index d719f40bc9..f84751e63f 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - #include "wx/combobox.h" #if wxUSE_COMBOBOX diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index 3c005c4329..b68f5745b9 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "control.h" -#endif - #include "wx/defs.h" #if wxUSE_CONTROLS diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 59e18badc1..483ffc9b7f 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/cursor.h" #include "wx/utils.h" #include "wx/app.h" diff --git a/src/gtk/data.cpp b/src/gtk/data.cpp index 4979216dae..1ad7aec611 100644 --- a/src/gtk/data.cpp +++ b/src/gtk/data.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/window.h" diff --git a/src/gtk/dataobj.cpp b/src/gtk/dataobj.cpp index 8839213e9f..0a32b1fbd2 100644 --- a/src/gtk/dataobj.cpp +++ b/src/gtk/dataobj.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - #include "wx/dataobj.h" #include "wx/app.h" #include "wx/debug.h" diff --git a/src/gtk/dc.cpp b/src/gtk/dc.cpp index 46ea5626c4..f4b8e635e9 100644 --- a/src/gtk/dc.cpp +++ b/src/gtk/dc.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "dc.h" -#endif - #include "wx/dc.h" #include diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 81bbee80c3..439bc7230e 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcclient.h" -#endif - #ifdef __VMS #define XCopyPlane XCOPYPLANE #endif diff --git a/src/gtk/dcmemory.cpp b/src/gtk/dcmemory.cpp index a1e0c24452..039212d1c0 100644 --- a/src/gtk/dcmemory.cpp +++ b/src/gtk/dcmemory.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - #include "wx/dcmemory.h" #include diff --git a/src/gtk/dcscreen.cpp b/src/gtk/dcscreen.cpp index a79f479bbf..cf16e10dc5 100644 --- a/src/gtk/dcscreen.cpp +++ b/src/gtk/dcscreen.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - #include "wx/dcscreen.h" #include "wx/window.h" diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 4c95d23682..756c6959b4 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dialog.h" -#endif - #include "wx/dialog.h" #include "wx/frame.h" #include "wx/app.h" diff --git a/src/gtk/dnd.cpp b/src/gtk/dnd.cpp index 1fb07db859..4742e0b033 100644 --- a/src/gtk/dnd.cpp +++ b/src/gtk/dnd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dnd.h" -#endif - #include "wx/dnd.h" #include "wx/log.h" diff --git a/src/gtk/evtloop.cpp b/src/gtk/evtloop.cpp index 361fa3ab92..c831a3e605 100644 --- a/src/gtk/evtloop.cpp +++ b/src/gtk/evtloop.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "evtloop.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk/filedlg.cpp b/src/gtk/filedlg.cpp index a574ad5c31..43e4cc9f7d 100644 --- a/src/gtk/filedlg.cpp +++ b/src/gtk/filedlg.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "filedlg.h" -#endif - #include "wx/filedlg.h" #include "wx/utils.h" #include "wx/intl.h" diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 3db77c8629..0a5e274d66 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "font.h" -#endif - #include "wx/font.h" #include "wx/fontutil.h" #include "wx/cmndata.h" diff --git a/src/gtk/fontdlg.cpp b/src/gtk/fontdlg.cpp index 244094a850..5730d731ca 100644 --- a/src/gtk/fontdlg.cpp +++ b/src/gtk/fontdlg.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif - #include "wx/defs.h" #if wxUSE_FONTDLG diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 7e1ed2b2ba..f689135c8d 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "frame.h" -#endif - #include "wx/defs.h" #include "wx/dialog.h" diff --git a/src/gtk/gauge.cpp b/src/gtk/gauge.cpp index f180206c79..cc0410e701 100644 --- a/src/gtk/gauge.cpp +++ b/src/gtk/gauge.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gauge.h" -#endif - #include "wx/gauge.h" #if wxUSE_GAUGE diff --git a/src/gtk/gdiobj.cpp b/src/gtk/gdiobj.cpp index 64f5b61dfa..1e1ac0e7c6 100644 --- a/src/gtk/gdiobj.cpp +++ b/src/gtk/gdiobj.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index c55808b96f..16d05e5a39 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/setup.h" #if wxUSE_GLCANVAS diff --git a/src/gtk/icon.cpp b/src/gtk/icon.cpp index 05c1089158..02c76de99c 100644 --- a/src/gtk/icon.cpp +++ b/src/gtk/icon.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - #include "wx/icon.h" //----------------------------------------------------------------------------- diff --git a/src/gtk/joystick.cpp b/src/gtk/joystick.cpp index bbc4d826c0..c223288254 100644 --- a/src/gtk/joystick.cpp +++ b/src/gtk/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - #include "wx/defs.h" #if wxUSE_JOYSTICK diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index d2ee834d40..dd5155161e 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "listbox.h" -#endif - #include "wx/listbox.h" #if wxUSE_LISTBOX diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index 999be74c6e..133fe6e459 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mdi.h" -#endif - #include "wx/mdi.h" #if wxUSE_MDI_ARCHITECTURE diff --git a/src/gtk/menu.cpp b/src/gtk/menu.cpp index cc6e51dd12..76b2bbd941 100644 --- a/src/gtk/menu.cpp +++ b/src/gtk/menu.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "menu.h" -#pragma implementation "menuitem.h" -#endif - #include "wx/log.h" #include "wx/intl.h" #include "wx/app.h" diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index c23782237b..8df3e746db 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - #include "wx/minifram.h" #if wxUSE_MINIFRAME diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 586ab767f4..8668047196 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "notebook.h" -#endif - #include "wx/notebook.h" #if wxUSE_NOTEBOOK diff --git a/src/gtk/pen.cpp b/src/gtk/pen.cpp index 11f787bd32..94ee5a43bf 100644 --- a/src/gtk/pen.cpp +++ b/src/gtk/pen.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - #include "wx/pen.h" #include diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index 236a69d036..3a393f86a4 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "popupwin.h" -#endif - #include "wx/defs.h" #if wxUSE_POPUPWIN diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index 5bc55111c2..5f99ca4fa1 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "radiobox.h" -#endif - #include "wx/defs.h" #if wxUSE_RADIOBOX diff --git a/src/gtk/radiobut.cpp b/src/gtk/radiobut.cpp index d22bf804c2..e9a81718f7 100644 --- a/src/gtk/radiobut.cpp +++ b/src/gtk/radiobut.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "radiobut.h" -#endif - #include "wx/defs.h" #if wxUSE_RADIOBOX diff --git a/src/gtk/region.cpp b/src/gtk/region.cpp index f9ac057cbe..b124f43449 100644 --- a/src/gtk/region.cpp +++ b/src/gtk/region.cpp @@ -12,10 +12,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "region.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/gtk/scrolbar.cpp b/src/gtk/scrolbar.cpp index 8f13066bf3..28bde0551b 100644 --- a/src/gtk/scrolbar.cpp +++ b/src/gtk/scrolbar.cpp @@ -8,10 +8,6 @@ ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "scrolbar.h" -#endif - #include "wx/defs.h" #if wxUSE_SCROLLBAR diff --git a/src/gtk/scrolwin.cpp b/src/gtk/scrolwin.cpp index c884a12529..d1a3592018 100644 --- a/src/gtk/scrolwin.cpp +++ b/src/gtk/scrolwin.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "scrolwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index 995a1e6ba8..f7eb33fb68 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - #include "wx/settings.h" #include "wx/debug.h" #include "wx/module.h" diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index 799f21d2b1..37e9491980 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slider.h" -#endif - #include "wx/slider.h" #if wxUSE_SLIDER diff --git a/src/gtk/spinbutt.cpp b/src/gtk/spinbutt.cpp index 2688602473..1c9bf76d8c 100644 --- a/src/gtk/spinbutt.cpp +++ b/src/gtk/spinbutt.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "spinbutt.h" - #pragma implementation "spinbutbase.h" -#endif - #include "wx/spinbutt.h" #if wxUSE_SPINBTN diff --git a/src/gtk/spinctrl.cpp b/src/gtk/spinctrl.cpp index 44261082c2..739ea647de 100644 --- a/src/gtk/spinctrl.cpp +++ b/src/gtk/spinctrl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "spinctrl.h" -#endif - #include "wx/spinctrl.h" #if wxUSE_SPINCTRL diff --git a/src/gtk/statbmp.cpp b/src/gtk/statbmp.cpp index 91b5df6215..0a8cc8826e 100644 --- a/src/gtk/statbmp.cpp +++ b/src/gtk/statbmp.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbmp.h" -#endif - #include "wx/defs.h" #if wxUSE_STATBMP diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 5777e99153..cea94cda1a 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbox.h" -#endif - #include "wx/defs.h" #if wxUSE_STATBOX diff --git a/src/gtk/statline.cpp b/src/gtk/statline.cpp index 4e8f0787cb..0def049b0d 100644 --- a/src/gtk/statline.cpp +++ b/src/gtk/statline.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statline.h" -#endif - #include "wx/statline.h" #if wxUSE_STATLINE diff --git a/src/gtk/stattext.cpp b/src/gtk/stattext.cpp index 255ecb25f8..5ede7c8315 100644 --- a/src/gtk/stattext.cpp +++ b/src/gtk/stattext.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "stattext.h" -#endif - #include "wx/defs.h" #if wxUSE_STATTEXT diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index 3120e0d033..73959fa6ef 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tbargtk.h" -#endif - #include "wx/toolbar.h" #if wxUSE_TOOLBAR_NATIVE diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 5bbf039fca..ebb049da8a 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "textctrl.h" -#endif - #include "wx/textctrl.h" #include "wx/utils.h" #include "wx/intl.h" diff --git a/src/gtk/threadno.cpp b/src/gtk/threadno.cpp index 4ac3f05954..81969e87d2 100644 --- a/src/gtk/threadno.cpp +++ b/src/gtk/threadno.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - #include "wx/wx.h" #include "wx/module.h" #include "wx/thread.h" diff --git a/src/gtk/threadsgi.cpp b/src/gtk/threadsgi.cpp index 217f67d7d9..1582c85019 100644 --- a/src/gtk/threadsgi.cpp +++ b/src/gtk/threadsgi.cpp @@ -8,9 +8,6 @@ // Copyright: (c) Wolfram Gloger (1996, 1997); Guilhem Lavaux (1998) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "thread.h" -#endif #include #include diff --git a/src/gtk/timer.cpp b/src/gtk/timer.cpp index 721b0f6c0b..71b3d71617 100644 --- a/src/gtk/timer.cpp +++ b/src/gtk/timer.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "timer.h" -#endif - #include "wx/defs.h" #if wxUSE_TIMER diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index 1c1a0db596..145d70fea3 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "tooltip.h" -#endif - #include "wx/setup.h" #if wxUSE_TOOLTIPS diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index c03886926c..6e102b6c0d 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - #ifdef __VMS #define XIconifyWindow XICONIFYWINDOW #endif diff --git a/src/gtk/treegtk.cpp b/src/gtk/treegtk.cpp index 98f7fa7893..f5cfa9a852 100644 --- a/src/gtk/treegtk.cpp +++ b/src/gtk/treegtk.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "treectrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk/utilsres.cpp b/src/gtk/utilsres.cpp index cf2e22fa69..aa94ba7582 100644 --- a/src/gtk/utilsres.cpp +++ b/src/gtk/utilsres.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -//#ifdef __GNUG__ -//#pragma implementation "utils.h" -//#endif - #include "wx/utils.h" #include "wx/string.h" #include "wx/list.h" diff --git a/src/gtk/wave.cpp b/src/gtk/wave.cpp index 382c1db09b..c0ff26f3d1 100644 --- a/src/gtk/wave.cpp +++ b/src/gtk/wave.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wave.h" -#endif - #include "wx/setup.h" #if wxUSE_WAVE diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 3f5884de67..9831a40fca 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "window.h" -#endif - #ifdef __VMS #define XWarpPointer XWARPPOINTER #endif diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index b784e9d0b9..74febcb63d 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - #ifdef __VMS #include #endif diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index dc7d3d154d..e73920e51b 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/palette.h" diff --git a/src/gtk1/bmpbuttn.cpp b/src/gtk1/bmpbuttn.cpp index 4f28995d7b..1eba0896c9 100644 --- a/src/gtk1/bmpbuttn.cpp +++ b/src/gtk1/bmpbuttn.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpbuttn.h" -#endif - #include "wx/defs.h" #if wxUSE_BMPBUTTON diff --git a/src/gtk1/brush.cpp b/src/gtk1/brush.cpp index f20993f3cb..847ce9e120 100644 --- a/src/gtk1/brush.cpp +++ b/src/gtk1/brush.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - #include "wx/brush.h" #include diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index b61143a0ef..bb05502fef 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "button.h" -#endif - #include "wx/defs.h" #if wxUSE_BUTTON diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index c49c46ccff..7dbb87c840 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "checkbox.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKBOX diff --git a/src/gtk1/checklst.cpp b/src/gtk1/checklst.cpp index 5a4f2469f5..0dbd245235 100644 --- a/src/gtk1/checklst.cpp +++ b/src/gtk1/checklst.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKLISTBOX diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index 18aedd01ae..004dfcc784 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/choice.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "choice.h" -#endif - #include "wx/defs.h" #if wxUSE_CHOICE diff --git a/src/gtk1/clipbrd.cpp b/src/gtk1/clipbrd.cpp index 251709b69e..9574119808 100644 --- a/src/gtk1/clipbrd.cpp +++ b/src/gtk1/clipbrd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "clipbrd.h" -#endif - #include "wx/clipbrd.h" #if wxUSE_CLIPBOARD diff --git a/src/gtk1/colour.cpp b/src/gtk1/colour.cpp index 21d852e55d..f38ff726cd 100644 --- a/src/gtk1/colour.cpp +++ b/src/gtk1/colour.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/gtk/private.h" diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index d719f40bc9..f84751e63f 100644 --- a/src/gtk1/combobox.cpp +++ b/src/gtk1/combobox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - #include "wx/combobox.h" #if wxUSE_COMBOBOX diff --git a/src/gtk1/control.cpp b/src/gtk1/control.cpp index 3c005c4329..b68f5745b9 100644 --- a/src/gtk1/control.cpp +++ b/src/gtk1/control.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "control.h" -#endif - #include "wx/defs.h" #if wxUSE_CONTROLS diff --git a/src/gtk1/cursor.cpp b/src/gtk1/cursor.cpp index 59e18badc1..483ffc9b7f 100644 --- a/src/gtk1/cursor.cpp +++ b/src/gtk1/cursor.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/cursor.h" #include "wx/utils.h" #include "wx/app.h" diff --git a/src/gtk1/data.cpp b/src/gtk1/data.cpp index 4979216dae..1ad7aec611 100644 --- a/src/gtk1/data.cpp +++ b/src/gtk1/data.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/window.h" diff --git a/src/gtk1/dataobj.cpp b/src/gtk1/dataobj.cpp index 8839213e9f..0a32b1fbd2 100644 --- a/src/gtk1/dataobj.cpp +++ b/src/gtk1/dataobj.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - #include "wx/dataobj.h" #include "wx/app.h" #include "wx/debug.h" diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index 46ea5626c4..f4b8e635e9 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "dc.h" -#endif - #include "wx/dc.h" #include diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 81bbee80c3..439bc7230e 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcclient.h" -#endif - #ifdef __VMS #define XCopyPlane XCOPYPLANE #endif diff --git a/src/gtk1/dcmemory.cpp b/src/gtk1/dcmemory.cpp index a1e0c24452..039212d1c0 100644 --- a/src/gtk1/dcmemory.cpp +++ b/src/gtk1/dcmemory.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - #include "wx/dcmemory.h" #include diff --git a/src/gtk1/dcscreen.cpp b/src/gtk1/dcscreen.cpp index a79f479bbf..cf16e10dc5 100644 --- a/src/gtk1/dcscreen.cpp +++ b/src/gtk1/dcscreen.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - #include "wx/dcscreen.h" #include "wx/window.h" diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index 4c95d23682..756c6959b4 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dialog.h" -#endif - #include "wx/dialog.h" #include "wx/frame.h" #include "wx/app.h" diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index 1fb07db859..4742e0b033 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/dnd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dnd.h" -#endif - #include "wx/dnd.h" #include "wx/log.h" diff --git a/src/gtk1/evtloop.cpp b/src/gtk1/evtloop.cpp index 361fa3ab92..c831a3e605 100644 --- a/src/gtk1/evtloop.cpp +++ b/src/gtk1/evtloop.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "evtloop.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk1/filedlg.cpp b/src/gtk1/filedlg.cpp index a574ad5c31..43e4cc9f7d 100644 --- a/src/gtk1/filedlg.cpp +++ b/src/gtk1/filedlg.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "filedlg.h" -#endif - #include "wx/filedlg.h" #include "wx/utils.h" #include "wx/intl.h" diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 3db77c8629..0a5e274d66 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "font.h" -#endif - #include "wx/font.h" #include "wx/fontutil.h" #include "wx/cmndata.h" diff --git a/src/gtk1/fontdlg.cpp b/src/gtk1/fontdlg.cpp index 244094a850..5730d731ca 100644 --- a/src/gtk1/fontdlg.cpp +++ b/src/gtk1/fontdlg.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif - #include "wx/defs.h" #if wxUSE_FONTDLG diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index 7e1ed2b2ba..f689135c8d 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "frame.h" -#endif - #include "wx/defs.h" #include "wx/dialog.h" diff --git a/src/gtk1/gauge.cpp b/src/gtk1/gauge.cpp index f180206c79..cc0410e701 100644 --- a/src/gtk1/gauge.cpp +++ b/src/gtk1/gauge.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gauge.h" -#endif - #include "wx/gauge.h" #if wxUSE_GAUGE diff --git a/src/gtk1/gdiobj.cpp b/src/gtk1/gdiobj.cpp index 64f5b61dfa..1e1ac0e7c6 100644 --- a/src/gtk1/gdiobj.cpp +++ b/src/gtk1/gdiobj.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/gtk1/glcanvas.cpp b/src/gtk1/glcanvas.cpp index c55808b96f..16d05e5a39 100644 --- a/src/gtk1/glcanvas.cpp +++ b/src/gtk1/glcanvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/setup.h" #if wxUSE_GLCANVAS diff --git a/src/gtk1/icon.cpp b/src/gtk1/icon.cpp index 05c1089158..02c76de99c 100644 --- a/src/gtk1/icon.cpp +++ b/src/gtk1/icon.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - #include "wx/icon.h" //----------------------------------------------------------------------------- diff --git a/src/gtk1/joystick.cpp b/src/gtk1/joystick.cpp index bbc4d826c0..c223288254 100644 --- a/src/gtk1/joystick.cpp +++ b/src/gtk1/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - #include "wx/defs.h" #if wxUSE_JOYSTICK diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index d2ee834d40..dd5155161e 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "listbox.h" -#endif - #include "wx/listbox.h" #if wxUSE_LISTBOX diff --git a/src/gtk1/mdi.cpp b/src/gtk1/mdi.cpp index 999be74c6e..133fe6e459 100644 --- a/src/gtk1/mdi.cpp +++ b/src/gtk1/mdi.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mdi.h" -#endif - #include "wx/mdi.h" #if wxUSE_MDI_ARCHITECTURE diff --git a/src/gtk1/menu.cpp b/src/gtk1/menu.cpp index cc6e51dd12..76b2bbd941 100644 --- a/src/gtk1/menu.cpp +++ b/src/gtk1/menu.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "menu.h" -#pragma implementation "menuitem.h" -#endif - #include "wx/log.h" #include "wx/intl.h" #include "wx/app.h" diff --git a/src/gtk1/minifram.cpp b/src/gtk1/minifram.cpp index c23782237b..8df3e746db 100644 --- a/src/gtk1/minifram.cpp +++ b/src/gtk1/minifram.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - #include "wx/minifram.h" #if wxUSE_MINIFRAME diff --git a/src/gtk1/notebook.cpp b/src/gtk1/notebook.cpp index 586ab767f4..8668047196 100644 --- a/src/gtk1/notebook.cpp +++ b/src/gtk1/notebook.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "notebook.h" -#endif - #include "wx/notebook.h" #if wxUSE_NOTEBOOK diff --git a/src/gtk1/pen.cpp b/src/gtk1/pen.cpp index 11f787bd32..94ee5a43bf 100644 --- a/src/gtk1/pen.cpp +++ b/src/gtk1/pen.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - #include "wx/pen.h" #include diff --git a/src/gtk1/popupwin.cpp b/src/gtk1/popupwin.cpp index 236a69d036..3a393f86a4 100644 --- a/src/gtk1/popupwin.cpp +++ b/src/gtk1/popupwin.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "popupwin.h" -#endif - #include "wx/defs.h" #if wxUSE_POPUPWIN diff --git a/src/gtk1/radiobox.cpp b/src/gtk1/radiobox.cpp index 5bc55111c2..5f99ca4fa1 100644 --- a/src/gtk1/radiobox.cpp +++ b/src/gtk1/radiobox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "radiobox.h" -#endif - #include "wx/defs.h" #if wxUSE_RADIOBOX diff --git a/src/gtk1/radiobut.cpp b/src/gtk1/radiobut.cpp index d22bf804c2..e9a81718f7 100644 --- a/src/gtk1/radiobut.cpp +++ b/src/gtk1/radiobut.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "radiobut.h" -#endif - #include "wx/defs.h" #if wxUSE_RADIOBOX diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index f9ac057cbe..b124f43449 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -12,10 +12,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "region.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/gtk1/scrolbar.cpp b/src/gtk1/scrolbar.cpp index 8f13066bf3..28bde0551b 100644 --- a/src/gtk1/scrolbar.cpp +++ b/src/gtk1/scrolbar.cpp @@ -8,10 +8,6 @@ ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "scrolbar.h" -#endif - #include "wx/defs.h" #if wxUSE_SCROLLBAR diff --git a/src/gtk1/scrolwin.cpp b/src/gtk1/scrolwin.cpp index c884a12529..d1a3592018 100644 --- a/src/gtk1/scrolwin.cpp +++ b/src/gtk1/scrolwin.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "scrolwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 995a1e6ba8..f7eb33fb68 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - #include "wx/settings.h" #include "wx/debug.h" #include "wx/module.h" diff --git a/src/gtk1/slider.cpp b/src/gtk1/slider.cpp index 799f21d2b1..37e9491980 100644 --- a/src/gtk1/slider.cpp +++ b/src/gtk1/slider.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slider.h" -#endif - #include "wx/slider.h" #if wxUSE_SLIDER diff --git a/src/gtk1/spinbutt.cpp b/src/gtk1/spinbutt.cpp index 2688602473..1c9bf76d8c 100644 --- a/src/gtk1/spinbutt.cpp +++ b/src/gtk1/spinbutt.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "spinbutt.h" - #pragma implementation "spinbutbase.h" -#endif - #include "wx/spinbutt.h" #if wxUSE_SPINBTN diff --git a/src/gtk1/spinctrl.cpp b/src/gtk1/spinctrl.cpp index 44261082c2..739ea647de 100644 --- a/src/gtk1/spinctrl.cpp +++ b/src/gtk1/spinctrl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "spinctrl.h" -#endif - #include "wx/spinctrl.h" #if wxUSE_SPINCTRL diff --git a/src/gtk1/statbmp.cpp b/src/gtk1/statbmp.cpp index 91b5df6215..0a8cc8826e 100644 --- a/src/gtk1/statbmp.cpp +++ b/src/gtk1/statbmp.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbmp.h" -#endif - #include "wx/defs.h" #if wxUSE_STATBMP diff --git a/src/gtk1/statbox.cpp b/src/gtk1/statbox.cpp index 5777e99153..cea94cda1a 100644 --- a/src/gtk1/statbox.cpp +++ b/src/gtk1/statbox.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbox.h" -#endif - #include "wx/defs.h" #if wxUSE_STATBOX diff --git a/src/gtk1/statline.cpp b/src/gtk1/statline.cpp index 4e8f0787cb..0def049b0d 100644 --- a/src/gtk1/statline.cpp +++ b/src/gtk1/statline.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statline.h" -#endif - #include "wx/statline.h" #if wxUSE_STATLINE diff --git a/src/gtk1/stattext.cpp b/src/gtk1/stattext.cpp index 255ecb25f8..5ede7c8315 100644 --- a/src/gtk1/stattext.cpp +++ b/src/gtk1/stattext.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "stattext.h" -#endif - #include "wx/defs.h" #if wxUSE_STATTEXT diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index 3120e0d033..73959fa6ef 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tbargtk.h" -#endif - #include "wx/toolbar.h" #if wxUSE_TOOLBAR_NATIVE diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index 5bbf039fca..ebb049da8a 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "textctrl.h" -#endif - #include "wx/textctrl.h" #include "wx/utils.h" #include "wx/intl.h" diff --git a/src/gtk1/threadno.cpp b/src/gtk1/threadno.cpp index 4ac3f05954..81969e87d2 100644 --- a/src/gtk1/threadno.cpp +++ b/src/gtk1/threadno.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - #include "wx/wx.h" #include "wx/module.h" #include "wx/thread.h" diff --git a/src/gtk1/threadsgi.cpp b/src/gtk1/threadsgi.cpp index 217f67d7d9..1582c85019 100644 --- a/src/gtk1/threadsgi.cpp +++ b/src/gtk1/threadsgi.cpp @@ -8,9 +8,6 @@ // Copyright: (c) Wolfram Gloger (1996, 1997); Guilhem Lavaux (1998) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "thread.h" -#endif #include #include diff --git a/src/gtk1/timer.cpp b/src/gtk1/timer.cpp index 721b0f6c0b..71b3d71617 100644 --- a/src/gtk1/timer.cpp +++ b/src/gtk1/timer.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "timer.h" -#endif - #include "wx/defs.h" #if wxUSE_TIMER diff --git a/src/gtk1/tooltip.cpp b/src/gtk1/tooltip.cpp index 1c1a0db596..145d70fea3 100644 --- a/src/gtk1/tooltip.cpp +++ b/src/gtk1/tooltip.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "tooltip.h" -#endif - #include "wx/setup.h" #if wxUSE_TOOLTIPS diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index c03886926c..6e102b6c0d 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - #ifdef __VMS #define XIconifyWindow XICONIFYWINDOW #endif diff --git a/src/gtk1/treegtk.cpp b/src/gtk1/treegtk.cpp index 98f7fa7893..f5cfa9a852 100644 --- a/src/gtk1/treegtk.cpp +++ b/src/gtk1/treegtk.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "treectrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/gtk1/utilsres.cpp b/src/gtk1/utilsres.cpp index cf2e22fa69..aa94ba7582 100644 --- a/src/gtk1/utilsres.cpp +++ b/src/gtk1/utilsres.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -//#ifdef __GNUG__ -//#pragma implementation "utils.h" -//#endif - #include "wx/utils.h" #include "wx/string.h" #include "wx/list.h" diff --git a/src/gtk1/wave.cpp b/src/gtk1/wave.cpp index 382c1db09b..c0ff26f3d1 100644 --- a/src/gtk1/wave.cpp +++ b/src/gtk1/wave.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wave.h" -#endif - #include "wx/setup.h" #if wxUSE_WAVE diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 3f5884de67..9831a40fca 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "window.h" -#endif - #ifdef __VMS #define XWarpPointer XWARPPOINTER #endif diff --git a/src/html/helpctrl.cpp b/src/html/helpctrl.cpp index 1748fef73d..9106c2680c 100644 --- a/src/html/helpctrl.cpp +++ b/src/html/helpctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpctrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 82c9ec07d0..7bae54277e 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpdata.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 3697d675e6..e4c1250a4e 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpfrm.h" -#endif - // For compilers that support precompilation, includes "wx.h" #include "wx/wxprec.h" diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index ab59343ca7..a2401e4715 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "htmlcell.h" -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/htmlfilt.cpp b/src/html/htmlfilt.cpp index 7e1dc3c178..20e1e3f61a 100644 --- a/src/html/htmlfilt.cpp +++ b/src/html/htmlfilt.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "htmlfilt.h" -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index 7b9837a025..b33ef40094 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "htmlpars.h" -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/htmltag.cpp b/src/html/htmltag.cpp index 0b0b894f5b..5707aef847 100644 --- a/src/html/htmltag.cpp +++ b/src/html/htmltag.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "htmltag.h" -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index b1c0d9e02f..37bb9413fb 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -7,12 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "htmlwin.h" -#pragma implementation "htmlproc.h" -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index ef08a8f8c5..87a311ee08 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "htmprint.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/src/html/m_dflist.cpp b/src/html/m_dflist.cpp index e113412e7a..eefa883ae6 100644 --- a/src/html/m_dflist.cpp +++ b/src/html/m_dflist.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 8582927cf7..a64bdaa92e 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index d0a1b033bc..d1da613865 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index aaf6a8fa4a..d515ec9cea 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 93c25ac999..937ff625e7 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -6,13 +6,9 @@ // Copyright: (c) 1999 Vaclav Slavik // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif #include "wx/wxprec.h" - #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS #ifdef __BORLANDC__ diff --git a/src/html/m_links.cpp b/src/html/m_links.cpp index dd0c0eae07..c20a78f4fe 100644 --- a/src/html/m_links.cpp +++ b/src/html/m_links.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp index 0549463eab..70ce11ca9e 100644 --- a/src/html/m_list.cpp +++ b/src/html/m_list.cpp @@ -6,13 +6,9 @@ // Copyright: (c) 1999 Vaclav Slavik // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif #include "wx/wxprec.h" - #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS diff --git a/src/html/m_pre.cpp b/src/html/m_pre.cpp index 313d8a88bc..c50610b607 100644 --- a/src/html/m_pre.cpp +++ b/src/html/m_pre.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/m_style.cpp b/src/html/m_style.cpp index 9913b83703..a217a80c94 100644 --- a/src/html/m_style.cpp +++ b/src/html/m_style.cpp @@ -7,13 +7,8 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" - #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index 51f0cdaa17..9616e39f65 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 4a5de2de4d..e6e12fe609 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "winpars.h" -#endif - #include "wx/wxprec.h" #include "wx/defs.h" diff --git a/src/mac/accel.cpp b/src/mac/accel.cpp index ca83c8db9a..75b653979a 100644 --- a/src/mac/accel.cpp +++ b/src/mac/accel.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "accel.h" -#endif - #include "wx/setup.h" #include "wx/accel.h" #include "wx/string.h" diff --git a/src/mac/app.cpp b/src/mac/app.cpp index c4c8be74f4..f081c91cda 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "app.h" -#endif - #include "wx/defs.h" #include "wx/window.h" diff --git a/src/mac/bitmap.cpp b/src/mac/bitmap.cpp index 78a8bd0b68..7aac8404dd 100644 --- a/src/mac/bitmap.cpp +++ b/src/mac/bitmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/bitmap.h" diff --git a/src/mac/bmpbuttn.cpp b/src/mac/bmpbuttn.cpp index 7f89c97abd..971bb71ff8 100644 --- a/src/mac/bmpbuttn.cpp +++ b/src/mac/bmpbuttn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpbuttn.h" -#endif - #include "wx/window.h" #include "wx/bmpbuttn.h" diff --git a/src/mac/brush.cpp b/src/mac/brush.cpp index ba06a370e2..8096cbbb82 100644 --- a/src/mac/brush.cpp +++ b/src/mac/brush.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/brush.h" diff --git a/src/mac/button.cpp b/src/mac/button.cpp index f8dc40f7df..f5ac0bc777 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "button.h" -#endif - #include "wx/defs.h" #include "wx/button.h" diff --git a/src/mac/carbon/accel.cpp b/src/mac/carbon/accel.cpp index ca83c8db9a..75b653979a 100644 --- a/src/mac/carbon/accel.cpp +++ b/src/mac/carbon/accel.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "accel.h" -#endif - #include "wx/setup.h" #include "wx/accel.h" #include "wx/string.h" diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index c4c8be74f4..f081c91cda 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "app.h" -#endif - #include "wx/defs.h" #include "wx/window.h" diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 78a8bd0b68..7aac8404dd 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/bitmap.h" diff --git a/src/mac/carbon/bmpbuttn.cpp b/src/mac/carbon/bmpbuttn.cpp index 7f89c97abd..971bb71ff8 100644 --- a/src/mac/carbon/bmpbuttn.cpp +++ b/src/mac/carbon/bmpbuttn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpbuttn.h" -#endif - #include "wx/window.h" #include "wx/bmpbuttn.h" diff --git a/src/mac/carbon/brush.cpp b/src/mac/carbon/brush.cpp index ba06a370e2..8096cbbb82 100644 --- a/src/mac/carbon/brush.cpp +++ b/src/mac/carbon/brush.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/brush.h" diff --git a/src/mac/carbon/button.cpp b/src/mac/carbon/button.cpp index f8dc40f7df..f5ac0bc777 100644 --- a/src/mac/carbon/button.cpp +++ b/src/mac/carbon/button.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "button.h" -#endif - #include "wx/defs.h" #include "wx/button.h" diff --git a/src/mac/carbon/checkbox.cpp b/src/mac/carbon/checkbox.cpp index b595c99c7a..f6d7e9266e 100644 --- a/src/mac/carbon/checkbox.cpp +++ b/src/mac/carbon/checkbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "checkbox.h" -#endif - #include "wx/defs.h" #include "wx/checkbox.h" diff --git a/src/mac/carbon/checklst.cpp b/src/mac/carbon/checklst.cpp index 3bb48dec08..412b5285c7 100644 --- a/src/mac/carbon/checklst.cpp +++ b/src/mac/carbon/checklst.cpp @@ -13,10 +13,6 @@ // headers & declarations // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKLISTBOX diff --git a/src/mac/carbon/choice.cpp b/src/mac/carbon/choice.cpp index 66e8bc107e..0730dd1aab 100644 --- a/src/mac/carbon/choice.cpp +++ b/src/mac/carbon/choice.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "choice.h" -#endif - #include "wx/defs.h" #include "wx/choice.h" diff --git a/src/mac/carbon/clipbrd.cpp b/src/mac/carbon/clipbrd.cpp index f5d014c371..feba3077e5 100644 --- a/src/mac/carbon/clipbrd.cpp +++ b/src/mac/carbon/clipbrd.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma implementation "clipbrd.h" -#endif - #include "wx/app.h" #include "wx/frame.h" #include "wx/bitmap.h" diff --git a/src/mac/carbon/colordlg.cpp b/src/mac/carbon/colordlg.cpp index b8df2bcc5a..16c7e7b002 100644 --- a/src/mac/carbon/colordlg.cpp +++ b/src/mac/carbon/colordlg.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colordlg.h" -#endif - #include "wx/mac/colordlg.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/carbon/colour.cpp b/src/mac/carbon/colour.cpp index 5755910b26..5265a7890b 100644 --- a/src/mac/carbon/colour.cpp +++ b/src/mac/carbon/colour.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/colour.h" diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index 2341937b42..463c8ac710 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - #include "wx/combobox.h" #include "wx/button.h" #include "wx/menu.h" diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index 368db51b8a..bc535f6976 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "control.h" -#endif - #include "wx/defs.h" #include "wx/control.h" diff --git a/src/mac/carbon/cursor.cpp b/src/mac/carbon/cursor.cpp index c796592d9c..cb67c9d688 100644 --- a/src/mac/carbon/cursor.cpp +++ b/src/mac/carbon/cursor.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/defs.h" #include "wx/app.h" diff --git a/src/mac/carbon/data.cpp b/src/mac/carbon/data.cpp index a4bf881e66..39cacaed97 100644 --- a/src/mac/carbon/data.cpp +++ b/src/mac/carbon/data.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wx.h" #if wxUSE_POSTSCRIPT diff --git a/src/mac/carbon/dataobj.cpp b/src/mac/carbon/dataobj.cpp index 049622ffb3..3e7ac9e96f 100644 --- a/src/mac/carbon/dataobj.cpp +++ b/src/mac/carbon/dataobj.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/dc.cpp b/src/mac/carbon/dc.cpp index fa5e6ee117..a105030d4f 100644 --- a/src/mac/carbon/dc.cpp +++ b/src/mac/carbon/dc.cpp @@ -8,9 +8,7 @@ // Copyright: (c) AUTHOR // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dc.h" -#endif + #include "wx/dc.h" #include "wx/app.h" #include "wx/mac/uma.h" diff --git a/src/mac/carbon/dcclient.cpp b/src/mac/carbon/dcclient.cpp index 2dc8c93ce8..994af3aca2 100644 --- a/src/mac/carbon/dcclient.cpp +++ b/src/mac/carbon/dcclient.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcclient.h" -#endif - #include "wx/dcclient.h" #include "wx/dcmemory.h" #include "wx/region.h" diff --git a/src/mac/carbon/dcmemory.cpp b/src/mac/carbon/dcmemory.cpp index 5e3f603ce8..7ed4030a13 100644 --- a/src/mac/carbon/dcmemory.cpp +++ b/src/mac/carbon/dcmemory.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - #include "wx/dcmemory.h" #include "wx/mac/private.h" diff --git a/src/mac/carbon/dcprint.cpp b/src/mac/carbon/dcprint.cpp index 1e83aa738a..1df4ea6db4 100644 --- a/src/mac/carbon/dcprint.cpp +++ b/src/mac/carbon/dcprint.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcprint.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/dcscreen.cpp b/src/mac/carbon/dcscreen.cpp index faef265b43..f01ae48ab2 100644 --- a/src/mac/carbon/dcscreen.cpp +++ b/src/mac/carbon/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - #include "wx/dcscreen.h" #include "wx/mac/uma.h" diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index ab0af44f13..5f25576f42 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dialog.h" -#endif - #include "wx/dialog.h" #include "wx/utils.h" #include "wx/frame.h" diff --git a/src/mac/carbon/dirdlg.cpp b/src/mac/carbon/dirdlg.cpp index d38dc40a49..f01195ad8f 100644 --- a/src/mac/carbon/dirdlg.cpp +++ b/src/mac/carbon/dirdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dirdlg.h" -#endif - #include "wx/defs.h" #include "wx/utils.h" #include "wx/dialog.h" diff --git a/src/mac/carbon/dirmac.cpp b/src/mac/carbon/dirmac.cpp index 0ccaf0b8e9..e7f20150f1 100644 --- a/src/mac/carbon/dirmac.cpp +++ b/src/mac/carbon/dirmac.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/display.cpp b/src/mac/carbon/display.cpp index e25b2486e3..4b4314167a 100644 --- a/src/mac/carbon/display.cpp +++ b/src/mac/carbon/display.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "display.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/dnd.cpp b/src/mac/carbon/dnd.cpp index 598284893d..67aabba872 100644 --- a/src/mac/carbon/dnd.cpp +++ b/src/mac/carbon/dnd.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dnd.h" -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP diff --git a/src/mac/carbon/filedlg.cpp b/src/mac/carbon/filedlg.cpp index f290292a75..b315ed7ca1 100644 --- a/src/mac/carbon/filedlg.cpp +++ b/src/mac/carbon/filedlg.cpp @@ -8,9 +8,7 @@ // Copyright: (c) AUTHOR // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "filedlg.h" -#endif + #include "wx/defs.h" #include "wx/app.h" #include "wx/utils.h" diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index d1b4798cc4..0e1cbae211 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "font.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/font.h" diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index e7875df4f5..3d85cf0c2d 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif - #include "wx/mac/fontdlg.h" #include "wx/cmndata.h" diff --git a/src/mac/carbon/fontenum.cpp b/src/mac/carbon/fontenum.cpp index 43aeb9a7a8..55d4ed74a1 100644 --- a/src/mac/carbon/fontenum.cpp +++ b/src/mac/carbon/fontenum.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontenum.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/fontutil.cpp b/src/mac/carbon/fontutil.cpp index 4f61d13ff4..1b9ebc6bdf 100644 --- a/src/mac/carbon/fontutil.cpp +++ b/src/mac/carbon/fontutil.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontutil.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 7f1860a837..d8e6b2c86d 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "frame.h" -#endif - #include "wx/frame.h" #include "wx/statusbr.h" #include "wx/toolbar.h" diff --git a/src/mac/carbon/gauge.cpp b/src/mac/carbon/gauge.cpp index b367d44393..ca01711e38 100644 --- a/src/mac/carbon/gauge.cpp +++ b/src/mac/carbon/gauge.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gauge.h" -#endif - #include "wx/gauge.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/carbon/gdiobj.cpp b/src/mac/carbon/gdiobj.cpp index 63697c8354..5f747f9246 100644 --- a/src/mac/carbon/gdiobj.cpp +++ b/src/mac/carbon/gdiobj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - #include "wx/gdiobj.h" #if !USE_SHARED_LIBRARIES diff --git a/src/mac/carbon/glcanvas.cpp b/src/mac/carbon/glcanvas.cpp index 16e47d4c79..ffb37b79eb 100644 --- a/src/mac/carbon/glcanvas.cpp +++ b/src/mac/carbon/glcanvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/wxprec.h" #if defined(__BORLANDC__) diff --git a/src/mac/carbon/helpxxxx.cpp b/src/mac/carbon/helpxxxx.cpp index 086762c646..71500119f3 100644 --- a/src/mac/carbon/helpxxxx.cpp +++ b/src/mac/carbon/helpxxxx.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpxxxx.h" -#endif - #include "wx/stubs/helpxxxx.h" #include diff --git a/src/mac/carbon/icon.cpp b/src/mac/carbon/icon.cpp index 5ec5f3ec80..97238ccdb5 100644 --- a/src/mac/carbon/icon.cpp +++ b/src/mac/carbon/icon.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - #include "wx/icon.h" #if !USE_SHARED_LIBRARIES diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index bfe4ee3533..c0e649d406 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - #include "wx/setup.h" #include "wx/joystick.h" diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index f777194619..77f5cba931 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "listbox.h" -#endif - #include "wx/app.h" #include "wx/listbox.h" #include "wx/button.h" diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index 1ce76a692c..2c97dfa89b 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mdi.h" -#endif - #include "wx/mdi.h" #include "wx/menu.h" #include "wx/settings.h" diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index bea62cec1b..e00cb86049 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -17,11 +17,6 @@ // wxWindows headers // ----------------- -#ifdef __GNUG__ -#pragma implementation "menu.h" -#pragma implementation "menuitem.h" -#endif - #include "wx/app.h" #include "wx/menu.h" #include "wx/menuitem.h" diff --git a/src/mac/carbon/metafile.cpp b/src/mac/carbon/metafile.cpp index 2380c96edc..4c408bfd84 100644 --- a/src/mac/carbon/metafile.cpp +++ b/src/mac/carbon/metafile.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "metafile.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/mimetmac.cpp b/src/mac/carbon/mimetmac.cpp index 0306d07f2c..c7724b0bdf 100644 --- a/src/mac/carbon/mimetmac.cpp +++ b/src/mac/carbon/mimetmac.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mimetype.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/minifram.cpp b/src/mac/carbon/minifram.cpp index 4f6f5e5fcb..c146772e48 100644 --- a/src/mac/carbon/minifram.cpp +++ b/src/mac/carbon/minifram.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - #include "wx/minifram.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/carbon/msgdlg.cpp b/src/mac/carbon/msgdlg.cpp index 7b7109b668..bce2ece295 100644 --- a/src/mac/carbon/msgdlg.cpp +++ b/src/mac/carbon/msgdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "msgdlg.h" -#endif - #include "wx/app.h" #include "wx/msgdlg.h" #include "wx/intl.h" diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index 56fb7471e6..05dbe6f81c 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -16,9 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "notebook.h" -#endif #include "wx/app.h" #include "wx/string.h" diff --git a/src/mac/carbon/palette.cpp b/src/mac/carbon/palette.cpp index c847131f40..ccf13730fe 100644 --- a/src/mac/carbon/palette.cpp +++ b/src/mac/carbon/palette.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "palette.h" -#endif - #include "wx/defs.h" #if wxUSE_PALETTE diff --git a/src/mac/carbon/pen.cpp b/src/mac/carbon/pen.cpp index bb60cfae65..8b0826d22f 100644 --- a/src/mac/carbon/pen.cpp +++ b/src/mac/carbon/pen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/pen.h" diff --git a/src/mac/carbon/pnghand.cpp b/src/mac/carbon/pnghand.cpp index 52b07f6e60..67be14ff44 100644 --- a/src/mac/carbon/pnghand.cpp +++ b/src/mac/carbon/pnghand.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "pngread.h" -# pragma implementation "pnghand.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/printdlg.cpp b/src/mac/carbon/printdlg.cpp index 83fe536f3a..2ab6829d6a 100644 --- a/src/mac/carbon/printdlg.cpp +++ b/src/mac/carbon/printdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "printdlg.h" -#endif - #include "wx/object.h" #include "wx/printdlg.h" #include "wx/dcprint.h" diff --git a/src/mac/carbon/printmac.cpp b/src/mac/carbon/printmac.cpp index 1240fd6622..a662490728 100644 --- a/src/mac/carbon/printmac.cpp +++ b/src/mac/carbon/printmac.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "printwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/radiobox.cpp b/src/mac/carbon/radiobox.cpp index 6c9ba1abb2..5fe283b1fe 100644 --- a/src/mac/carbon/radiobox.cpp +++ b/src/mac/carbon/radiobox.cpp @@ -13,11 +13,6 @@ // headers //------------------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "radioboxbase.h" - #pragma implementation "radiobox.h" -#endif - #include "wx/defs.h" #include "wx/radiobox.h" diff --git a/src/mac/carbon/radiobut.cpp b/src/mac/carbon/radiobut.cpp index e94c762f1d..45144bce14 100644 --- a/src/mac/carbon/radiobut.cpp +++ b/src/mac/carbon/radiobut.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "radiobut.h" -#endif - #include "wx/defs.h" #include "wx/radiobut.h" diff --git a/src/mac/carbon/region.cpp b/src/mac/carbon/region.cpp index b4dddad04b..56908ce998 100644 --- a/src/mac/carbon/region.cpp +++ b/src/mac/carbon/region.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "region.h" -#endif - #include "wx/region.h" #include "wx/gdicmn.h" #include "wx/mac/uma.h" diff --git a/src/mac/carbon/scrolbar.cpp b/src/mac/carbon/scrolbar.cpp index 68d403ae26..2b33f7afb1 100644 --- a/src/mac/carbon/scrolbar.cpp +++ b/src/mac/carbon/scrolbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "scrolbar.h" -#endif - #include "wx/defs.h" #ifndef WX_PRECOMP diff --git a/src/mac/carbon/settings.cpp b/src/mac/carbon/settings.cpp index dcfab47793..d9019f36bd 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - #include "wx/settings.h" #include "wx/gdicmn.h" #include "wx/utils.h" diff --git a/src/mac/carbon/slider.cpp b/src/mac/carbon/slider.cpp index aa4e68609a..19e89c5de5 100644 --- a/src/mac/carbon/slider.cpp +++ b/src/mac/carbon/slider.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slider.h" -#endif - #include "wx/slider.h" #include "wx/mac/uma.h" diff --git a/src/mac/carbon/spinbutt.cpp b/src/mac/carbon/spinbutt.cpp index 08151678ac..f4200a03d1 100644 --- a/src/mac/carbon/spinbutt.cpp +++ b/src/mac/carbon/spinbutt.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "spinbutt.h" -#pragma implementation "spinbuttbase.h" -#endif - #include "wx/spinbutt.h" #include "wx/mac/uma.h" diff --git a/src/mac/carbon/spinctrl.cpp b/src/mac/carbon/spinctrl.cpp index 22553d47f1..b32037ae0a 100644 --- a/src/mac/carbon/spinctrl.cpp +++ b/src/mac/carbon/spinctrl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "spinctlg.h" -#endif - #include "wx/defs.h" #ifndef WX_PRECOMP diff --git a/src/mac/carbon/statbmp.cpp b/src/mac/carbon/statbmp.cpp index d04e549b0e..e7013ab29f 100644 --- a/src/mac/carbon/statbmp.cpp +++ b/src/mac/carbon/statbmp.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "statbmp.h" -#endif - #include "wx/defs.h" #include "wx/statbmp.h" diff --git a/src/mac/carbon/statbox.cpp b/src/mac/carbon/statbox.cpp index 529c720da3..723694c482 100644 --- a/src/mac/carbon/statbox.cpp +++ b/src/mac/carbon/statbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbox.h" -#endif - #include "wx/defs.h" #include "wx/statbox.h" diff --git a/src/mac/carbon/statbrma.cpp b/src/mac/carbon/statbrma.cpp index c06702058d..7c83a59542 100644 --- a/src/mac/carbon/statbrma.cpp +++ b/src/mac/carbon/statbrma.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbrma.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/mac/carbon/statline.cpp b/src/mac/carbon/statline.cpp index 52f3d40733..d8a1827397 100644 --- a/src/mac/carbon/statline.cpp +++ b/src/mac/carbon/statline.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/statlmac.cpp b/src/mac/carbon/statlmac.cpp index 2c01893e84..b46dc9ac56 100644 --- a/src/mac/carbon/statlmac.cpp +++ b/src/mac/carbon/statlmac.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/stattext.cpp b/src/mac/carbon/stattext.cpp index 9a56b744e2..61fb28b693 100644 --- a/src/mac/carbon/stattext.cpp +++ b/src/mac/carbon/stattext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "stattext.h" -#endif - #include "wx/app.h" #include "wx/stattext.h" #include "wx/notebook.h" diff --git a/src/mac/carbon/tabctrl.cpp b/src/mac/carbon/tabctrl.cpp index db1992be6e..b3d0e9b2c2 100644 --- a/src/mac/carbon/tabctrl.cpp +++ b/src/mac/carbon/tabctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "tabctrl.h" -#endif - #include "wx/defs.h" #include "wx/control.h" diff --git a/src/mac/carbon/taskbar.cpp b/src/mac/carbon/taskbar.cpp index 1b49a2d75a..9da4118c66 100644 --- a/src/mac/carbon/taskbar.cpp +++ b/src/mac/carbon/taskbar.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "taskbar.h" -#endif - #include "wx/taskbar.h" wxTaskBarIcon::wxTaskBarIcon() diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index ae8648962a..8bd1158f39 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "textctrl.h" -#endif - #include "wx/defs.h" #if wxUSE_TEXTCTRL diff --git a/src/mac/carbon/thread.cpp b/src/mac/carbon/thread.cpp index 613267379e..f54259ef76 100644 --- a/src/mac/carbon/thread.cpp +++ b/src/mac/carbon/thread.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/mac/carbon/timer.cpp b/src/mac/carbon/timer.cpp index a6c6435ce8..deed53ed87 100644 --- a/src/mac/carbon/timer.cpp +++ b/src/mac/carbon/timer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "timer.h" -#endif - #include "wx/timer.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 026ef1137a..d933a171ea 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -8,10 +8,6 @@ // Copyright: (c) AUTHOR ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "toolbar.h" -#endif - #include "wx/wx.h" #if wxUSE_TOOLBAR diff --git a/src/mac/carbon/tooltip.cpp b/src/mac/carbon/tooltip.cpp index 9e8ef8a028..3962f09021 100644 --- a/src/mac/carbon/tooltip.cpp +++ b/src/mac/carbon/tooltip.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "tooltip.h" -#endif - #include "wx/defs.h" #if wxUSE_TOOLTIPS diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 9bfca44e71..676cba9d68 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/carbon/treectrl.cpp b/src/mac/carbon/treectrl.cpp index 5a50bd157d..2a90c9916f 100644 --- a/src/mac/carbon/treectrl.cpp +++ b/src/mac/carbon/treectrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "treectrl.h" -#endif - #include "wx/stubs/textctrl.h" #include "wx/treebase.h" #include "wx/stubs/treectrl.h" diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 4e31d12476..6d7e09f53a 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// Note: this is done in utilscmn.cpp now. -// #pragma implementation "utils.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/app.h" diff --git a/src/mac/carbon/utilsexc.cpp b/src/mac/carbon/utilsexc.cpp index 563f63d388..6e1b12e38b 100644 --- a/src/mac/carbon/utilsexc.cpp +++ b/src/mac/carbon/utilsexc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/log.h" #include "wx/utils.h" #ifdef __DARWIN__ diff --git a/src/mac/carbon/wave.cpp b/src/mac/carbon/wave.cpp index 499d5ab28b..fdc9bc0c0d 100644 --- a/src/mac/carbon/wave.cpp +++ b/src/mac/carbon/wave.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wave.h" -#endif - #include "wx/object.h" #include "wx/string.h" #include "wx/wave.h" diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index d113a1225f..4436dc5a70 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "window.h" -#endif - #include "wx/setup.h" #include "wx/menu.h" #include "wx/window.h" diff --git a/src/mac/checkbox.cpp b/src/mac/checkbox.cpp index b595c99c7a..f6d7e9266e 100644 --- a/src/mac/checkbox.cpp +++ b/src/mac/checkbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "checkbox.h" -#endif - #include "wx/defs.h" #include "wx/checkbox.h" diff --git a/src/mac/checklst.cpp b/src/mac/checklst.cpp index 3bb48dec08..412b5285c7 100644 --- a/src/mac/checklst.cpp +++ b/src/mac/checklst.cpp @@ -13,10 +13,6 @@ // headers & declarations // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKLISTBOX diff --git a/src/mac/choice.cpp b/src/mac/choice.cpp index 66e8bc107e..0730dd1aab 100644 --- a/src/mac/choice.cpp +++ b/src/mac/choice.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "choice.h" -#endif - #include "wx/defs.h" #include "wx/choice.h" diff --git a/src/mac/clipbrd.cpp b/src/mac/clipbrd.cpp index f5d014c371..feba3077e5 100644 --- a/src/mac/clipbrd.cpp +++ b/src/mac/clipbrd.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma implementation "clipbrd.h" -#endif - #include "wx/app.h" #include "wx/frame.h" #include "wx/bitmap.h" diff --git a/src/mac/colordlg.cpp b/src/mac/colordlg.cpp index b8df2bcc5a..16c7e7b002 100644 --- a/src/mac/colordlg.cpp +++ b/src/mac/colordlg.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colordlg.h" -#endif - #include "wx/mac/colordlg.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/colour.cpp b/src/mac/colour.cpp index 5755910b26..5265a7890b 100644 --- a/src/mac/colour.cpp +++ b/src/mac/colour.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/colour.h" diff --git a/src/mac/combobox.cpp b/src/mac/combobox.cpp index 2341937b42..463c8ac710 100644 --- a/src/mac/combobox.cpp +++ b/src/mac/combobox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - #include "wx/combobox.h" #include "wx/button.h" #include "wx/menu.h" diff --git a/src/mac/control.cpp b/src/mac/control.cpp index 368db51b8a..bc535f6976 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "control.h" -#endif - #include "wx/defs.h" #include "wx/control.h" diff --git a/src/mac/cursor.cpp b/src/mac/cursor.cpp index c796592d9c..cb67c9d688 100644 --- a/src/mac/cursor.cpp +++ b/src/mac/cursor.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/defs.h" #include "wx/app.h" diff --git a/src/mac/data.cpp b/src/mac/data.cpp index a4bf881e66..39cacaed97 100644 --- a/src/mac/data.cpp +++ b/src/mac/data.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wx.h" #if wxUSE_POSTSCRIPT diff --git a/src/mac/dataobj.cpp b/src/mac/dataobj.cpp index 049622ffb3..3e7ac9e96f 100644 --- a/src/mac/dataobj.cpp +++ b/src/mac/dataobj.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index fa5e6ee117..a105030d4f 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -8,9 +8,7 @@ // Copyright: (c) AUTHOR // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dc.h" -#endif + #include "wx/dc.h" #include "wx/app.h" #include "wx/mac/uma.h" diff --git a/src/mac/dcclient.cpp b/src/mac/dcclient.cpp index 2dc8c93ce8..994af3aca2 100644 --- a/src/mac/dcclient.cpp +++ b/src/mac/dcclient.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcclient.h" -#endif - #include "wx/dcclient.h" #include "wx/dcmemory.h" #include "wx/region.h" diff --git a/src/mac/dcmemory.cpp b/src/mac/dcmemory.cpp index 5e3f603ce8..7ed4030a13 100644 --- a/src/mac/dcmemory.cpp +++ b/src/mac/dcmemory.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - #include "wx/dcmemory.h" #include "wx/mac/private.h" diff --git a/src/mac/dcprint.cpp b/src/mac/dcprint.cpp index 1e83aa738a..1df4ea6db4 100644 --- a/src/mac/dcprint.cpp +++ b/src/mac/dcprint.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcprint.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/dcscreen.cpp b/src/mac/dcscreen.cpp index faef265b43..f01ae48ab2 100644 --- a/src/mac/dcscreen.cpp +++ b/src/mac/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - #include "wx/dcscreen.h" #include "wx/mac/uma.h" diff --git a/src/mac/dialog.cpp b/src/mac/dialog.cpp index ab0af44f13..5f25576f42 100644 --- a/src/mac/dialog.cpp +++ b/src/mac/dialog.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dialog.h" -#endif - #include "wx/dialog.h" #include "wx/utils.h" #include "wx/frame.h" diff --git a/src/mac/dirdlg.cpp b/src/mac/dirdlg.cpp index d38dc40a49..f01195ad8f 100644 --- a/src/mac/dirdlg.cpp +++ b/src/mac/dirdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dirdlg.h" -#endif - #include "wx/defs.h" #include "wx/utils.h" #include "wx/dialog.h" diff --git a/src/mac/dirmac.cpp b/src/mac/dirmac.cpp index 0ccaf0b8e9..e7f20150f1 100644 --- a/src/mac/dirmac.cpp +++ b/src/mac/dirmac.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/display.cpp b/src/mac/display.cpp index e25b2486e3..4b4314167a 100644 --- a/src/mac/display.cpp +++ b/src/mac/display.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "display.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/dnd.cpp b/src/mac/dnd.cpp index 598284893d..67aabba872 100644 --- a/src/mac/dnd.cpp +++ b/src/mac/dnd.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dnd.h" -#endif - #include "wx/defs.h" #if wxUSE_DRAG_AND_DROP diff --git a/src/mac/filedlg.cpp b/src/mac/filedlg.cpp index f290292a75..b315ed7ca1 100644 --- a/src/mac/filedlg.cpp +++ b/src/mac/filedlg.cpp @@ -8,9 +8,7 @@ // Copyright: (c) AUTHOR // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "filedlg.h" -#endif + #include "wx/defs.h" #include "wx/app.h" #include "wx/utils.h" diff --git a/src/mac/font.cpp b/src/mac/font.cpp index d1b4798cc4..0e1cbae211 100644 --- a/src/mac/font.cpp +++ b/src/mac/font.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "font.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/font.h" diff --git a/src/mac/fontdlg.cpp b/src/mac/fontdlg.cpp index e7875df4f5..3d85cf0c2d 100644 --- a/src/mac/fontdlg.cpp +++ b/src/mac/fontdlg.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif - #include "wx/mac/fontdlg.h" #include "wx/cmndata.h" diff --git a/src/mac/fontenum.cpp b/src/mac/fontenum.cpp index 43aeb9a7a8..55d4ed74a1 100644 --- a/src/mac/fontenum.cpp +++ b/src/mac/fontenum.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontenum.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/fontutil.cpp b/src/mac/fontutil.cpp index 4f61d13ff4..1b9ebc6bdf 100644 --- a/src/mac/fontutil.cpp +++ b/src/mac/fontutil.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontutil.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index 7f1860a837..d8e6b2c86d 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "frame.h" -#endif - #include "wx/frame.h" #include "wx/statusbr.h" #include "wx/toolbar.h" diff --git a/src/mac/gauge.cpp b/src/mac/gauge.cpp index b367d44393..ca01711e38 100644 --- a/src/mac/gauge.cpp +++ b/src/mac/gauge.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gauge.h" -#endif - #include "wx/gauge.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/gdiobj.cpp b/src/mac/gdiobj.cpp index 63697c8354..5f747f9246 100644 --- a/src/mac/gdiobj.cpp +++ b/src/mac/gdiobj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - #include "wx/gdiobj.h" #if !USE_SHARED_LIBRARIES diff --git a/src/mac/glcanvas.cpp b/src/mac/glcanvas.cpp index 16e47d4c79..ffb37b79eb 100644 --- a/src/mac/glcanvas.cpp +++ b/src/mac/glcanvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/wxprec.h" #if defined(__BORLANDC__) diff --git a/src/mac/helpxxxx.cpp b/src/mac/helpxxxx.cpp index 086762c646..71500119f3 100644 --- a/src/mac/helpxxxx.cpp +++ b/src/mac/helpxxxx.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpxxxx.h" -#endif - #include "wx/stubs/helpxxxx.h" #include diff --git a/src/mac/icon.cpp b/src/mac/icon.cpp index 5ec5f3ec80..97238ccdb5 100644 --- a/src/mac/icon.cpp +++ b/src/mac/icon.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - #include "wx/icon.h" #if !USE_SHARED_LIBRARIES diff --git a/src/mac/joystick.cpp b/src/mac/joystick.cpp index bfe4ee3533..c0e649d406 100644 --- a/src/mac/joystick.cpp +++ b/src/mac/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - #include "wx/setup.h" #include "wx/joystick.h" diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index f777194619..77f5cba931 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "listbox.h" -#endif - #include "wx/app.h" #include "wx/listbox.h" #include "wx/button.h" diff --git a/src/mac/mdi.cpp b/src/mac/mdi.cpp index 1ce76a692c..2c97dfa89b 100644 --- a/src/mac/mdi.cpp +++ b/src/mac/mdi.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mdi.h" -#endif - #include "wx/mdi.h" #include "wx/menu.h" #include "wx/settings.h" diff --git a/src/mac/menu.cpp b/src/mac/menu.cpp index bea62cec1b..e00cb86049 100644 --- a/src/mac/menu.cpp +++ b/src/mac/menu.cpp @@ -17,11 +17,6 @@ // wxWindows headers // ----------------- -#ifdef __GNUG__ -#pragma implementation "menu.h" -#pragma implementation "menuitem.h" -#endif - #include "wx/app.h" #include "wx/menu.h" #include "wx/menuitem.h" diff --git a/src/mac/metafile.cpp b/src/mac/metafile.cpp index 2380c96edc..4c408bfd84 100644 --- a/src/mac/metafile.cpp +++ b/src/mac/metafile.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "metafile.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/mimetmac.cpp b/src/mac/mimetmac.cpp index 0306d07f2c..c7724b0bdf 100644 --- a/src/mac/mimetmac.cpp +++ b/src/mac/mimetmac.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mimetype.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/minifram.cpp b/src/mac/minifram.cpp index 4f6f5e5fcb..c146772e48 100644 --- a/src/mac/minifram.cpp +++ b/src/mac/minifram.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - #include "wx/minifram.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/msgdlg.cpp b/src/mac/msgdlg.cpp index 7b7109b668..bce2ece295 100644 --- a/src/mac/msgdlg.cpp +++ b/src/mac/msgdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "msgdlg.h" -#endif - #include "wx/app.h" #include "wx/msgdlg.h" #include "wx/intl.h" diff --git a/src/mac/notebmac.cpp b/src/mac/notebmac.cpp index 56fb7471e6..05dbe6f81c 100644 --- a/src/mac/notebmac.cpp +++ b/src/mac/notebmac.cpp @@ -16,9 +16,6 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "notebook.h" -#endif #include "wx/app.h" #include "wx/string.h" diff --git a/src/mac/palette.cpp b/src/mac/palette.cpp index c847131f40..ccf13730fe 100644 --- a/src/mac/palette.cpp +++ b/src/mac/palette.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "palette.h" -#endif - #include "wx/defs.h" #if wxUSE_PALETTE diff --git a/src/mac/pen.cpp b/src/mac/pen.cpp index bb60cfae65..8b0826d22f 100644 --- a/src/mac/pen.cpp +++ b/src/mac/pen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/pen.h" diff --git a/src/mac/pnghand.cpp b/src/mac/pnghand.cpp index 52b07f6e60..67be14ff44 100644 --- a/src/mac/pnghand.cpp +++ b/src/mac/pnghand.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "pngread.h" -# pragma implementation "pnghand.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/printdlg.cpp b/src/mac/printdlg.cpp index 83fe536f3a..2ab6829d6a 100644 --- a/src/mac/printdlg.cpp +++ b/src/mac/printdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "printdlg.h" -#endif - #include "wx/object.h" #include "wx/printdlg.h" #include "wx/dcprint.h" diff --git a/src/mac/printmac.cpp b/src/mac/printmac.cpp index 1240fd6622..a662490728 100644 --- a/src/mac/printmac.cpp +++ b/src/mac/printmac.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "printwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/radiobox.cpp b/src/mac/radiobox.cpp index 6c9ba1abb2..5fe283b1fe 100644 --- a/src/mac/radiobox.cpp +++ b/src/mac/radiobox.cpp @@ -13,11 +13,6 @@ // headers //------------------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "radioboxbase.h" - #pragma implementation "radiobox.h" -#endif - #include "wx/defs.h" #include "wx/radiobox.h" diff --git a/src/mac/radiobut.cpp b/src/mac/radiobut.cpp index e94c762f1d..45144bce14 100644 --- a/src/mac/radiobut.cpp +++ b/src/mac/radiobut.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "radiobut.h" -#endif - #include "wx/defs.h" #include "wx/radiobut.h" diff --git a/src/mac/region.cpp b/src/mac/region.cpp index b4dddad04b..56908ce998 100644 --- a/src/mac/region.cpp +++ b/src/mac/region.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "region.h" -#endif - #include "wx/region.h" #include "wx/gdicmn.h" #include "wx/mac/uma.h" diff --git a/src/mac/scrolbar.cpp b/src/mac/scrolbar.cpp index 68d403ae26..2b33f7afb1 100644 --- a/src/mac/scrolbar.cpp +++ b/src/mac/scrolbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "scrolbar.h" -#endif - #include "wx/defs.h" #ifndef WX_PRECOMP diff --git a/src/mac/settings.cpp b/src/mac/settings.cpp index dcfab47793..d9019f36bd 100644 --- a/src/mac/settings.cpp +++ b/src/mac/settings.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - #include "wx/settings.h" #include "wx/gdicmn.h" #include "wx/utils.h" diff --git a/src/mac/slider.cpp b/src/mac/slider.cpp index aa4e68609a..19e89c5de5 100644 --- a/src/mac/slider.cpp +++ b/src/mac/slider.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slider.h" -#endif - #include "wx/slider.h" #include "wx/mac/uma.h" diff --git a/src/mac/spinbutt.cpp b/src/mac/spinbutt.cpp index 08151678ac..f4200a03d1 100644 --- a/src/mac/spinbutt.cpp +++ b/src/mac/spinbutt.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "spinbutt.h" -#pragma implementation "spinbuttbase.h" -#endif - #include "wx/spinbutt.h" #include "wx/mac/uma.h" diff --git a/src/mac/spinctrl.cpp b/src/mac/spinctrl.cpp index 22553d47f1..b32037ae0a 100644 --- a/src/mac/spinctrl.cpp +++ b/src/mac/spinctrl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "spinctlg.h" -#endif - #include "wx/defs.h" #ifndef WX_PRECOMP diff --git a/src/mac/statbmp.cpp b/src/mac/statbmp.cpp index d04e549b0e..e7013ab29f 100644 --- a/src/mac/statbmp.cpp +++ b/src/mac/statbmp.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "statbmp.h" -#endif - #include "wx/defs.h" #include "wx/statbmp.h" diff --git a/src/mac/statbox.cpp b/src/mac/statbox.cpp index 529c720da3..723694c482 100644 --- a/src/mac/statbox.cpp +++ b/src/mac/statbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbox.h" -#endif - #include "wx/defs.h" #include "wx/statbox.h" diff --git a/src/mac/statbrma.cpp b/src/mac/statbrma.cpp index c06702058d..7c83a59542 100644 --- a/src/mac/statbrma.cpp +++ b/src/mac/statbrma.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbrma.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/mac/statline.cpp b/src/mac/statline.cpp index 52f3d40733..d8a1827397 100644 --- a/src/mac/statline.cpp +++ b/src/mac/statline.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/statlmac.cpp b/src/mac/statlmac.cpp index 2c01893e84..b46dc9ac56 100644 --- a/src/mac/statlmac.cpp +++ b/src/mac/statlmac.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/stattext.cpp b/src/mac/stattext.cpp index 9a56b744e2..61fb28b693 100644 --- a/src/mac/stattext.cpp +++ b/src/mac/stattext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "stattext.h" -#endif - #include "wx/app.h" #include "wx/stattext.h" #include "wx/notebook.h" diff --git a/src/mac/tabctrl.cpp b/src/mac/tabctrl.cpp index db1992be6e..b3d0e9b2c2 100644 --- a/src/mac/tabctrl.cpp +++ b/src/mac/tabctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "tabctrl.h" -#endif - #include "wx/defs.h" #include "wx/control.h" diff --git a/src/mac/taskbar.cpp b/src/mac/taskbar.cpp index 1b49a2d75a..9da4118c66 100644 --- a/src/mac/taskbar.cpp +++ b/src/mac/taskbar.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "taskbar.h" -#endif - #include "wx/taskbar.h" wxTaskBarIcon::wxTaskBarIcon() diff --git a/src/mac/textctrl.cpp b/src/mac/textctrl.cpp index ae8648962a..8bd1158f39 100644 --- a/src/mac/textctrl.cpp +++ b/src/mac/textctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "textctrl.h" -#endif - #include "wx/defs.h" #if wxUSE_TEXTCTRL diff --git a/src/mac/thread.cpp b/src/mac/thread.cpp index 613267379e..f54259ef76 100644 --- a/src/mac/thread.cpp +++ b/src/mac/thread.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/mac/timer.cpp b/src/mac/timer.cpp index a6c6435ce8..deed53ed87 100644 --- a/src/mac/timer.cpp +++ b/src/mac/timer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "timer.h" -#endif - #include "wx/timer.h" #if !USE_SHARED_LIBRARY diff --git a/src/mac/toolbar.cpp b/src/mac/toolbar.cpp index 026ef1137a..d933a171ea 100644 --- a/src/mac/toolbar.cpp +++ b/src/mac/toolbar.cpp @@ -8,10 +8,6 @@ // Copyright: (c) AUTHOR ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "toolbar.h" -#endif - #include "wx/wx.h" #if wxUSE_TOOLBAR diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 9e8ef8a028..3962f09021 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "tooltip.h" -#endif - #include "wx/defs.h" #if wxUSE_TOOLTIPS diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index 81cf2c6e3a..8d4f471add 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mac/treectrl.cpp b/src/mac/treectrl.cpp index 5a50bd157d..2a90c9916f 100644 --- a/src/mac/treectrl.cpp +++ b/src/mac/treectrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "treectrl.h" -#endif - #include "wx/stubs/textctrl.h" #include "wx/treebase.h" #include "wx/stubs/treectrl.h" diff --git a/src/mac/utils.cpp b/src/mac/utils.cpp index 4e31d12476..6d7e09f53a 100644 --- a/src/mac/utils.cpp +++ b/src/mac/utils.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// Note: this is done in utilscmn.cpp now. -// #pragma implementation "utils.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/app.h" diff --git a/src/mac/utilsexc.cpp b/src/mac/utilsexc.cpp index 563f63d388..6e1b12e38b 100644 --- a/src/mac/utilsexc.cpp +++ b/src/mac/utilsexc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/log.h" #include "wx/utils.h" #ifdef __DARWIN__ diff --git a/src/mac/wave.cpp b/src/mac/wave.cpp index 499d5ab28b..fdc9bc0c0d 100644 --- a/src/mac/wave.cpp +++ b/src/mac/wave.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wave.h" -#endif - #include "wx/object.h" #include "wx/string.h" #include "wx/wave.h" diff --git a/src/mac/window.cpp b/src/mac/window.cpp index d113a1225f..4436dc5a70 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "window.h" -#endif - #include "wx/setup.h" #include "wx/menu.h" #include "wx/window.h" diff --git a/src/mgl/app.cpp b/src/mgl/app.cpp index 82261a7938..caa3b43e1b 100644 --- a/src/mgl/app.cpp +++ b/src/mgl/app.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/bitmap.cpp b/src/mgl/bitmap.cpp index 34183dd8a6..c0d3ae2723 100644 --- a/src/mgl/bitmap.cpp +++ b/src/mgl/bitmap.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/brush.cpp b/src/mgl/brush.cpp index 437a499948..0c033d2ada 100644 --- a/src/mgl/brush.cpp +++ b/src/mgl/brush.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/clipbrd.cpp b/src/mgl/clipbrd.cpp index 2dc2f1924b..eafe64bd1b 100644 --- a/src/mgl/clipbrd.cpp +++ b/src/mgl/clipbrd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "clipbrd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/colour.cpp b/src/mgl/colour.cpp index 54fee22346..cac0e01703 100644 --- a/src/mgl/colour.cpp +++ b/src/mgl/colour.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/cursor.cpp b/src/mgl/cursor.cpp index 0bb3bdac4a..2f7a8fdbf0 100644 --- a/src/mgl/cursor.cpp +++ b/src/mgl/cursor.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/data.cpp b/src/mgl/data.cpp index 931b04062e..856a9cf221 100644 --- a/src/mgl/data.cpp +++ b/src/mgl/data.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/dc.cpp b/src/mgl/dc.cpp index 410e1b4016..1096837f1b 100644 --- a/src/mgl/dc.cpp +++ b/src/mgl/dc.cpp @@ -16,10 +16,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/dcclient.cpp b/src/mgl/dcclient.cpp index 4e05209e93..4ca45a50a6 100644 --- a/src/mgl/dcclient.cpp +++ b/src/mgl/dcclient.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcclient.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/dcmemory.cpp b/src/mgl/dcmemory.cpp index c8818c2242..8c3b60c194 100644 --- a/src/mgl/dcmemory.cpp +++ b/src/mgl/dcmemory.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/dcscreen.cpp b/src/mgl/dcscreen.cpp index e3f77babb0..67fbc4590f 100644 --- a/src/mgl/dcscreen.cpp +++ b/src/mgl/dcscreen.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/dirmgl.cpp b/src/mgl/dirmgl.cpp index f2df7e706e..c41b8e5327 100644 --- a/src/mgl/dirmgl.cpp +++ b/src/mgl/dirmgl.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/evtloop.cpp b/src/mgl/evtloop.cpp index 22f4d61355..d6b3bdcc61 100644 --- a/src/mgl/evtloop.cpp +++ b/src/mgl/evtloop.cpp @@ -11,10 +11,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "evtloop.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/font.cpp b/src/mgl/font.cpp index e3ac9a29d2..10575e41c3 100644 --- a/src/mgl/font.cpp +++ b/src/mgl/font.cpp @@ -14,10 +14,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "font.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/fontenum.cpp b/src/mgl/fontenum.cpp index 46386dfd99..76d068abd6 100644 --- a/src/mgl/fontenum.cpp +++ b/src/mgl/fontenum.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontenum.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/fontutil.cpp b/src/mgl/fontutil.cpp index f73a6fb862..fe217c91b0 100644 --- a/src/mgl/fontutil.cpp +++ b/src/mgl/fontutil.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ - #pragma implementation "fontutil.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/gdiobj.cpp b/src/mgl/gdiobj.cpp index c9eb9ee499..5fd5e944ff 100644 --- a/src/mgl/gdiobj.cpp +++ b/src/mgl/gdiobj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/icon.cpp b/src/mgl/icon.cpp index bd54a7001d..5af736371a 100644 --- a/src/mgl/icon.cpp +++ b/src/mgl/icon.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/palette.cpp b/src/mgl/palette.cpp index b851f799a8..4414b2d587 100644 --- a/src/mgl/palette.cpp +++ b/src/mgl/palette.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "palette.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/pen.cpp b/src/mgl/pen.cpp index dc2e476e82..ff31869cfd 100644 --- a/src/mgl/pen.cpp +++ b/src/mgl/pen.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/region.cpp b/src/mgl/region.cpp index 2d80d07aa3..5c3a0189ec 100644 --- a/src/mgl/region.cpp +++ b/src/mgl/region.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "region.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index 355db0d4f6..5f49922ce8 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -6,11 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/toplevel.cpp b/src/mgl/toplevel.cpp index 2d23ae16d3..ae1ee925f7 100644 --- a/src/mgl/toplevel.cpp +++ b/src/mgl/toplevel.cpp @@ -15,10 +15,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index 93ec5ec023..6560848ad3 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -16,10 +16,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "window.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index 7ce7905121..7eb0170eb3 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "accel.h" -#endif - #include "wx/setup.h" #include "wx/accel.h" #include "wx/string.h" diff --git a/src/motif/app.cpp b/src/motif/app.cpp index d0d57b34f7..62bf0b09d9 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - #ifdef __VMS #define XtParent XTPARENT #define XtDisplay XTDISPLAY diff --git a/src/motif/bitmap.cpp b/src/motif/bitmap.cpp index bace224758..17a4d15386 100644 --- a/src/motif/bitmap.cpp +++ b/src/motif/bitmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #ifdef __VMS #define XtParent XTPARENT #endif diff --git a/src/motif/bmpbuttn.cpp b/src/motif/bmpbuttn.cpp index 54d735b856..aa09bf4712 100644 --- a/src/motif/bmpbuttn.cpp +++ b/src/motif/bmpbuttn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpbuttn.h" -#endif - #ifdef __VMS #define XtScreen XTSCREEN #endif diff --git a/src/motif/brush.cpp b/src/motif/brush.cpp index 685b376427..a1dff576c0 100644 --- a/src/motif/brush.cpp +++ b/src/motif/brush.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/brush.h" diff --git a/src/motif/button.cpp b/src/motif/button.cpp index 645f99cf44..33c3aa2c54 100644 --- a/src/motif/button.cpp +++ b/src/motif/button.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "button.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 613052ef21..58ed4e895d 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "checkbox.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/checklst.cpp b/src/motif/checklst.cpp index 7546ec3927..e46ba3d9b6 100644 --- a/src/motif/checklst.cpp +++ b/src/motif/checklst.cpp @@ -13,10 +13,6 @@ // headers & declarations // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - #include "wx/defs.h" #include "wx/checklst.h" diff --git a/src/motif/choice.cpp b/src/motif/choice.cpp index e0afa97dd9..10fa006c97 100644 --- a/src/motif/choice.cpp +++ b/src/motif/choice.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "choice.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #define XtParent XTPARENT diff --git a/src/motif/clipbrd.cpp b/src/motif/clipbrd.cpp index 0ee8acb958..2678263a24 100644 --- a/src/motif/clipbrd.cpp +++ b/src/motif/clipbrd.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#pragma implementation "clipbrd.h" -#endif - #include "wx/defs.h" #if wxUSE_CLIPBOARD diff --git a/src/motif/colordlg.cpp b/src/motif/colordlg.cpp index b62041652d..7bff8abf00 100644 --- a/src/motif/colordlg.cpp +++ b/src/motif/colordlg.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colordlg.h" -#endif - #include "wx/motif/colordlg.h" IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog) diff --git a/src/motif/colour.cpp b/src/motif/colour.cpp index bd112d6a4a..4b3ee51077 100644 --- a/src/motif/colour.cpp +++ b/src/motif/colour.cpp @@ -12,10 +12,6 @@ //// TODO: make wxColour a ref-counted object, //// so pixel values get shared. -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/colour.h" #include "wx/app.h" diff --git a/src/motif/combobox.cpp b/src/motif/combobox.cpp index e8e5fd66c7..7e84479e14 100644 --- a/src/motif/combobox.cpp +++ b/src/motif/combobox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - #include "wx/combobox.h" #if wxUSE_COMBOBOX diff --git a/src/motif/control.cpp b/src/motif/control.cpp index 1dc7e344c5..ab95c3b7d5 100644 --- a/src/motif/control.cpp +++ b/src/motif/control.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "control.h" -#endif - #include "wx/defs.h" #include "wx/control.h" diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 9709ba21f8..e5ed16411c 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/cursor.h" #include "wx/gdicmn.h" #include "wx/icon.h" diff --git a/src/motif/data.cpp b/src/motif/data.cpp index 26a832eb53..e53324724a 100644 --- a/src/motif/data.cpp +++ b/src/motif/data.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wx.h" #include "wx/dcps.h" diff --git a/src/motif/dataobj.cpp b/src/motif/dataobj.cpp index 8f949396fc..b10cbb7499 100644 --- a/src/motif/dataobj.cpp +++ b/src/motif/dataobj.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dataobj.h" -#endif - #include "wx/defs.h" #if wxUSE_CLIPBOARD diff --git a/src/motif/dc.cpp b/src/motif/dc.cpp index cc5c5359a4..b159d0344a 100644 --- a/src/motif/dc.cpp +++ b/src/motif/dc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dc.h" -#endif - #include "wx/dc.h" #include "wx/dcmemory.h" #include "wx/defs.h" diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index 3521c0cb4b..f88e86186e 100644 --- a/src/motif/dcclient.cpp +++ b/src/motif/dcclient.cpp @@ -36,10 +36,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dcclient.h" -#endif - #include "wx/dcclient.h" #include "wx/dcmemory.h" #include "wx/window.h" diff --git a/src/motif/dcmemory.cpp b/src/motif/dcmemory.cpp index 8ac24c411e..8562bf99e2 100644 --- a/src/motif/dcmemory.cpp +++ b/src/motif/dcmemory.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - #include "wx/dcmemory.h" #include "wx/settings.h" #include "wx/utils.h" diff --git a/src/motif/dcscreen.cpp b/src/motif/dcscreen.cpp index 1da45d5e39..804cab8ae9 100644 --- a/src/motif/dcscreen.cpp +++ b/src/motif/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - #include "wx/window.h" #include "wx/frame.h" #include "wx/dcscreen.h" diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index bfe4501f37..cff6e0d8e6 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dialog.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW diff --git a/src/motif/dirdlg.cpp b/src/motif/dirdlg.cpp index 9fc854de05..37135c9e8f 100644 --- a/src/motif/dirdlg.cpp +++ b/src/motif/dirdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dirdlg.h" -#endif - #include "wx/defs.h" #include "wx/utils.h" #include "wx/dialog.h" diff --git a/src/motif/dnd.cpp b/src/motif/dnd.cpp index f4a9cefec7..798af946bd 100644 --- a/src/motif/dnd.cpp +++ b/src/motif/dnd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dnd.h" -#endif - #include "wx/setup.h" #if wxUSE_DRAG_AND_DROP diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index 9336136f94..093c9afc91 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "filedlg.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #define XtParent XTPARENT diff --git a/src/motif/font.cpp b/src/motif/font.cpp index e63de3bf42..3796ba0b05 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "font.h" -#endif - #include "wx/defs.h" #ifdef __VMS diff --git a/src/motif/fontdlg.cpp b/src/motif/fontdlg.cpp index 3524f77d0e..d9e1a1eead 100644 --- a/src/motif/fontdlg.cpp +++ b/src/motif/fontdlg.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "fontdlg.h" -#endif - #include "wx/motif/fontdlg.h" #include "wx/cmndata.h" diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index f8ba0a11d1..4113ac187e 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "frame.h" -#endif - - #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index 104f66536c..812857ad91 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gauge.h" -#endif - #ifdef __VMS__ #include #endif diff --git a/src/motif/gdiobj.cpp b/src/motif/gdiobj.cpp index 63613b5727..00289e33d8 100644 --- a/src/motif/gdiobj.cpp +++ b/src/motif/gdiobj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/motif/glcanvas.cpp b/src/motif/glcanvas.cpp index 776eb9746c..d21d206336 100644 --- a/src/motif/glcanvas.cpp +++ b/src/motif/glcanvas.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/setup.h" #if wxUSE_GLCANVAS diff --git a/src/motif/helpxxxx.cpp b/src/motif/helpxxxx.cpp index 0cb9e0f147..5f8050bcba 100644 --- a/src/motif/helpxxxx.cpp +++ b/src/motif/helpxxxx.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpxxxx.h" -#endif - #include "wx/motif/helpxxxx.h" #include diff --git a/src/motif/icon.cpp b/src/motif/icon.cpp index a31a6f0646..4b18934062 100644 --- a/src/motif/icon.cpp +++ b/src/motif/icon.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - #include "wx/icon.h" #include "wx/window.h" diff --git a/src/motif/joystick.cpp b/src/motif/joystick.cpp index b9b6fae1d0..000256920b 100644 --- a/src/motif/joystick.cpp +++ b/src/motif/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - // Not implemented in wxMotif #if 0 diff --git a/src/motif/listbox.cpp b/src/motif/listbox.cpp index d8b12adf8a..042ede9faf 100644 --- a/src/motif/listbox.cpp +++ b/src/motif/listbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "listbox.h" -#endif - #ifdef __VMS #define XtParent XTPARENT #define XtDisplay XTDISPLAY diff --git a/src/motif/mdi.cpp b/src/motif/mdi.cpp index 4fa16b4cfe..1a5f36d784 100644 --- a/src/motif/mdi.cpp +++ b/src/motif/mdi.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mdi.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index b7e9194893..76a9487d04 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -14,10 +14,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "menu.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index c0006a0433..d634a37f22 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "menuitem.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/motif/metafile.cpp b/src/motif/metafile.cpp index e84337aa05..679f92e7aa 100644 --- a/src/motif/metafile.cpp +++ b/src/motif/metafile.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "metafile.h" -#endif - #include "wx/object.h" #include "wx/string.h" #include "wx/dc.h" diff --git a/src/motif/minifram.cpp b/src/motif/minifram.cpp index 1161e3de57..d1aabac578 100644 --- a/src/motif/minifram.cpp +++ b/src/motif/minifram.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - #include "wx/minifram.h" IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame) diff --git a/src/motif/msgdlg.cpp b/src/motif/msgdlg.cpp index caf660584d..5d93c8acc0 100644 --- a/src/motif/msgdlg.cpp +++ b/src/motif/msgdlg.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "msgdlg.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/motif/palette.cpp b/src/motif/palette.cpp index ef2b2597a6..c97d0ec332 100644 --- a/src/motif/palette.cpp +++ b/src/motif/palette.cpp @@ -34,10 +34,6 @@ recommended; only the window manager should do this... Also, it is not the functionality that wxPalette::Create() aims to provide. */ -#ifdef __GNUG__ -#pragma implementation "palette.h" -#endif - #include "wx/palette.h" #include "wx/window.h" #include "wx/app.h" diff --git a/src/motif/pen.cpp b/src/motif/pen.cpp index 4bc2b0bd89..c0fdcee74a 100644 --- a/src/motif/pen.cpp +++ b/src/motif/pen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/pen.h" diff --git a/src/motif/printdlg.cpp b/src/motif/printdlg.cpp index 0e94d44e4b..b1d00a94dd 100644 --- a/src/motif/printdlg.cpp +++ b/src/motif/printdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "printdlg.h" -#endif - #include "wx/object.h" #include "wx/motif/printdlg.h" #include "wx/dcprint.h" diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index ff0bed1a6e..3e95b777b8 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "radiobox.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index 46906f1a93..63910865e6 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "radiobut.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/region.cpp b/src/motif/region.cpp index 1bec3f26ce..ba8241214c 100644 --- a/src/motif/region.cpp +++ b/src/motif/region.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "region.h" -#endif - #include "wx/region.h" #include "wx/gdicmn.h" diff --git a/src/motif/scrolbar.cpp b/src/motif/scrolbar.cpp index e0a15b4a4c..edee226071 100644 --- a/src/motif/scrolbar.cpp +++ b/src/motif/scrolbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "scrolbar.h" -#endif - #include "wx/defs.h" #include "wx/scrolbar.h" diff --git a/src/motif/settings.cpp b/src/motif/settings.cpp index 3db6eec987..c3bf699fe2 100644 --- a/src/motif/settings.cpp +++ b/src/motif/settings.cpp @@ -13,10 +13,6 @@ // per-user file, which can be edited using a Windows-control-panel clone. // Also they should be documented better. Some are very MS Windows-ish. -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - #include "wx/settings.h" #include "wx/gdicmn.h" #include "wx/app.h" diff --git a/src/motif/slider.cpp b/src/motif/slider.cpp index 369cecc720..a0a9f433a7 100644 --- a/src/motif/slider.cpp +++ b/src/motif/slider.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slider.h" -#endif - #include "wx/slider.h" #include "wx/utils.h" diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index d48978ec07..f534d0cdb8 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "spinbutt.h" -#endif - #include "wx/spinbutt.h" #include "wx/spinctrl.h" #include "wx/timer.h" diff --git a/src/motif/statbmp.cpp b/src/motif/statbmp.cpp index e0d2ac766e..1a3f2c754f 100644 --- a/src/motif/statbmp.cpp +++ b/src/motif/statbmp.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbmp.h" -#endif - #include "wx/defs.h" #include "wx/statbmp.h" diff --git a/src/motif/statbox.cpp b/src/motif/statbox.cpp index 46f69f1189..efc9f384a9 100644 --- a/src/motif/statbox.cpp +++ b/src/motif/statbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbox.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/stattext.cpp b/src/motif/stattext.cpp index f04edb1b8b..38b6711724 100644 --- a/src/motif/stattext.cpp +++ b/src/motif/stattext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "stattext.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/tabctrl.cpp b/src/motif/tabctrl.cpp index c9f33458ed..4967a69e7e 100644 --- a/src/motif/tabctrl.cpp +++ b/src/motif/tabctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "tabctrl.h" -#endif - #include "wx/control.h" #include "wx/tabctrl.h" diff --git a/src/motif/taskbar.cpp b/src/motif/taskbar.cpp index 02024c5ea3..5733261232 100644 --- a/src/motif/taskbar.cpp +++ b/src/motif/taskbar.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "taskbar.h" -#endif - #include "wx/taskbar.h" wxTaskBarIcon::wxTaskBarIcon() diff --git a/src/motif/textctrl.cpp b/src/motif/textctrl.cpp index 9dbff0adb2..d6b62801f3 100644 --- a/src/motif/textctrl.cpp +++ b/src/motif/textctrl.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "textctrl.h" -#endif - #ifdef __VMS #define XtParent XTPARENT #endif diff --git a/src/motif/timer.cpp b/src/motif/timer.cpp index 570e4186f9..07b402b44f 100644 --- a/src/motif/timer.cpp +++ b/src/motif/timer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "timer.h" -#endif - #include "wx/timer.h" #include "wx/app.h" #include "wx/list.h" diff --git a/src/motif/toolbar.cpp b/src/motif/toolbar.cpp index 5f920cc7a1..336e34a2db 100644 --- a/src/motif/toolbar.cpp +++ b/src/motif/toolbar.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toolbar.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #endif diff --git a/src/motif/wave.cpp b/src/motif/wave.cpp index 5368adbdd0..e038af5ee7 100644 --- a/src/motif/wave.cpp +++ b/src/motif/wave.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wave.h" -#endif - #include "wx/object.h" #include "wx/string.h" #include "wx/motif/wave.h" diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 64112b13cd..89c7b633cf 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "window.h" -#endif - #ifdef __VMS #define XtDisplay XTDISPLAY #define XtWindow XTWINDOW diff --git a/src/msw/accel.cpp b/src/msw/accel.cpp index 559f3eaae7..9fa17490a1 100644 --- a/src/msw/accel.cpp +++ b/src/msw/accel.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "accel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 3c6d37563c..e835a56b29 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index 87c7ae89cb..4147b53875 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "bitmap.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index 2d5eae1e95..691c5fcda8 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bmpbuttn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/brush.cpp b/src/msw/brush.cpp index e47a77f3b1..2a0d2133f1 100644 --- a/src/msw/brush.cpp +++ b/src/msw/brush.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 1b15526dfd..39c2a43935 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "button.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/caret.cpp b/src/msw/caret.cpp index ee761165a1..42a6506f4e 100644 --- a/src/msw/caret.cpp +++ b/src/msw/caret.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "caret.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index f1e29a2395..8142c19f27 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "checkbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 0f7e92a933..636fb6dca3 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 27d5955c65..0ddc79d8c5 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "choice.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/clipbrd.cpp b/src/msw/clipbrd.cpp index 7f07e896eb..673ad6877e 100644 --- a/src/msw/clipbrd.cpp +++ b/src/msw/clipbrd.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "clipbrd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index 2cae01b8c3..ce0cab2dc5 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "colordlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/colour.cpp b/src/msw/colour.cpp index bac04c76cd..e0f713b8ba 100644 --- a/src/msw/colour.cpp +++ b/src/msw/colour.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 4acd9c73bd..2c7b1a6b8c 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/control.cpp b/src/msw/control.cpp index 7a6f30fd61..c0e389f2ec 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "control.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 0b99eff1dd..578684aedc 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "cursor.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/data.cpp b/src/msw/data.cpp index 65120bb896..fd8dd12388 100644 --- a/src/msw/data.cpp +++ b/src/msw/data.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "data.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 7557477dc0..e66ff8a7cb 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dcclient.cpp b/src/msw/dcclient.cpp index 687253ddc8..dd5403dd7b 100644 --- a/src/msw/dcclient.cpp +++ b/src/msw/dcclient.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dcclient.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dcmemory.cpp b/src/msw/dcmemory.cpp index 744f2ae65a..cf940526e7 100644 --- a/src/msw/dcmemory.cpp +++ b/src/msw/dcmemory.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dcmemory.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 93c204e8f2..a93a502993 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dcprint.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dcscreen.cpp b/src/msw/dcscreen.cpp index 4a2aa9ed8b..b545d21cb6 100644 --- a/src/msw/dcscreen.cpp +++ b/src/msw/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dde.cpp b/src/msw/dde.cpp index 2cc08128e2..7afe046000 100644 --- a/src/msw/dde.cpp +++ b/src/msw/dde.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dde.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 8989db416b..9d63063762 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dialog.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dibutils.cpp b/src/msw/dibutils.cpp index ff95213838..1d00bad0e1 100644 --- a/src/msw/dibutils.cpp +++ b/src/msw/dibutils.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dibutils.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dir.cpp b/src/msw/dir.cpp index 6e51506f8b..1975e07892 100644 --- a/src/msw/dir.cpp +++ b/src/msw/dir.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 00f01d719f..210e372af1 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dirdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/display.cpp b/src/msw/display.cpp index cd5548c708..f6ed728b6d 100644 --- a/src/msw/display.cpp +++ b/src/msw/display.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "display.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index ae349c83fd..b78c41c6a0 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "dragimag.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/enhmeta.cpp b/src/msw/enhmeta.cpp index b931e44bdf..8019f7e2ac 100644 --- a/src/msw/enhmeta.cpp +++ b/src/msw/enhmeta.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "enhmeta.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index dca66aba58..2f9998da72 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "evtloop.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 5cc89364cd..6490750a7f 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "mswfdrepdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 91d941b394..92b8c573a9 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "filedlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/font.cpp b/src/msw/font.cpp index dc601f5af8..592950771c 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "font.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/fontdlg.cpp b/src/msw/fontdlg.cpp index 40fc00a1a5..9ee06ebde4 100644 --- a/src/msw/fontdlg.cpp +++ b/src/msw/fontdlg.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/fontenum.cpp b/src/msw/fontenum.cpp index 55a34f3c4d..0481ad8a42 100644 --- a/src/msw/fontenum.cpp +++ b/src/msw/fontenum.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontenum.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index 221dfe50e6..fc120c5535 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontutil.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 10896a17f6..3988ed7a6f 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "frame.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 520f0c096e..d4c43a9e06 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "gauge95.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/gaugemsw.cpp b/src/msw/gaugemsw.cpp index 380a30e516..b1cd02eea9 100644 --- a/src/msw/gaugemsw.cpp +++ b/src/msw/gaugemsw.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gauge.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/gdiimage.cpp b/src/msw/gdiimage.cpp index b1a7d097bc..f12b577eeb 100644 --- a/src/msw/gdiimage.cpp +++ b/src/msw/gdiimage.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "gdiimage.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/gdiobj.cpp b/src/msw/gdiobj.cpp index 81c0f3d3c0..d4536a4dd4 100644 --- a/src/msw/gdiobj.cpp +++ b/src/msw/gdiobj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index 2772f79ba4..02039fa562 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/wxprec.h" #if defined(__BORLANDC__) diff --git a/src/msw/helpbest.cpp b/src/msw/helpbest.cpp index 6fb956a0d7..307addbd8d 100644 --- a/src/msw/helpbest.cpp +++ b/src/msw/helpbest.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpbest.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index 8ce00f1237..8d6af32023 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "helpchm.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/helpwin.cpp b/src/msw/helpwin.cpp index a507852e1e..d4a0fec524 100644 --- a/src/msw/helpwin.cpp +++ b/src/msw/helpwin.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "helpwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/icon.cpp b/src/msw/icon.cpp index 75be5af852..eea8648611 100644 --- a/src/msw/icon.cpp +++ b/src/msw/icon.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "icon.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/imaglist.cpp b/src/msw/imaglist.cpp index 46cb341d12..fa6c0c235b 100644 --- a/src/msw/imaglist.cpp +++ b/src/msw/imaglist.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "imaglist.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index 804baf73b6..a1ec974ce4 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "iniconf.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 2ce94a516b..994fbdba10 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 7f60baf98b..63917c59fe 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "listbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 0a61e93b00..b2a02397ae 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "listctrl.h" - #pragma implementation "listctrlbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 00736a1394..cf3f857cf2 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index b56ce1db5a..003a7093f1 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "mdi.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 8dc394f671..aeb6eb155c 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "menu.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index a0b6216bba..93af4c1c39 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "menuitem.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index 15a5e6716f..bf1f6f12a7 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "metafile.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/microwin.c b/src/msw/microwin.c index 3921366efc..e4e82e7334 100644 --- a/src/msw/microwin.c +++ b/src/msw/microwin.c @@ -11,10 +11,6 @@ */ -#ifdef __GNUG__ - #pragma implementation "microwin.h" -#endif - #include "mwtypes.h" #include "windows.h" #include "wintern.h" diff --git a/src/msw/mimetype.cpp b/src/msw/mimetype.cpp index a453c99079..8322d064a7 100644 --- a/src/msw/mimetype.cpp +++ b/src/msw/mimetype.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "mimetype.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/minifram.cpp b/src/msw/minifram.cpp index 22ddb6aafc..a12f650c32 100644 --- a/src/msw/minifram.cpp +++ b/src/msw/minifram.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index af52a3d595..d4a517d93f 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "msgdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index be480f683f..bb40b481c0 100644 --- a/src/msw/mslu.cpp +++ b/src/msw/mslu.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/nativdlg.cpp b/src/msw/nativdlg.cpp index 9b355301e9..e38b2ffebc 100644 --- a/src/msw/nativdlg.cpp +++ b/src/msw/nativdlg.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index 3451a87c66..7463924df0 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "notebook.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index 157a4200bb..2b9c0f73e3 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "automtn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index 6d3eab9a3c..803854c9e5 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index 8f0ab7e6f4..7567aa11ba 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dropsrc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ole/droptgt.cpp b/src/msw/ole/droptgt.cpp index c24d9d4008..a7c8a213b3 100644 --- a/src/msw/ole/droptgt.cpp +++ b/src/msw/ole/droptgt.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "droptgt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ole/oleutils.cpp b/src/msw/ole/oleutils.cpp index f762aacb88..c32c9ba907 100644 --- a/src/msw/ole/oleutils.cpp +++ b/src/msw/ole/oleutils.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "oleutils.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ole/uuid.cpp b/src/msw/ole/uuid.cpp index 49f4cf5e19..ad8c738fd5 100644 --- a/src/msw/ole/uuid.cpp +++ b/src/msw/ole/uuid.cpp @@ -13,10 +13,6 @@ // Declarations // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "uuid.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/ownerdrw.cpp b/src/msw/ownerdrw.cpp index fc92fe7a0c..a6983e9247 100644 --- a/src/msw/ownerdrw.cpp +++ b/src/msw/ownerdrw.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #include "wx/msw/private.h" diff --git a/src/msw/palette.cpp b/src/msw/palette.cpp index 48d8a76150..94460a0dbb 100644 --- a/src/msw/palette.cpp +++ b/src/msw/palette.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "palette.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index 993af83b62..752fd2e0bf 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/penwin.cpp b/src/msw/penwin.cpp index 3545a28bda..ca1e639ba6 100644 --- a/src/msw/penwin.cpp +++ b/src/msw/penwin.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/popupwin.cpp b/src/msw/popupwin.cpp index 9f79fe8f8f..b4baec98d5 100644 --- a/src/msw/popupwin.cpp +++ b/src/msw/popupwin.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "popup.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/printdlg.cpp b/src/msw/printdlg.cpp index 712b0d374a..558759c896 100644 --- a/src/msw/printdlg.cpp +++ b/src/msw/printdlg.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "printdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index ea9b16ab5a..16fe516fdb 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "printwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 49a90402f8..a4d6015a8a 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "radiobox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/radiobut.cpp b/src/msw/radiobut.cpp index e7d08e743f..b4dcbf9091 100644 --- a/src/msw/radiobut.cpp +++ b/src/msw/radiobut.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "radiobut.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index d9c5fd5aae..16b7919c57 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "regconf.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/region.cpp b/src/msw/region.cpp index 4da2054b10..1e6b26aded 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "region.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 4d3dc28b9b..96a1ca1e66 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -12,10 +12,6 @@ // - add high level functions (RegisterOleServer, ...) /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "registry.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/scrolbar.cpp b/src/msw/scrolbar.cpp index c2c09aaab0..1ae74b0f9d 100644 --- a/src/msw/scrolbar.cpp +++ b/src/msw/scrolbar.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "scrolbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index 10266f727f..1ed932e463 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slider95.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/slidrmsw.cpp b/src/msw/slidrmsw.cpp index d7171c5702..afa9d7441e 100644 --- a/src/msw/slidrmsw.cpp +++ b/src/msw/slidrmsw.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "slidrmsw.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/snglinst.cpp b/src/msw/snglinst.cpp index ab93c3d66b..f4a73e9839 100644 --- a/src/msw/snglinst.cpp +++ b/src/msw/snglinst.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "snglinst.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/spawnbrowser.cpp b/src/msw/spawnbrowser.cpp index 80bb1becd7..32dff18a4a 100644 --- a/src/msw/spawnbrowser.cpp +++ b/src/msw/spawnbrowser.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "spawnbrowser.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 662a102242..2230b58fda 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "spinbutt.h" - #pragma implementation "spinbutbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index 33b66d1616..f80516a1e1 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -13,11 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "spinctrlbase.h" - #pragma implementation "spinctrl.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index 0c62a6f051..ddff3a343f 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statbmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index fb017bd219..6d403fa322 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 45d66c2fcf..fdac5ce7bd 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbr95.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/statline.cpp b/src/msw/statline.cpp index 088e4e2d39..a464dfed04 100644 --- a/src/msw/statline.cpp +++ b/src/msw/statline.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/stattext.cpp b/src/msw/stattext.cpp index 11827a27d9..ffe6ee5f82 100644 --- a/src/msw/stattext.cpp +++ b/src/msw/stattext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "stattext.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index ca20922f8b..3dd50abe0e 100644 --- a/src/msw/tabctrl.cpp +++ b/src/msw/tabctrl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "tabctrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index fb6344c305..123d89ddb7 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "taskbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index b361fe8fc8..ca163756d3 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tbar95.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/tbarmsw.cpp b/src/msw/tbarmsw.cpp index 92b60a0fa1..e8525a4af8 100644 --- a/src/msw/tbarmsw.cpp +++ b/src/msw/tbarmsw.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "tbarmsw.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index b6f3a8e588..46d92213c0 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "textctrl.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 3f0a117ab8..4af9bdc7d8 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 57dfbbb53d..afdd36789f 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "timer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 81d9c861f7..ce7e4f8a84 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 2a50d67044..c7856b8f28 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "treectrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 25eebf2b0d..c250a16c4e 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ -// #pragma implementation "utils.h" // Note: this is done in utilscmn.cpp now. -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/utilsexc.cpp b/src/msw/utilsexc.cpp index ae26542774..5429fb5433 100644 --- a/src/msw/utilsexc.cpp +++ b/src/msw/utilsexc.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/uxtheme.cpp b/src/msw/uxtheme.cpp index 6c5e358bbf..0b8d43bfe0 100644 --- a/src/msw/uxtheme.cpp +++ b/src/msw/uxtheme.cpp @@ -16,10 +16,6 @@ * __stdcall calling convention */ -#ifdef __GNUG__ -#pragma implementation "uxtheme.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index 628dc4e66c..7277da8798 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fsvolume.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/msw/wave.cpp b/src/msw/wave.cpp index 8c89a7c970..695a153baa 100644 --- a/src/msw/wave.cpp +++ b/src/msw/wave.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wave.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 5cbd1d5f42..ec57ab8a20 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "window.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 10cf486e4f..4c0339c6b1 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/bitmap.cpp b/src/os2/bitmap.cpp index 76b31572f2..80bf00912e 100644 --- a/src/os2/bitmap.cpp +++ b/src/os2/bitmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "bitmap.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/control.cpp b/src/os2/control.cpp index e161f7714d..5dbbb1ddd5 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "control.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/dataobj.cpp b/src/os2/dataobj.cpp index b6738a028d..baa6354000 100644 --- a/src/os2/dataobj.cpp +++ b/src/os2/dataobj.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/dcscreen.cpp b/src/os2/dcscreen.cpp index 36f65d1de7..4cf8dcc35b 100644 --- a/src/os2/dcscreen.cpp +++ b/src/os2/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/dir.cpp b/src/os2/dir.cpp index 9bb2087162..5946169bb0 100644 --- a/src/os2/dir.cpp +++ b/src/os2/dir.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/dirdlg.cpp b/src/os2/dirdlg.cpp index c4a85eef97..915fda9f91 100644 --- a/src/os2/dirdlg.cpp +++ b/src/os2/dirdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dirdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index 463d738fa9..cf9ec77a29 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dnd.h" -#endif - #define INCL_PM #define INCL_DOS #include diff --git a/src/os2/evtloop.cpp b/src/os2/evtloop.cpp index 919d51e4cf..3ff0887c63 100644 --- a/src/os2/evtloop.cpp +++ b/src/os2/evtloop.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "evtloop.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/fontenum.cpp b/src/os2/fontenum.cpp index 26a1043932..bc30277478 100644 --- a/src/os2/fontenum.cpp +++ b/src/os2/fontenum.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontenum.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/fontutil.cpp b/src/os2/fontutil.cpp index 8437a71312..2a0a726704 100644 --- a/src/os2/fontutil.cpp +++ b/src/os2/fontutil.cpp @@ -21,10 +21,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontutil.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/gdiimage.cpp b/src/os2/gdiimage.cpp index 0544b8b202..57a5e9b74c 100644 --- a/src/os2/gdiimage.cpp +++ b/src/os2/gdiimage.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "gdiimage.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/menu.cpp b/src/os2/menu.cpp index ee1f033062..9c0adc0137 100644 --- a/src/os2/menu.cpp +++ b/src/os2/menu.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "menu.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/menuitem.cpp b/src/os2/menuitem.cpp index 91c6e9d975..3341ff4586 100644 --- a/src/os2/menuitem.cpp +++ b/src/os2/menuitem.cpp @@ -13,10 +13,6 @@ // headers & declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "menuitem.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/msgdlg.cpp b/src/os2/msgdlg.cpp index 8aaa2313cc..c581c99553 100644 --- a/src/os2/msgdlg.cpp +++ b/src/os2/msgdlg.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "msgdlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/ownerdrw.cpp b/src/os2/ownerdrw.cpp index 3d8eb95ce0..bf7b34b146 100644 --- a/src/os2/ownerdrw.cpp +++ b/src/os2/ownerdrw.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/popupwin.cpp b/src/os2/popupwin.cpp index 7ffb1164f8..4ac4b93f38 100644 --- a/src/os2/popupwin.cpp +++ b/src/os2/popupwin.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "popup.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/spinbutt.cpp b/src/os2/spinbutt.cpp index 0bd30bf97c..a684682e36 100644 --- a/src/os2/spinbutt.cpp +++ b/src/os2/spinbutt.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "spinbutt.h" - #pragma implementation "spinbutbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/spinctrl.cpp b/src/os2/spinctrl.cpp index 938692dccd..d6be21f948 100644 --- a/src/os2/spinctrl.cpp +++ b/src/os2/spinctrl.cpp @@ -13,12 +13,6 @@ // declarations // ============================================================================ - -#ifdef __GNUG__ - #pragma implementation "spinctrlbase.h" - #pragma implementation "spinctrl.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/os2/statbmp.cpp b/src/os2/statbmp.cpp index 7dbfa69b0a..5ff36e8cd1 100644 --- a/src/os2/statbmp.cpp +++ b/src/os2/statbmp.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "statbmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/statline.cpp b/src/os2/statline.cpp index cd3343c3be..abc59162f3 100644 --- a/src/os2/statline.cpp +++ b/src/os2/statline.cpp @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statline.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/stattext.cpp b/src/os2/stattext.cpp index d5cfd5c9e4..dfda4abeae 100644 --- a/src/os2/stattext.cpp +++ b/src/os2/stattext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "stattext.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/thread.cpp b/src/os2/thread.cpp index 5c73b1a6ce..7117820add 100644 --- a/src/os2/thread.cpp +++ b/src/os2/thread.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/os2/timer.cpp b/src/os2/timer.cpp index f102ace512..59c2e75325 100644 --- a/src/os2/timer.cpp +++ b/src/os2/timer.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "timer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/os2/toplevel.cpp b/src/os2/toplevel.cpp index b89d8c5baf..b37df4c00c 100644 --- a/src/os2/toplevel.cpp +++ b/src/os2/toplevel.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/bmpbuttn.cpp b/src/univ/bmpbuttn.cpp index f73fb8cd96..b16990eee7 100644 --- a/src/univ/bmpbuttn.cpp +++ b/src/univ/bmpbuttn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univbmpbuttn.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/button.cpp b/src/univ/button.cpp index 4bde5f3b96..884618d49d 100644 --- a/src/univ/button.cpp +++ b/src/univ/button.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univbutton.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/checkbox.cpp b/src/univ/checkbox.cpp index c9a95a6318..282e461b5e 100644 --- a/src/univ/checkbox.cpp +++ b/src/univ/checkbox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univcheckbox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/checklst.cpp b/src/univ/checklst.cpp index 347c3766f7..904ced7e6a 100644 --- a/src/univ/checklst.cpp +++ b/src/univ/checklst.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univchecklst.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/choice.cpp b/src/univ/choice.cpp index 7af8af88e4..e7b5e8d6a0 100644 --- a/src/univ/choice.cpp +++ b/src/univ/choice.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univchoice.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/colschem.cpp b/src/univ/colschem.cpp index 3339b53c21..ac76f6560d 100644 --- a/src/univ/colschem.cpp +++ b/src/univ/colschem.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "colschem.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/combobox.cpp b/src/univ/combobox.cpp index a60803a140..b32898399d 100644 --- a/src/univ/combobox.cpp +++ b/src/univ/combobox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univcombobox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/control.cpp b/src/univ/control.cpp index 6cb253344b..bffc6fefad 100644 --- a/src/univ/control.cpp +++ b/src/univ/control.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "control.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/univ/dialog.cpp b/src/univ/dialog.cpp index 6b42e73d02..c89b0e3f31 100644 --- a/src/univ/dialog.cpp +++ b/src/univ/dialog.cpp @@ -14,10 +14,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univdialog.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/framuniv.cpp b/src/univ/framuniv.cpp index d4c06aa36b..403b136357 100644 --- a/src/univ/framuniv.cpp +++ b/src/univ/framuniv.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univframe.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index 16e38f7e69..20f6ac6d5d 100644 --- a/src/univ/gauge.cpp +++ b/src/univ/gauge.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "gaugeuniv.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/inpcons.cpp b/src/univ/inpcons.cpp index 7844f2d044..e645d26d6e 100644 --- a/src/univ/inpcons.cpp +++ b/src/univ/inpcons.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "inpcons.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/src/univ/inphand.cpp b/src/univ/inphand.cpp index 995b245870..34b04823c8 100644 --- a/src/univ/inphand.cpp +++ b/src/univ/inphand.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "inphand.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index f0f783992a..ee34775594 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univlistbox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index 62dc90a1c8..5919fedd90 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univmenuitem.h" - #pragma implementation "univmenu.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index da6d4b486f..10afe7e3e3 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univnotebook.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/radiobox.cpp b/src/univ/radiobox.cpp index 3ad1c07304..a9530d73fb 100644 --- a/src/univ/radiobox.cpp +++ b/src/univ/radiobox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univradiobox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/radiobut.cpp b/src/univ/radiobut.cpp index c272d76264..5073bb73d5 100644 --- a/src/univ/radiobut.cpp +++ b/src/univ/radiobut.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univradiobut.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/renderer.cpp b/src/univ/renderer.cpp index 0021d3f2f8..d95051f28d 100644 --- a/src/univ/renderer.cpp +++ b/src/univ/renderer.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "renderer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/scrarrow.cpp b/src/univ/scrarrow.cpp index 22f42060b7..a963ac410f 100644 --- a/src/univ/scrarrow.cpp +++ b/src/univ/scrarrow.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univscrarrow.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/scrolbar.cpp b/src/univ/scrolbar.cpp index 16fc367cdf..be8e140cdc 100644 --- a/src/univ/scrolbar.cpp +++ b/src/univ/scrolbar.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univscrolbar.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/scrthumb.cpp b/src/univ/scrthumb.cpp index 4d46b9c35b..6165550c5a 100644 --- a/src/univ/scrthumb.cpp +++ b/src/univ/scrthumb.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univscrthumb.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/slider.cpp b/src/univ/slider.cpp index 8381f531a6..34ab1ceec8 100644 --- a/src/univ/slider.cpp +++ b/src/univ/slider.cpp @@ -42,10 +42,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univslider.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/spinbutt.cpp b/src/univ/spinbutt.cpp index 08edc83639..468880df89 100644 --- a/src/univ/spinbutt.cpp +++ b/src/univ/spinbutt.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "spinbutt.h" - #pragma implementation "univspinbutt.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/statbmp.cpp b/src/univ/statbmp.cpp index 39282b88d0..39e73f3152 100644 --- a/src/univ/statbmp.cpp +++ b/src/univ/statbmp.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univstatbmp.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/statbox.cpp b/src/univ/statbox.cpp index 3c8b948466..9eb7641156 100644 --- a/src/univ/statbox.cpp +++ b/src/univ/statbox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univstatbox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/statline.cpp b/src/univ/statline.cpp index 4f6e832458..bb40221bdb 100644 --- a/src/univ/statline.cpp +++ b/src/univ/statline.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univstatline.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index 5bb880a96e..c33f52a522 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univstattext.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index 59e46ccad3..c25f1d2dd1 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univstatusbr.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 06eb991243..f49a2a3ccc 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -117,10 +117,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univtextctrl.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index d110c5bf0b..1ddbf7d396 100644 --- a/src/univ/theme.cpp +++ b/src/univ/theme.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "theme.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/toolbar.cpp b/src/univ/toolbar.cpp index f8e1944a72..a9b801f7e4 100644 --- a/src/univ/toolbar.cpp +++ b/src/univ/toolbar.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univtoolbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index 35debbc1fe..4cbe3e3d4a 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -14,10 +14,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univtoplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/univ/winuniv.cpp b/src/univ/winuniv.cpp index 032147890a..c6ca3c4032 100644 --- a/src/univ/winuniv.cpp +++ b/src/univ/winuniv.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univwindow.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index f0bb49e961..8477a353e2 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -11,10 +11,6 @@ #include "wx/setup.h" -#ifdef __GNUG__ -# pragma implementation "dialup.h" -#endif - #if wxUSE_DIALUP_MANAGER #ifndef WX_PRECOMP diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index 7ef3fb1ba6..827c01fb33 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index 9f5618be99..b7d15eb269 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontenum.h" -#endif - #include "wx/defs.h" #include "wx/dynarray.h" #include "wx/string.h" diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index 5cb29cba4f..fcd9c57cb8 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "fontutil.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index b96e3e6486..91b14c196d 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -40,10 +40,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "mimetype.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/unix/snglinst.cpp b/src/unix/snglinst.cpp index 8ccedd75df..19a6e7158b 100644 --- a/src/unix/snglinst.cpp +++ b/src/unix/snglinst.cpp @@ -18,10 +18,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "snglinst.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index bdb51c7212..abb4f828d7 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -21,10 +21,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "thread.h" -#endif - #include "wx/defs.h" #if wxUSE_THREADS diff --git a/src/x11/app.cpp b/src/x11/app.cpp index fbbbdd1d50..8b09799a12 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "app.h" -#endif - #include "wx/frame.h" #include "wx/app.h" #include "wx/utils.h" diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index 8663744e46..779c97dde7 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #include "wx/bitmap.h" #include "wx/icon.h" #include "wx/log.h" diff --git a/src/x11/brush.cpp b/src/x11/brush.cpp index 7f524c4155..27893ce4f4 100644 --- a/src/x11/brush.cpp +++ b/src/x11/brush.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "brush.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/brush.h" diff --git a/src/x11/clipbrd.cpp b/src/x11/clipbrd.cpp index bb143dcc1f..ee100b5bcf 100644 --- a/src/x11/clipbrd.cpp +++ b/src/x11/clipbrd.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "clipbrd.h" -#endif - #include "wx/clipbrd.h" #if wxUSE_CLIPBOARD diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index e10c2f486b..4e6bde045f 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifdef __GNUG__ -#pragma implementation "colour.h" -#endif - #include "wx/gdicmn.h" #include "wx/app.h" diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 75b19b491d..7c1a6dc4ba 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/cursor.h" #include "wx/gdicmn.h" #include "wx/icon.h" diff --git a/src/x11/data.cpp b/src/x11/data.cpp index ffd29c7587..5d3c7b2094 100644 --- a/src/x11/data.cpp +++ b/src/x11/data.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - #include "wx/wx.h" #include "wx/dcps.h" diff --git a/src/x11/dataobj.cpp b/src/x11/dataobj.cpp index 548bbe151f..7b54bf1b28 100644 --- a/src/x11/dataobj.cpp +++ b/src/x11/dataobj.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dataobj.h" -#endif - #include "wx/defs.h" #include "wx/dataobj.h" diff --git a/src/x11/dc.cpp b/src/x11/dc.cpp index aeef76c8fd..dee54b3f41 100644 --- a/src/x11/dc.cpp +++ b/src/x11/dc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dc.h" -#endif - #include "wx/dc.h" #include "wx/dcmemory.h" #include "wx/defs.h" diff --git a/src/x11/dcclient.cpp b/src/x11/dcclient.cpp index 162a8c7153..253bc02c06 100644 --- a/src/x11/dcclient.cpp +++ b/src/x11/dcclient.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "dcclient.h" -#endif - #include "wx/dcclient.h" #include "wx/dcmemory.h" #include "wx/window.h" diff --git a/src/x11/dcmemory.cpp b/src/x11/dcmemory.cpp index 34cc5f0753..5847419c0f 100644 --- a/src/x11/dcmemory.cpp +++ b/src/x11/dcmemory.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcmemory.h" -#endif - #include "wx/dcmemory.h" #include "wx/settings.h" #include "wx/utils.h" diff --git a/src/x11/dcscreen.cpp b/src/x11/dcscreen.cpp index 58f24d50ca..cd776d963d 100644 --- a/src/x11/dcscreen.cpp +++ b/src/x11/dcscreen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dcscreen.h" -#endif - #include "wx/window.h" #include "wx/frame.h" #include "wx/dcscreen.h" diff --git a/src/x11/dnd.cpp b/src/x11/dnd.cpp index f4a9cefec7..798af946bd 100644 --- a/src/x11/dnd.cpp +++ b/src/x11/dnd.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dnd.h" -#endif - #include "wx/setup.h" #if wxUSE_DRAG_AND_DROP diff --git a/src/x11/evtloop.cpp b/src/x11/evtloop.cpp index aaf03464a3..28a81656f8 100644 --- a/src/x11/evtloop.cpp +++ b/src/x11/evtloop.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "evtloop.h" -#endif - #include "wx/window.h" #include "wx/app.h" #include "wx/evtloop.h" diff --git a/src/x11/font.cpp b/src/x11/font.cpp index 8cd3bba65c..c5c6020590 100644 --- a/src/x11/font.cpp +++ b/src/x11/font.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "font.h" -#endif - #ifdef __VMS #pragma message disable nosimpint #include "wx/vms_x_fix.h" diff --git a/src/x11/gdiobj.cpp b/src/x11/gdiobj.cpp index 63613b5727..00289e33d8 100644 --- a/src/x11/gdiobj.cpp +++ b/src/x11/gdiobj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "gdiobj.h" -#endif - #include "wx/gdiobj.h" IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject) diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index cac1674d9f..b353b9376e 100644 --- a/src/x11/glcanvas.cpp +++ b/src/x11/glcanvas.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/setup.h" #if wxUSE_GLCANVAS diff --git a/src/x11/icon.cpp b/src/x11/icon.cpp index e563e7b548..b74a3ca7d6 100644 --- a/src/x11/icon.cpp +++ b/src/x11/icon.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - #include "wx/icon.h" #include "wx/window.h" diff --git a/src/x11/joystick.cpp b/src/x11/joystick.cpp index 9b7a84dfbc..8840ec82e3 100644 --- a/src/x11/joystick.cpp +++ b/src/x11/joystick.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "joystick.h" -#endif - // Not implemented in X11 #if 0 diff --git a/src/x11/minifram.cpp b/src/x11/minifram.cpp index 1161e3de57..d1aabac578 100644 --- a/src/x11/minifram.cpp +++ b/src/x11/minifram.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "minifram.h" -#endif - #include "wx/minifram.h" IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame) diff --git a/src/x11/nanox.c b/src/x11/nanox.c index 0aafc49442..2de287f149 100644 --- a/src/x11/nanox.c +++ b/src/x11/nanox.c @@ -8,10 +8,6 @@ #if wxUSE_NANOX -#ifdef __GNUG__ -#pragma implementation "Xlib.h" -#endif - #include #include #include diff --git a/src/x11/palette.cpp b/src/x11/palette.cpp index 8ee782b8e4..90e25a08fc 100644 --- a/src/x11/palette.cpp +++ b/src/x11/palette.cpp @@ -34,10 +34,6 @@ recommended; only the window manager should do this... Also, it is not the functionality that wxPalette::Create() aims to provide. */ -#ifdef __GNUG__ -#pragma implementation "palette.h" -#endif - #include "wx/palette.h" #include "wx/window.h" #include "wx/app.h" diff --git a/src/x11/pen.cpp b/src/x11/pen.cpp index 339ef203f5..57ea9bae68 100644 --- a/src/x11/pen.cpp +++ b/src/x11/pen.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "pen.h" -#endif - #include "wx/setup.h" #include "wx/utils.h" #include "wx/pen.h" diff --git a/src/x11/popupwin.cpp b/src/x11/popupwin.cpp index 89991df729..ed75b3f2dc 100644 --- a/src/x11/popupwin.cpp +++ b/src/x11/popupwin.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "popupwin.h" -#endif - #include "wx/defs.h" #if wxUSE_POPUPWIN diff --git a/src/x11/region.cpp b/src/x11/region.cpp index 0b5130d9be..79dfa756c7 100644 --- a/src/x11/region.cpp +++ b/src/x11/region.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "region.h" -#endif - #include "wx/region.h" #include "wx/gdicmn.h" #include "wx/log.h" diff --git a/src/x11/reparent.cpp b/src/x11/reparent.cpp index 50eb66f560..12a9a06a4b 100644 --- a/src/x11/reparent.cpp +++ b/src/x11/reparent.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "reparent.h" -#endif - #include "wx/setup.h" #if !wxUSE_NANOX diff --git a/src/x11/settings.cpp b/src/x11/settings.cpp index ef5de6e208..94da0cbfba 100644 --- a/src/x11/settings.cpp +++ b/src/x11/settings.cpp @@ -13,10 +13,6 @@ // per-user file, which can be edited using a Windows-control-panel clone. // Also they should be documented better. Some are very MS Windows-ish. -#ifdef __GNUG__ -#pragma implementation "settings.h" -#endif - #include "wx/settings.h" #include "wx/gdicmn.h" #include "wx/x11/private.h" diff --git a/src/x11/textctrl.cpp b/src/x11/textctrl.cpp index c3b1b6411f..c8c8eff1d3 100644 --- a/src/x11/textctrl.cpp +++ b/src/x11/textctrl.cpp @@ -7,10 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "textctrl.h" -#endif - #include "wx/textctrl.h" #include "wx/utils.h" #include "wx/intl.h" diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index 21fdac3bac..4c3dfd52d2 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "toplevel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/x11/window.cpp b/src/x11/window.cpp index d47e7cde11..962d1b91c4 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "window.h" -#endif - #include "wx/setup.h" #include "wx/menu.h" #include "wx/dc.h" diff --git a/src/xrc/xh_bmp.cpp b/src/xrc/xh_bmp.cpp index 0e4955031c..d0df7d413f 100644 --- a/src/xrc/xh_bmp.cpp +++ b/src/xrc/xh_bmp.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_bmpbt.cpp b/src/xrc/xh_bmpbt.cpp index b0500ed45e..d77af3e3dd 100644 --- a/src/xrc/xh_bmpbt.cpp +++ b/src/xrc/xh_bmpbt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bmpbt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_bttn.cpp b/src/xrc/xh_bttn.cpp index 432e33ccc9..a6cedcf9f0 100644 --- a/src/xrc/xh_bttn.cpp +++ b/src/xrc/xh_bttn.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bttn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_cald.cpp b/src/xrc/xh_cald.cpp index 70359323c9..d6a7b6a3eb 100644 --- a/src/xrc/xh_cald.cpp +++ b/src/xrc/xh_cald.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_cald.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_chckb.cpp b/src/xrc/xh_chckb.cpp index 35086f42b3..9237519ec0 100644 --- a/src/xrc/xh_chckb.cpp +++ b/src/xrc/xh_chckb.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_chckb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index 48a55892c2..f68a8ff1ad 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_chckl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_choic.cpp b/src/xrc/xh_choic.cpp index f2dd0bdb43..0ce677a504 100644 --- a/src/xrc/xh_choic.cpp +++ b/src/xrc/xh_choic.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_choic.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_combo.cpp b/src/xrc/xh_combo.cpp index 2a17231c4f..5417f1f3a9 100644 --- a/src/xrc/xh_combo.cpp +++ b/src/xrc/xh_combo.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_combo.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index 2ef929be65..82b0d60515 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_dlg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index 34327e067e..e083c2b43e 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_frame.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_gauge.cpp b/src/xrc/xh_gauge.cpp index a52b8075aa..abe98be14b 100644 --- a/src/xrc/xh_gauge.cpp +++ b/src/xrc/xh_gauge.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_gauge.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_gdctl.cpp b/src/xrc/xh_gdctl.cpp index afd71480e9..ac4028f4ae 100644 --- a/src/xrc/xh_gdctl.cpp +++ b/src/xrc/xh_gdctl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_gdctl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_html.cpp b/src/xrc/xh_html.cpp index 183e0ae5ef..efd5184b60 100644 --- a/src/xrc/xh_html.cpp +++ b/src/xrc/xh_html.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_html.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_listb.cpp b/src/xrc/xh_listb.cpp index c3c9004d3f..1d3486ff5c 100644 --- a/src/xrc/xh_listb.cpp +++ b/src/xrc/xh_listb.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_listb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_listc.cpp b/src/xrc/xh_listc.cpp index fc25d81bde..447821f1df 100644 --- a/src/xrc/xh_listc.cpp +++ b/src/xrc/xh_listc.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_listc.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_menu.cpp b/src/xrc/xh_menu.cpp index 80a992acfa..751133fefc 100644 --- a/src/xrc/xh_menu.cpp +++ b/src/xrc/xh_menu.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_menu.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_notbk.cpp b/src/xrc/xh_notbk.cpp index b8b459cc82..58ce068bc1 100644 --- a/src/xrc/xh_notbk.cpp +++ b/src/xrc/xh_notbk.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_notbk.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_panel.cpp b/src/xrc/xh_panel.cpp index 2e3ceb7266..3cff4ffa20 100644 --- a/src/xrc/xh_panel.cpp +++ b/src/xrc/xh_panel.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_panel.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_radbt.cpp b/src/xrc/xh_radbt.cpp index a117b1b9d0..8e7963bec9 100644 --- a/src/xrc/xh_radbt.cpp +++ b/src/xrc/xh_radbt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_radbt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_radbx.cpp b/src/xrc/xh_radbx.cpp index f2f229cd9c..ff78cbe4e7 100644 --- a/src/xrc/xh_radbx.cpp +++ b/src/xrc/xh_radbx.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_radbx.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_scrol.cpp b/src/xrc/xh_scrol.cpp index c9bcf49f81..c94126d358 100644 --- a/src/xrc/xh_scrol.cpp +++ b/src/xrc/xh_scrol.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_scrol.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_scwin.cpp b/src/xrc/xh_scwin.cpp index 81c8b31573..614e402f22 100644 --- a/src/xrc/xh_scwin.cpp +++ b/src/xrc/xh_scwin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_scwin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_sizer.cpp b/src/xrc/xh_sizer.cpp index 44a1c002e1..97f4f0599a 100644 --- a/src/xrc/xh_sizer.cpp +++ b/src/xrc/xh_sizer.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_sizer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_slidr.cpp b/src/xrc/xh_slidr.cpp index acf894537d..50d0cf0633 100644 --- a/src/xrc/xh_slidr.cpp +++ b/src/xrc/xh_slidr.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_slidr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_spin.cpp b/src/xrc/xh_spin.cpp index 6419ef5cca..ca825f3dad 100644 --- a/src/xrc/xh_spin.cpp +++ b/src/xrc/xh_spin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_spin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_split.cpp b/src/xrc/xh_split.cpp index 4b23f9ff60..ac13e61b66 100644 --- a/src/xrc/xh_split.cpp +++ b/src/xrc/xh_split.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_split.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index df25e13d9f..21bd930b7b 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_statbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_stbmp.cpp b/src/xrc/xh_stbmp.cpp index b1ccad90f5..d74d30f2f1 100644 --- a/src/xrc/xh_stbmp.cpp +++ b/src/xrc/xh_stbmp.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_stbmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_stbox.cpp b/src/xrc/xh_stbox.cpp index 1cac4fb6e3..7787f53f16 100644 --- a/src/xrc/xh_stbox.cpp +++ b/src/xrc/xh_stbox.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_stbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_stlin.cpp b/src/xrc/xh_stlin.cpp index 340dc4e945..a7296b1811 100644 --- a/src/xrc/xh_stlin.cpp +++ b/src/xrc/xh_stlin.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_stlin.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index 955642ed64..f4787ec6a7 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_sttxt.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_text.cpp b/src/xrc/xh_text.cpp index a6d1c711c1..4ae2eaa8fd 100644 --- a/src/xrc/xh_text.cpp +++ b/src/xrc/xh_text.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_text.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_toolb.cpp b/src/xrc/xh_toolb.cpp index ad772ee357..80a75c163f 100644 --- a/src/xrc/xh_toolb.cpp +++ b/src/xrc/xh_toolb.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_toolb.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index ada2a31489..865b563744 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_tree.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_unkwn.cpp b/src/xrc/xh_unkwn.cpp index 1d3d7ce023..45d889e38e 100644 --- a/src/xrc/xh_unkwn.cpp +++ b/src/xrc/xh_unkwn.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_unkwn.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xh_wizrd.cpp b/src/xrc/xh_wizrd.cpp index 958845ba64..5dd6ac8b54 100644 --- a/src/xrc/xh_wizrd.cpp +++ b/src/xrc/xh_wizrd.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_wizrd.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xml.cpp b/src/xrc/xml.cpp index 62abce457a..072bfd48dd 100644 --- a/src/xrc/xml.cpp +++ b/src/xrc/xml.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xml.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index 34c7f505e4..4bb0875199 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xmlres.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 0b180c5cbf..4f0814f3dd 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -// -- Already done in xmlres.cpp -//#ifdef __GNUG__ -//#pragma implementation "xmlres.h" -//#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/HelpGen/src/cjparser.cpp b/utils/HelpGen/src/cjparser.cpp index 1d87c02449..49da80b2a7 100644 --- a/utils/HelpGen/src/cjparser.cpp +++ b/utils/HelpGen/src/cjparser.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "acell.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/HelpGen/src/ifcontext.cpp b/utils/HelpGen/src/ifcontext.cpp index 79f9c72a44..8b347d78f5 100644 --- a/utils/HelpGen/src/ifcontext.cpp +++ b/utils/HelpGen/src/ifcontext.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "ifcontext.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/HelpGen/src/srcparser.cpp b/utils/HelpGen/src/srcparser.cpp index b0c12f40f4..d38bb13dfc 100644 --- a/utils/HelpGen/src/srcparser.cpp +++ b/utils/HelpGen/src/srcparser.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -# pragma implementation "srcparser.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/dialoged.cpp b/utils/dialoged/src/dialoged.cpp index 38fed8742a..b02aca5161 100644 --- a/utils/dialoged/src/dialoged.cpp +++ b/utils/dialoged/src/dialoged.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dialoged.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index 505ffa8888..51286fda4a 100644 --- a/utils/dialoged/src/dialoged.h +++ b/utils/dialoged/src/dialoged.h @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "dialoged.h" -#endif - #ifndef dialogedh #define dialogedh diff --git a/utils/dialoged/src/dlghndlr.cpp b/utils/dialoged/src/dlghndlr.cpp index f6d3358712..68a715242e 100644 --- a/utils/dialoged/src/dlghndlr.cpp +++ b/utils/dialoged/src/dlghndlr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/edlist.cpp b/utils/dialoged/src/edlist.cpp index 205a6fd153..e98a4a48f8 100644 --- a/utils/dialoged/src/edlist.cpp +++ b/utils/dialoged/src/edlist.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "edlist.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/edtree.cpp b/utils/dialoged/src/edtree.cpp index 26babac2e5..7a44062a68 100644 --- a/utils/dialoged/src/edtree.cpp +++ b/utils/dialoged/src/edtree.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "edtree.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/reseditr.cpp b/utils/dialoged/src/reseditr.cpp index 2bf9a8d487..453d60e9b3 100644 --- a/utils/dialoged/src/reseditr.cpp +++ b/utils/dialoged/src/reseditr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "reseditr.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/reseditr.h b/utils/dialoged/src/reseditr.h index a57d56d560..21b0552042 100644 --- a/utils/dialoged/src/reseditr.h +++ b/utils/dialoged/src/reseditr.h @@ -14,10 +14,6 @@ #define wxDIALOG_EDITOR_VERSION 2.1 -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "reseditr.h" -#endif - #include "wx/wx.h" #include "wx/string.h" #include "wx/layout.h" diff --git a/utils/dialoged/src/reswrite.cpp b/utils/dialoged/src/reswrite.cpp index 70b1dbf1bc..5ab9c4bfae 100644 --- a/utils/dialoged/src/reswrite.cpp +++ b/utils/dialoged/src/reswrite.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/symbtabl.cpp b/utils/dialoged/src/symbtabl.cpp index 05c160ac41..83374114f8 100644 --- a/utils/dialoged/src/symbtabl.cpp +++ b/utils/dialoged/src/symbtabl.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "symbtabl.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/symbtabl.h b/utils/dialoged/src/symbtabl.h index 1b4657a5ec..6a8ea7e216 100644 --- a/utils/dialoged/src/symbtabl.h +++ b/utils/dialoged/src/symbtabl.h @@ -12,10 +12,6 @@ #ifndef _SYMBTABL_H_ #define _SYMBTABL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "symbtabl.h" -#endif - class wxResourceSymbolTable: public wxObject { public: diff --git a/utils/dialoged/src/winprop.cpp b/utils/dialoged/src/winprop.cpp index 5e853be147..b9629b32e4 100644 --- a/utils/dialoged/src/winprop.cpp +++ b/utils/dialoged/src/winprop.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "winprop.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/winprop.h b/utils/dialoged/src/winprop.h index 78ce963960..7dc23132ba 100644 --- a/utils/dialoged/src/winprop.h +++ b/utils/dialoged/src/winprop.h @@ -12,10 +12,6 @@ #ifndef _WINPROP_H_ #define _WINPROP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "winprop.h" -#endif - #include "reseditr.h" class wxPropertyInfo; diff --git a/utils/dialoged/src/winstyle.cpp b/utils/dialoged/src/winstyle.cpp index 7d09211b5f..5deefa8147 100644 --- a/utils/dialoged/src/winstyle.cpp +++ b/utils/dialoged/src/winstyle.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "winstyle.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/dialoged/src/winstyle.h b/utils/dialoged/src/winstyle.h index 9ba788a2a0..99be0595c0 100644 --- a/utils/dialoged/src/winstyle.h +++ b/utils/dialoged/src/winstyle.h @@ -12,10 +12,6 @@ #ifndef _DE_WINSTYLE_H_ #define _DE_WINSTYLE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "winstyle.h" -#endif - #include "wx/wx.h" /* diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index 785bc8bda7..49a2cc9bce 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#ifdef __GNUG__ - #pragma implementation "emulator.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- diff --git a/utils/emulator/src/emulator.h b/utils/emulator/src/emulator.h index 5e14259c65..5716d7145a 100644 --- a/utils/emulator/src/emulator.h +++ b/utils/emulator/src/emulator.h @@ -12,10 +12,6 @@ #ifndef _WX_EMULATOR_H_ #define _WX_EMULATOR_H_ -#ifdef __GNUG__ - #pragma interface "emulator.h" -#endif - #define wxEMULATOR_VERSION 0.1 // Information about the emulator decorations diff --git a/utils/helpview/src/helpview.cpp b/utils/helpview/src/helpview.cpp index 4020230846..06f7d8fa50 100644 --- a/utils/helpview/src/helpview.cpp +++ b/utils/helpview/src/helpview.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "help.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/helpview/src/helpview.h b/utils/helpview/src/helpview.h index e49a93031a..bc5c0db3f2 100644 --- a/utils/helpview/src/helpview.h +++ b/utils/helpview/src/helpview.h @@ -12,10 +12,6 @@ #ifndef _WX_HELPVIEW_H_ #define _WX_HELPVIEW_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "help.cpp" -#endif - #define hvVERSION 1.02 // If 1, start a server to allow this to be used diff --git a/utils/helpview/src/remhelp.cpp b/utils/helpview/src/remhelp.cpp index a1d7f23630..41d25b3b50 100644 --- a/utils/helpview/src/remhelp.cpp +++ b/utils/helpview/src/remhelp.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma implementation remhelp.h -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/helpview/src/remhelp.h b/utils/helpview/src/remhelp.h index b5cdd853fa..b77e0e3175 100644 --- a/utils/helpview/src/remhelp.h +++ b/utils/helpview/src/remhelp.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface remhelp.h -#endif - #ifndef _WX_REMHELP_H_ #define _WX_REMHELP_H_ diff --git a/utils/nplugin/samples/gui/gui.cpp b/utils/nplugin/samples/gui/gui.cpp index 3ae118fda0..77bac8eddc 100644 --- a/utils/nplugin/samples/gui/gui.cpp +++ b/utils/nplugin/samples/gui/gui.cpp @@ -9,11 +9,6 @@ /* static const char sccsid[] = "%W% %G%"; */ -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/utils/nplugin/samples/simple/simple.cpp b/utils/nplugin/samples/simple/simple.cpp index 4e4a83f593..91be8c3d8c 100644 --- a/utils/nplugin/samples/simple/simple.cpp +++ b/utils/nplugin/samples/simple/simple.cpp @@ -9,11 +9,6 @@ /* static const char sccsid[] = "%W% %G%"; */ -#ifdef __GNUG__ -#pragma implementation -#pragma interface -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ diff --git a/utils/projgen/makeproj.cpp b/utils/projgen/makeproj.cpp index 0f0fdf76a9..3f93cfbe38 100644 --- a/utils/projgen/makeproj.cpp +++ b/utils/projgen/makeproj.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "makeproj.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/projgen/makeproj.h b/utils/projgen/makeproj.h index f0e34ab851..d555a38b38 100644 --- a/utils/projgen/makeproj.h +++ b/utils/projgen/makeproj.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "makeproj.h" -#endif - #ifndef _MAKEPROJ_H_ #define _MAKEPROJ_H_ diff --git a/utils/projgen/projgen.h b/utils/projgen/projgen.h index 78b949fb93..f4ac648b37 100644 --- a/utils/projgen/projgen.h +++ b/utils/projgen/projgen.h @@ -44,10 +44,6 @@ TODO: make a list of generic compiler options that each generator should recogni #ifndef _PROJGEN_H_ #define _PROJGEN_H_ -#ifdef __GNUG__ -#pragma interface "projgen.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/hash.h" diff --git a/utils/tex2rtf/src/htmlutil.cpp b/utils/tex2rtf/src/htmlutil.cpp index 16a26b4135..33d45e3eb3 100644 --- a/utils/tex2rtf/src/htmlutil.cpp +++ b/utils/tex2rtf/src/htmlutil.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/readshg.cpp b/utils/tex2rtf/src/readshg.cpp index 2a62d48bc5..8032a19f13 100644 --- a/utils/tex2rtf/src/readshg.cpp +++ b/utils/tex2rtf/src/readshg.cpp @@ -13,10 +13,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/rtfutils.cpp b/utils/tex2rtf/src/rtfutils.cpp index 1fab27399e..3c7bfaa7eb 100644 --- a/utils/tex2rtf/src/rtfutils.cpp +++ b/utils/tex2rtf/src/rtfutils.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/table.cpp b/utils/tex2rtf/src/table.cpp index fa41681140..5bc40d7283 100644 --- a/utils/tex2rtf/src/table.cpp +++ b/utils/tex2rtf/src/table.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/tex2any.cpp b/utils/tex2rtf/src/tex2any.cpp index 64fee2941b..8d6a3acc7e 100644 --- a/utils/tex2rtf/src/tex2any.cpp +++ b/utils/tex2rtf/src/tex2any.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index c7fa8f6a7b..2ab5a393ee 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/texutils.cpp b/utils/tex2rtf/src/texutils.cpp index 746255c5f7..0a0e3899df 100644 --- a/utils/tex2rtf/src/texutils.cpp +++ b/utils/tex2rtf/src/texutils.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/tex2rtf/src/xlputils.cpp b/utils/tex2rtf/src/xlputils.cpp index 217f0416c9..111f691b3f 100644 --- a/utils/tex2rtf/src/xlputils.cpp +++ b/utils/tex2rtf/src/xlputils.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/utils/wxOLE/gtk/wxole.cpp b/utils/wxOLE/gtk/wxole.cpp index aa48f8a614..765e6815eb 100644 --- a/utils/wxOLE/gtk/wxole.cpp +++ b/utils/wxOLE/gtk/wxole.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wxole.h" -#endif - #include "wx/defs.h" #include "wxole.h" diff --git a/utils/wxOLE/gtk/wxole.h b/utils/wxOLE/gtk/wxole.h index 1f765dc507..4c20f03b19 100644 --- a/utils/wxOLE/gtk/wxole.h +++ b/utils/wxOLE/gtk/wxole.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "wxole.h" -#endif - #ifndef _WX_OLE_H_ #define _WX_OLE_H_ diff --git a/utils/wxOLE/samples/servlet/servlet.cpp b/utils/wxOLE/samples/servlet/servlet.cpp index 9e6b2d6416..cfc1f2dcb6 100644 --- a/utils/wxOLE/samples/servlet/servlet.cpp +++ b/utils/wxOLE/samples/servlet/servlet.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ - #pragma implementation "servlet.cpp" - #pragma interface "servlet.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 5820dee366..33a4bc78a1 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation - #pragma interface -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" diff --git a/wxPython/contrib/dllwidget/dllwidget.cpp b/wxPython/contrib/dllwidget/dllwidget.cpp index 025c28b806..03b098c52b 100644 --- a/wxPython/contrib/dllwidget/dllwidget.cpp +++ b/wxPython/contrib/dllwidget/dllwidget.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "dllwidget.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/wxPython/contrib/dllwidget/dllwidget.h b/wxPython/contrib/dllwidget/dllwidget.h index 61263da614..4d9851c372 100644 --- a/wxPython/contrib/dllwidget/dllwidget.h +++ b/wxPython/contrib/dllwidget/dllwidget.h @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "dllwidget.h" -#endif - #ifndef __DLLWIDGET_H__ #define __DLLWIDGET_H__ diff --git a/wxPython/contrib/gizmos/treelistctrl.cpp b/wxPython/contrib/gizmos/treelistctrl.cpp index 1e85d5fa41..e0db2569b2 100644 --- a/wxPython/contrib/gizmos/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/treelistctrl.cpp @@ -18,10 +18,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "treelistctrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" diff --git a/wxPython/contrib/gizmos/treelistctrl.h b/wxPython/contrib/gizmos/treelistctrl.h index a1e75e9ade..36fe3a7744 100644 --- a/wxPython/contrib/gizmos/treelistctrl.h +++ b/wxPython/contrib/gizmos/treelistctrl.h @@ -13,10 +13,6 @@ #ifndef TREELISTCTRL_H #define TREELISTCTRL_H -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "treelistctrl.h" -#endif - #include #include #include diff --git a/wxPython/contrib/glcanvas/msw/myglcanvas.cpp b/wxPython/contrib/glcanvas/msw/myglcanvas.cpp index 59157560fa..f2abce34b2 100644 --- a/wxPython/contrib/glcanvas/msw/myglcanvas.cpp +++ b/wxPython/contrib/glcanvas/msw/myglcanvas.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "glcanvas.h" -#endif - #include "wx/wxprec.h" #if defined(__BORLANDC__) diff --git a/wxPython/contrib/glcanvas/msw/myglcanvas.h b/wxPython/contrib/glcanvas/msw/myglcanvas.h index 2fe7404e2a..f572852e1f 100644 --- a/wxPython/contrib/glcanvas/msw/myglcanvas.h +++ b/wxPython/contrib/glcanvas/msw/myglcanvas.h @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma interface "glcanvas.h" -#endif - #ifndef _WX_GLCANVAS_H_ #define _WX_GLCANVAS_H_