Remove unnecessary header dependencies. Fix resulting compilation
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default configuration. Non-default configurations will probably need some more fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
#pragma interface "fontenum.h"
|
||||
#endif
|
||||
|
||||
#include "wx/font.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFontEnumerator enumerates all available fonts on the system or only the
|
||||
// fonts with given attributes
|
||||
|
@@ -20,13 +20,10 @@
|
||||
#pragma interface "gdicmn.h"
|
||||
#endif
|
||||
|
||||
#include "wx/object.h"
|
||||
#include "wx/list.h"
|
||||
#include "wx/hash.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/setup.h"
|
||||
#include "wx/colour.h"
|
||||
#include "wx/font.h"
|
||||
#include "wx/list.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/fontenc.h"
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// forward declarations
|
||||
|
@@ -18,7 +18,9 @@
|
||||
#include "wx/object.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/gdicmn.h"
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
# include "wx/bitmap.h"
|
||||
#endif
|
||||
#include "wx/hashmap.h"
|
||||
|
||||
#if wxUSE_STREAMS
|
||||
@@ -35,6 +37,7 @@
|
||||
|
||||
class WXDLLEXPORT wxImageHandler;
|
||||
class WXDLLEXPORT wxImage;
|
||||
class WXDLLEXPORT wxPalette;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxImageHandler
|
||||
|
@@ -20,6 +20,8 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
// simple types
|
||||
// ----------------------------------------------------------------------------
|
||||
#include "wx/dynarray.h"
|
||||
|
||||
|
||||
#if wxUSE_OWNER_DRAWN
|
||||
class WXDLLEXPORT wxOwnerDrawn;
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/gdiobj.h"
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
class WXDLLEXPORT wxBrush;
|
||||
|
||||
|
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "wx/gdiobj.h"
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
typedef WXDWORD wxMSWDash;
|
||||
|
||||
|
@@ -213,6 +213,7 @@ extern LONG APIENTRY _EXPORT
|
||||
#if wxUSE_GUI
|
||||
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/colour.h>
|
||||
|
||||
// make conversion from wxColour and COLORREF a bit less painful
|
||||
inline COLORREF wxColourToRGB(const wxColour& c)
|
||||
|
@@ -21,6 +21,7 @@
|
||||
#if wxUSE_STATUSBAR
|
||||
|
||||
#include "wx/list.h"
|
||||
#include "wx/dynarray.h"
|
||||
|
||||
WX_DECLARE_LIST(wxString, wxListString);
|
||||
|
||||
|
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "wx/window.h" // for wxClientData
|
||||
#include "wx/event.h"
|
||||
#include "wx/dynarray.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxTreeItemId identifies an element of the tree. In this implementation, it's
|
||||
|
@@ -17,6 +17,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/scrolwin.h" // for wxScrollHelper
|
||||
#include "wx/dynarray.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the actions supported by this control
|
||||
|
@@ -33,7 +33,6 @@
|
||||
#include "wx/validate.h" // for wxDefaultValidator (always include it)
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
#include "wx/dcclient.h"
|
||||
#include "wx/palette.h"
|
||||
#endif // wxUSE_PALETTE
|
||||
|
||||
|
@@ -21,6 +21,7 @@
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
# include "wx/defs.h"
|
||||
# include "wx/palette.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS && wxUSE_GIF
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include "wx/icon.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/bitmap.h"
|
||||
#endif
|
||||
|
||||
#ifndef _WX_IMAGE_H_
|
||||
|
@@ -31,6 +31,7 @@
|
||||
#include "wx/wfstream.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/module.h"
|
||||
#include "wx/hash.h"
|
||||
|
||||
// For memcpy
|
||||
#include <string.h>
|
||||
|
@@ -21,6 +21,7 @@
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
# include "wx/defs.h"
|
||||
# include "wx/palette.h"
|
||||
#endif
|
||||
|
||||
#if wxUSE_IMAGE && wxUSE_PCX
|
||||
|
@@ -32,6 +32,7 @@
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/listbox.h"
|
||||
#include "wx/dynarray.h"
|
||||
#endif
|
||||
|
||||
// ============================================================================
|
||||
|
@@ -42,6 +42,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/palette.h"
|
||||
#endif
|
||||
|
||||
#include "wx/image.h"
|
||||
|
@@ -44,6 +44,7 @@
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/statusbr.h"
|
||||
#include "wx/dcclient.h"
|
||||
#endif //WX_PRECOMP
|
||||
|
||||
#if wxUSE_CONSTRAINTS
|
||||
|
@@ -55,6 +55,7 @@
|
||||
#include "wx/imaglist.h"
|
||||
#include "wx/dir.h"
|
||||
#include "wx/artprov.h"
|
||||
#include "wx/hash.h"
|
||||
|
||||
#if wxUSE_TOOLTIPS
|
||||
#include "wx/tooltip.h"
|
||||
|
@@ -25,6 +25,7 @@
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/settings.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/dcclient.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/brush.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/colour.h"
|
||||
#include "wx/gtk/private.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/pen.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/brush.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/colour.h"
|
||||
#include "wx/gtk/private.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/pen.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
|
@@ -36,6 +36,7 @@
|
||||
#include "wx/log.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/evtloop.h"
|
||||
#include "wx/hash.h"
|
||||
|
||||
#if wxUSE_THREADS
|
||||
#include "wx/thread.h"
|
||||
|
@@ -36,6 +36,7 @@
|
||||
#include "wx/utils.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/app.h"
|
||||
#include "wx/icon.h"
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable nosimpint
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#include "wx/mdi.h"
|
||||
#include "wx/menu.h"
|
||||
#include "wx/settings.h"
|
||||
#include "wx/icon.h"
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable nosimpint
|
||||
|
@@ -46,6 +46,7 @@
|
||||
#include "wx/menuitem.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/evtloop.h"
|
||||
#include "wx/hash.h"
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
#include "wx/dnd.h"
|
||||
|
@@ -35,6 +35,7 @@
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/icon.h"
|
||||
#include "wx/cursor.h"
|
||||
#include "wx/settings.h"
|
||||
#endif
|
||||
|
||||
#include "wx/ptr_scpd.h"
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include "wx/evtloop.h"
|
||||
#include "wx/timer.h"
|
||||
#include "wx/filename.h"
|
||||
#include "wx/hash.h"
|
||||
|
||||
#include "wx/univ/theme.h"
|
||||
#include "wx/univ/renderer.h"
|
||||
|
@@ -16,6 +16,7 @@
|
||||
#include "wx/setup.h"
|
||||
#include "wx/utils.h"
|
||||
#include "wx/brush.h"
|
||||
#include "wx/colour.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxBrush
|
||||
|
@@ -19,6 +19,7 @@
|
||||
#include "wx/panel.h"
|
||||
#include "wx/clipbrd.h"
|
||||
#include "wx/tokenzr.h"
|
||||
#include "wx/dcclient.h"
|
||||
|
||||
#include "wx/univ/inphand.h"
|
||||
#include "wx/univ/renderer.h"
|
||||
|
@@ -42,6 +42,7 @@
|
||||
#include "wx/log.h"
|
||||
#include "wx/fontutil.h"
|
||||
#include "wx/univ/renderer.h"
|
||||
#include "wx/hash.h"
|
||||
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
#include "wx/dnd.h"
|
||||
|
Reference in New Issue
Block a user