Remove a useless "#include wx/wx.h" from wx_html_report_panel.h

This commit is contained in:
jean-pierre charras 2021-06-07 09:26:13 +02:00
parent 92c4596252
commit 6cfc2755ed
11 changed files with 20 additions and 2 deletions

View File

@ -28,6 +28,10 @@
#include <wx/clipbrd.h> #include <wx/clipbrd.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <wx/ffile.h> #include <wx/ffile.h>
#include <wx/log.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#include <wx/menu.h>
WX_HTML_REPORT_PANEL::WX_HTML_REPORT_PANEL( wxWindow* parent, WX_HTML_REPORT_PANEL::WX_HTML_REPORT_PANEL( wxWindow* parent,
wxWindowID id, wxWindowID id,

View File

@ -22,13 +22,11 @@
#ifndef __WX_HTML_REPORT_PANEL_H__ #ifndef __WX_HTML_REPORT_PANEL_H__
#define __WX_HTML_REPORT_PANEL_H__ #define __WX_HTML_REPORT_PANEL_H__
#include <wx/wx.h>
#include <reporter.h> #include <reporter.h>
#include <vector> #include <vector>
#include "wx_html_report_panel_base.h" #include "wx_html_report_panel_base.h"
/** /**
* A widget for browsing a rich text error/status report. Used in numerous * A widget for browsing a rich text error/status report. Used in numerous
* dialogs in eeschema and pcbnew. Provides error filtering functionality * dialogs in eeschema and pcbnew. Provides error filtering functionality

View File

@ -29,6 +29,9 @@
#include <reporter.h> #include <reporter.h>
#include <widgets/infobar.h> #include <widgets/infobar.h>
#include <wx_html_report_panel.h> #include <wx_html_report_panel.h>
#include <wx/log.h>
#include <wx/textctrl.h>
#include <wx/statusbr.h>
REPORTER& REPORTER::Report( const char* aText, SEVERITY aSeverity ) REPORTER& REPORTER::Report( const char* aText, SEVERITY aSeverity )
{ {

View File

@ -45,6 +45,7 @@
#include <wx/dirdlg.h> #include <wx/dirdlg.h>
#include <wx/msgdlg.h> #include <wx/msgdlg.h>
#include <wx/stdpaths.h> #include <wx/stdpaths.h>
#include <wx/log.h>
// static members (static to remember last state): // static members (static to remember last state):

View File

@ -37,6 +37,7 @@
#include <sstream> #include <sstream>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include <tool/grid_menu.h> #include <tool/grid_menu.h>
#include <wx/valtext.h>
bool SortYFirst; bool SortYFirst;

View File

@ -39,6 +39,7 @@
#include <bitmaps.h> #include <bitmaps.h>
#include <widgets/unit_binder.h> #include <widgets/unit_binder.h>
#include <plotters/plotters_pslike.h> #include <plotters/plotters_pslike.h>
#include <wx/dirdlg.h>
class DIALOG_EXPORT_SVG : public DIALOG_EXPORT_SVG_BASE class DIALOG_EXPORT_SVG : public DIALOG_EXPORT_SVG_BASE
{ {

View File

@ -41,6 +41,7 @@
#include <dialog_netlist.h> #include <dialog_netlist.h>
#include <wx_html_report_panel.h> #include <wx_html_report_panel.h>
#include <wx/filedlg.h>
void PCB_EDIT_FRAME::InstallNetlistFrame() void PCB_EDIT_FRAME::InstallNetlistFrame()

View File

@ -45,6 +45,9 @@
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <macros.h> #include <macros.h>
#include <wx/dirdlg.h>
DIALOG_PLOT::DIALOG_PLOT( PCB_EDIT_FRAME* aParent ) : DIALOG_PLOT::DIALOG_PLOT( PCB_EDIT_FRAME* aParent ) :
DIALOG_PLOT_BASE( aParent ), m_parent( aParent ), DIALOG_PLOT_BASE( aParent ), m_parent( aParent ),

View File

@ -34,6 +34,8 @@
#include <export_footprints_placefile.h> #include <export_footprints_placefile.h>
#include <pad.h> #include <pad.h>
#include <wx/dirdlg.h>
class LIST_MOD // An helper class used to build a list of useful footprints. class LIST_MOD // An helper class used to build a list of useful footprints.
{ {
public: public:

View File

@ -44,6 +44,8 @@
#include <export_footprints_placefile.h> #include <export_footprints_placefile.h>
#include "gerber_placefile_writer.h" #include "gerber_placefile_writer.h"
#include <wx/dirdlg.h>
/** /**
* The dialog to create footprint position files and choose options (one or 2 files, units * The dialog to create footprint position files and choose options (one or 2 files, units

View File

@ -104,6 +104,8 @@
#include <action_plugin.h> #include <action_plugin.h>
#include "../scripting/python_scripting.h" #include "../scripting/python_scripting.h"
#include <wx/filedlg.h>
using namespace std::placeholders; using namespace std::placeholders;