disable use of #pragma interface under Mac OS X

GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-08-31 22:31:03 +00:00
parent 6c5672c0d4
commit 788233da90
26 changed files with 29 additions and 27 deletions

View File

@@ -12,7 +12,7 @@
#ifndef __ARTBROWS_H__
#define __ARTBROWS_H__
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "artbrows.h"
#endif

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "calendar.cpp"
#pragma interface "calendar.cpp"
#endif
@@ -32,6 +32,7 @@
// for all others, include the necessary headers
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
#include "wx/frame.h"
#include "wx/panel.h"
#include "wx/stattext.h"

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "drawing.cpp"
#pragma interface "drawing.cpp"
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "dynamic.cpp"
#pragma interface "dynamic.cpp"
#endif

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "erase.cpp"
#pragma interface "erase.cpp"
#endif

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#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"

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "exec.cpp"
#pragma interface "exec.cpp"
#endif
@@ -33,6 +33,7 @@
// need because it includes almost all "standard" wxWindows headers
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
#include "wx/frame.h"
#include "wx/panel.h"

View File

@@ -3,7 +3,7 @@
// Purpose: wxHtml testing example
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "test.cpp"
#pragma interface "test.cpp"
#endif

View File

@@ -1,10 +1,9 @@
/////////////////////////////////////////////////////////////////////////////
// Name: test.cpp
// Purpose: wxHtml testing example
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "help.cpp"
#pragma interface "help.cpp"
#endif

View File

@@ -6,7 +6,7 @@
// standalone help browser.
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "help.cpp"
#pragma interface "help.cpp"
#endif

View File

@@ -3,7 +3,7 @@
// Purpose: wxHtml testing example
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "test.cpp"
#pragma interface "test.cpp"
#endif

View File

@@ -4,7 +4,7 @@
// demonstrates virtual file systems feature
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "test.cpp"
#pragma interface "test.cpp"
#endif

View File

@@ -4,7 +4,7 @@
// demonstrates virtual file systems feature
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "test.cpp"
#pragma interface "test.cpp"
#endif

View File

@@ -3,7 +3,7 @@
// Purpose: wxHtml testing example
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "test.cpp"
#pragma interface "test.cpp"
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation
#pragma interface
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation
#pragma interface
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined( __GNUG__) && !defined(__APPLE__)
#pragma interface
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface
#endif

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "proplist_sample.h"
#endif

View File

@@ -16,7 +16,7 @@
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "propsize.cpp"
#pragma interface "propsize.cpp"
#endif

View File

@@ -17,7 +17,7 @@
// headers
// --------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
# pragma implementation "client.cpp"
# pragma interface "client.cpp"
#endif

View File

@@ -17,7 +17,7 @@
// headers
// --------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
# pragma implementation "server.cpp"
# pragma interface "server.cpp"
#endif

View File

@@ -31,6 +31,7 @@
// for all others, include the necessary headers
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
#include "wx/frame.h"
#include "wx/statusbr.h"
#include "wx/timer.h"

View File

@@ -17,10 +17,10 @@
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#include "wx/wx.h"
#endif
#include <wx/msw/taskbar.h>
#include "wx/msw/taskbar.h"
#include "tbtest.h"
// Declare two frames

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "typetest.h"
#endif

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "wizard.cpp"
#pragma interface "wizard.cpp"
#endif