Added #pragmas for gcc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-03 16:36:10 +00:00
parent cfe780fb99
commit 0d3820b348
20 changed files with 54 additions and 10 deletions

View File

@@ -14,6 +14,10 @@
#ifndef _APPCONF_H #ifndef _APPCONF_H
#define _APPCONF_H #define _APPCONF_H
#ifdef __GNUG__
#pragma interface "config.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// compile options // compile options
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -16,6 +16,10 @@
#ifndef _FILECONF_H #ifndef _FILECONF_H
#define _FILECONF_H #define _FILECONF_H
#ifdef __GNUG__
#pragma interface "fileconf.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// compile options // compile options
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -12,7 +12,7 @@
#define __IMAGELISTH_G__ #define __IMAGELISTH_G__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "imaglist.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -12,7 +12,7 @@
#define __LISTCTRLH_G__ #define __LISTCTRLH_G__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "listctrl.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -13,7 +13,7 @@
#define __GTKTREECTRLH_G__ #define __GTKTREECTRLH_G__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "treectrl.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -12,6 +12,10 @@
#ifndef __IPCBASEH__ #ifndef __IPCBASEH__
#define __IPCBASEH__ #define __IPCBASEH__
#ifdef __GNUG__
#pragma interface "ipcbase.h"
#endif
#include "wx/defs.h" #include "wx/defs.h"
#include "wx/object.h" #include "wx/object.h"
#include "wx/string.h" #include "wx/string.h"

View File

@@ -13,7 +13,7 @@
#define __LISTH__ #define __LISTH__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "list.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -13,8 +13,8 @@
#define __LOGH__ #define __LOGH__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "log.h"
#endif //GNU C++ #endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// constants // constants

View File

@@ -12,6 +12,10 @@
#ifndef _MENUITEM_H #ifndef _MENUITEM_H
#define _MENUITEM_H #define _MENUITEM_H
#ifdef __GNUG__
#pragma interface "menuitem.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// headers // headers
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -12,6 +12,10 @@
#ifndef __CHECKLST_H__ #ifndef __CHECKLST_H__
#define __CHECKLST_H__ #define __CHECKLST_H__
#ifdef __GNUG__
#pragma interface "checklst.h"
#endif
typedef unsigned int uint; typedef unsigned int uint;
#if !USE_OWNER_DRAWN #if !USE_OWNER_DRAWN

View File

@@ -9,6 +9,10 @@
// Licence: wxWindows license // Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#pragma interface "pnghand.h"
#endif
class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
{ {
DECLARE_DYNAMIC_CLASS(wxPNGFileHandler) DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)

View File

@@ -12,6 +12,10 @@
#ifndef _REGCONF_H #ifndef _REGCONF_H
#define _REGCONF_H #define _REGCONF_H
#ifdef __GNUG__
#pragma interface "regconf.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxRegConfig // wxRegConfig
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -12,6 +12,10 @@
#ifndef _REGISTRY_H #ifndef _REGISTRY_H
#define _REGISTRY_H #define _REGISTRY_H
#ifdef __GNUG__
#pragma interface "registry.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// mutable hack (see also registry.cpp) // mutable hack (see also registry.cpp)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -12,6 +12,10 @@
#ifndef _STATBR95_H #ifndef _STATBR95_H
#define _STATBR95_H #define _STATBR95_H
#ifdef __GNUG__
#pragma interface "statbr95.h"
#endif
#if USE_NATIVE_STATUSBAR #if USE_NATIVE_STATUSBAR
class WXDLLEXPORT wxStatusBar95 : public wxStatusBar class WXDLLEXPORT wxStatusBar95 : public wxStatusBar

View File

@@ -13,7 +13,7 @@
#define __OBJECTH__ #define __OBJECTH__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "object.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -13,6 +13,10 @@
#if USE_ODBC #if USE_ODBC
#ifdef __GNUG__
#pragma interface "odbc.h"
#endif
#ifndef __ODBCH__ #ifndef __ODBCH__
#define __ODBCH__ #define __ODBCH__

View File

@@ -12,6 +12,10 @@
#ifndef _OWNERDRW_H #ifndef _OWNERDRW_H
#define _OWNERDRW_H #define _OWNERDRW_H
#ifdef __GNUG__
#pragma interface "ownerdrw.h"
#endif
typedef wxColour wxColor; typedef wxColour wxColor;
typedef unsigned int uint; typedef unsigned int uint;

View File

@@ -13,7 +13,7 @@
#define __PRNTBASEH__ #define __PRNTBASEH__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "prntbase.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -13,7 +13,7 @@
#define __PROCESSH__ #define __PROCESSH__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "process.h"
#endif #endif
#include "wx/defs.h" #include "wx/defs.h"

View File

@@ -13,7 +13,7 @@
#define __WXSTRINGH__ #define __WXSTRINGH__
#ifdef __GNUG__ #ifdef __GNUG__
#pragma interface #pragma interface "string.h"
#endif #endif
/* Dependencies (should be included before this header): /* Dependencies (should be included before this header):