Fixes for include guards, patch 1256967 Paul Cornett

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-09-25 20:49:40 +00:00
parent c88c6e94c0
commit 20ceebaa87
25 changed files with 78 additions and 49 deletions

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_TOOLTIP_H_
#define _WX_COCOA_TOOLTIP_H_
#include "wx/object.h"
class wxWindow;
@@ -43,4 +46,6 @@ private:
wxWindow *m_window; // window we're associated with
DECLARE_ABSTRACT_CLASS(wxToolTip)
};
};
#endif // _WX_COCOA_TOOLTIP_H_

View File

@@ -12,9 +12,7 @@
#ifndef _WX_DIR_H_
#define _WX_DIR_H_
#ifndef WX_PRECOMP
#include "wx/string.h"
#endif
#include "wx/string.h"
class WXDLLIMPEXP_BASE wxArrayString;

View File

@@ -16,10 +16,8 @@
#if wxUSE_FFILE
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/filefn.h"
#endif
#include "wx/string.h"
#include "wx/filefn.h"
#include <stdio.h>

View File

@@ -12,11 +12,6 @@
#ifndef _WX_FILENAME_H_
#define _WX_FILENAME_H_
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/arrstr.h"
#endif
/*
TODO:
@@ -31,6 +26,7 @@
3. SameFileAs() function to compare inodes under Unix
*/
#include "wx/arrstr.h"
#include "wx/filefn.h"
#include "wx/datetime.h"

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GENERIC_FDREPDLG_H_
#define _WX_GENERIC_FDREPDLG_H_
class WXDLLEXPORT wxCheckBox;
class WXDLLEXPORT wxRadioBox;
class WXDLLEXPORT wxTextCtrl;
@@ -65,3 +68,4 @@ private:
DECLARE_EVENT_TABLE()
};
#endif // _WX_GENERIC_FDREPDLG_H_

View File

@@ -9,8 +9,6 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/defs.h"
#ifndef __WXGRID_H__
#define __WXGRID_H__

View File

@@ -9,13 +9,13 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXGRIDSEL_H__
#define __WXGRIDSEL_H__
#include "wx/defs.h"
#if wxUSE_GRID
#ifndef __WXGRIDSEL_H__
#define __WXGRIDSEL_H__
#include "wx/grid.h"
class WXDLLIMPEXP_ADV wxGridSelection{
@@ -83,6 +83,6 @@ private:
DECLARE_NO_COPY_CLASS(wxGridSelection)
};
#endif // #ifdef __WXGRIDSEL_H__
#endif // #ifndef wxUSE_GRID
#endif // #ifdef __WXGRIDSEL_H__

View File

@@ -12,11 +12,8 @@
#ifndef _WX_SPLASH_H_
#define _WX_SPLASH_H_
#ifndef WX_PRECOMP
#include "wx/bitmap.h"
#include "wx/timer.h"
#endif
#include "wx/frame.h"

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GENERIC_WIZARD_H_
#define _WX_GENERIC_WIZARD_H_
// ----------------------------------------------------------------------------
// wxWizard
// ----------------------------------------------------------------------------
@@ -123,3 +126,4 @@ private:
DECLARE_NO_COPY_CLASS(wxWizard)
};
#endif // _WX_GENERIC_WIZARD_H_

View File

@@ -13,15 +13,13 @@
// Include wxWindows' headers
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "wx/defs.h"
#if wxUSE_LIBGNOMEPRINT
#include "wx/print.h"
#include "wx/prntbase.h"
#include "wx/printdlg.h"
#include "wx/dc.h"
typedef struct _GnomePrintJob GnomePrintJob;
typedef struct _GnomePrintContext GnomePrintContext;

View File

@@ -13,15 +13,13 @@
// Include wxWindows' headers
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "wx/defs.h"
#if wxUSE_LIBGNOMEPRINT
#include "wx/print.h"
#include "wx/prntbase.h"
#include "wx/printdlg.h"
#include "wx/dc.h"
typedef struct _GnomePrintJob GnomePrintJob;
typedef struct _GnomePrintContext GnomePrintContext;

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_IPC_H_
#define _WX_IPC_H_
// Set wxUSE_DDE_FOR_IPC to 1 to use DDE for IPC under Windows. If it is set to
// 0, or if the platform is not Windows, use TCP/IP for IPC implementation
@@ -39,3 +42,4 @@
#include "wx/sckipc.h"
#endif // wxUSE_DDE_FOR_IPC/!wxUSE_DDE_FOR_IPC
#endif // _WX_IPC_H_

View File

@@ -9,6 +9,8 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MAC_TOOLTIP_H_
#define _WX_MAC_TOOLTIP_H_
class wxToolTip : public wxObject
{
@@ -46,3 +48,4 @@ private:
DECLARE_ABSTRACT_CLASS(wxToolTip)
};
#endif // _WX_MAC_TOOLTIP_H_

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MSW_FDREPDLG_H_
#define _WX_MSW_FDREPDLG_H_
// ----------------------------------------------------------------------------
// wxFindReplaceDialog: dialog for searching / replacing text
// ----------------------------------------------------------------------------
@@ -56,4 +59,4 @@ protected:
DECLARE_NO_COPY_CLASS(wxFindReplaceDialog)
};
#endif // _WX_MSW_FDREPDLG_H_

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MSW_TOOLTIP_H_
#define _WX_MSW_TOOLTIP_H_
class WXDLLEXPORT wxToolTip : public wxObject
{
public:
@@ -58,3 +61,4 @@ private:
DECLARE_NO_COPY_CLASS(wxToolTip)
};
#endif // _WX_MSW_TOOLTIP_H_

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_OS2_TOOLTIP_H_
#define _WX_OS2_TOOLTIP_H_
class wxToolTip : public wxObject
{
public:
@@ -44,3 +47,5 @@ private:
wxString m_sText; // tooltip text
wxWindow* m_pWindow; // window we're associated with
}; // end of CLASS wxToolTip
#endif // _WX_OS2_TOOLTIP_H_

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PALMOS_FDREPDLG_H_
#define _WX_PALMOS_FDREPDLG_H_
// ----------------------------------------------------------------------------
// wxFindReplaceDialog: dialog for searching / replacing text
// ----------------------------------------------------------------------------
@@ -56,4 +59,4 @@ protected:
DECLARE_NO_COPY_CLASS(wxFindReplaceDialog)
};
#endif // _WX_PALMOS_FDREPDLG_H_

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_PALMOS_TOOLTIP_H_
#define _WX_PALMOS_TOOLTIP_H_
class WXDLLEXPORT wxToolTip : public wxObject
{
public:
@@ -58,3 +61,4 @@ private:
DECLARE_NO_COPY_CLASS(wxToolTip)
};
#endif // _WX_PALMOS_TOOLTIP_H_

View File

@@ -9,6 +9,9 @@
// Licence:
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_QUANTIZE_H_
#define _WX_QUANTIZE_H_
/*
* From jquant2.c
*
@@ -17,9 +20,6 @@
* For conditions of distribution and use, see the accompanying README file.
*/
#ifndef _WX_QUANTIZE_H_
#define _WX_QUANTIZE_H_
class WXDLLEXPORT wxImage;
/*

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_GAUGE_H_
#define _WX_UNIV_GAUGE_H_
// ----------------------------------------------------------------------------
// wxGauge: a progress bar
// ----------------------------------------------------------------------------
@@ -68,3 +71,5 @@ protected:
DECLARE_DYNAMIC_CLASS(wxGauge)
};
#endif // _WX_UNIV_GAUGE_H_

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_RENDERER_H_
#define _WX_UNIV_RENDERER_H_
/*
wxRenderer class is used to draw all wxWidgets controls. This is an ABC and
the look of the application is determined by the concrete derivation of
@@ -25,9 +28,6 @@
implementation of the latter or reimplement itself).
*/
#ifndef _WX_UNIV_RENDERER_H_
#define _WX_UNIV_RENDERER_H_
#include "wx/renderer.h"
class WXDLLEXPORT wxDC;

View File

@@ -9,6 +9,9 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_SCRTIMER_H
#define _WX_UNIV_SCRTIMER_H
// NB: this class is implemented in scrolbar.cpp
#include "wx/timer.h"
@@ -39,3 +42,4 @@ protected:
bool m_skipNext;
};
#endif // _WX_UNIV_SCRTIMER_H

View File

@@ -25,13 +25,9 @@
// headers and other simple declarations
// ----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/dialog.h" // the base class
#include "wx/panel.h" // ditto
#include "wx/event.h" // wxEVT_XXX constants
#endif // WX_PRECOMP
#include "wx/dialog.h" // the base class
#include "wx/panel.h" // ditto
#include "wx/event.h" // wxEVT_XXX constants
#include "wx/bitmap.h"
// Extended style to specify a help button

View File

@@ -21,11 +21,12 @@
#include "wx/math.h"
#include "wx/fontutil.h"
#include "wx/printdlg.h"
#include "wx/gtk/private.h"
#include "wx/module.h"
#include "wx/generic/prntdlgg.h"
#include "wx/dynlib.h"
#include "wx/dcmemory.h"
#include "wx/log.h"
#include "wx/icon.h"
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-print-pango.h>

View File

@@ -21,11 +21,12 @@
#include "wx/math.h"
#include "wx/fontutil.h"
#include "wx/printdlg.h"
#include "wx/gtk/private.h"
#include "wx/module.h"
#include "wx/generic/prntdlgg.h"
#include "wx/dynlib.h"
#include "wx/dcmemory.h"
#include "wx/log.h"
#include "wx/icon.h"
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-print-pango.h>