Minor code cleanup, step3: remove more useless include.

This commit is contained in:
jean-pierre charras 2020-10-01 17:15:15 +02:00
parent 5b7c6e100d
commit 35e129ed47
7 changed files with 13 additions and 5 deletions

View File

@ -26,6 +26,8 @@
#include <search_stack.h> #include <search_stack.h>
#include <trace_helpers.h> #include <trace_helpers.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#include <wx/log.h>
#if defined(__MINGW32__) #if defined(__MINGW32__)
#define PATH_SEPS wxT( ";\r\n" ) #define PATH_SEPS wxT( ";\r\n" )

View File

@ -27,6 +27,7 @@
#include <common.h> #include <common.h>
#include <config.h> // to define DEFAULT_INSTALL_PATH #include <config.h> // to define DEFAULT_INSTALL_PATH
#include <macros.h> #include <macros.h>
#include <wx/log.h>
#include <trace_helpers.h> #include <trace_helpers.h>

View File

@ -35,10 +35,12 @@
#include <vector> #include <vector>
#include <functional> #include <functional>
#include <wx/wx.h>
#include <wx/confbase.h> #include <wx/confbase.h>
#include <wx/fileconf.h> #include <wx/fileconf.h>
#include <wx/dir.h> #include <wx/dir.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/gdicmn.h>
#include <richio.h> #include <richio.h>

View File

@ -31,13 +31,14 @@
#ifndef MACROS_H #ifndef MACROS_H
#define MACROS_H #define MACROS_H
#include <wx/wx.h>
#include <deque> #include <deque>
#include <vector> #include <vector>
#include <map> #include <map>
#include <set> #include <set>
#include <memory> // std::shared_ptr #include <memory> // std::shared_ptr
#include <wx/string.h>
#if defined( __has_attribute ) #if defined( __has_attribute )
#define KI_HAS_ATTRIBUTE( x ) __has_attribute( x ) #define KI_HAS_ATTRIBUTE( x ) __has_attribute( x )
#else #else

View File

@ -22,9 +22,9 @@
#ifndef PROPERTY_H #ifndef PROPERTY_H
#define PROPERTY_H #define PROPERTY_H
#include <wx/wx.h>
#include <wx/any.h> #include <wx/any.h>
#include <wx/string.h> #include <wx/string.h>
#include <wx/bitmap.h>
#include <wx/propgrid/property.h> #include <wx/propgrid/property.h>
#include <functional> #include <functional>

View File

@ -26,9 +26,12 @@
#define __STATUS_POPUP_H_ #define __STATUS_POPUP_H_
#include <common.h>
#include <math/vector2d.h> #include <math/vector2d.h>
#include <wx/popupwin.h> #include <wx/popupwin.h>
#include <wx/timer.h>
#include <wx/panel.h>
#include <wx/stattext.h>
#include <wx/sizer.h>
class EDA_DRAW_FRAME; class EDA_DRAW_FRAME;

View File

@ -25,7 +25,6 @@
#ifndef PCBNEW_H #ifndef PCBNEW_H
#define PCBNEW_H #define PCBNEW_H
#include <fctsys.h> // wxWidgets include.
#include <convert_to_biu.h> // to define Mils2iu() conversion function #include <convert_to_biu.h> // to define Mils2iu() conversion function
// These are only here for algorithmic safety, not to tell the user what to do // These are only here for algorithmic safety, not to tell the user what to do