Remove unnecessary headers from wxPropertyGrid files

Currently there are included plenty of headers which are apparently not necessary.
This commit is contained in:
Artur Wieczorek
2019-08-04 20:15:01 +02:00
parent c623d9cfc5
commit eca1e857fe
16 changed files with 28 additions and 198 deletions

View File

@@ -11,8 +11,6 @@
#ifndef _WX_PROPGRID_ADVPROPS_H_
#define _WX_PROPGRID_ADVPROPS_H_
#include "wx/defs.h"
#if wxUSE_PROPGRID
#include "wx/propgrid/props.h"
@@ -127,13 +125,6 @@ operator==(const wxColourPropertyValue&, const wxColourPropertyValue&);
DECLARE_VARIANT_OBJECT_EXPORTED(wxColourPropertyValue, WXDLLIMPEXP_PROPGRID)
// -----------------------------------------------------------------------
// Declare part of custom colour property macro pairs.
#if wxUSE_IMAGE
#include "wx/image.h"
#endif
// -----------------------------------------------------------------------
// Property representing wxFont.
@@ -282,6 +273,8 @@ class WXDLLIMPEXP_PROPGRID wxCursorProperty : public wxEnumProperty
#if wxUSE_IMAGE
WXDLLIMPEXP_PROPGRID const wxString& wxPGGetDefaultImageWildcard();
class WXDLLIMPEXP_FWD_CORE wxBitmap;
class WXDLLIMPEXP_FWD_CORE wxImage;
// Property representing image file(name).
class WXDLLIMPEXP_PROPGRID wxImageFileProperty : public wxFileProperty