Remove a few include<wx/wx.h> in many files that do not actually use this include.
This commit is contained in:
parent
88fbb9d367
commit
539ac4c214
|
@ -30,7 +30,6 @@
|
||||||
#include "3d_fastmath.h"
|
#include "3d_fastmath.h"
|
||||||
|
|
||||||
#include "cbbox2d.h"
|
#include "cbbox2d.h"
|
||||||
#include <fctsys.h>
|
|
||||||
#include <wx/debug.h>
|
#include <wx/debug.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
#include "cpolygon2d.h"
|
#include "cpolygon2d.h"
|
||||||
#include <wx/debug.h>
|
#include <wx/debug.h>
|
||||||
#include <fctsys.h>
|
|
||||||
|
|
||||||
#ifdef PRINT_STATISTICS_3D_VIEWER
|
#ifdef PRINT_STATISTICS_3D_VIEWER
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cbbox.h"
|
#include "cbbox.h"
|
||||||
#include <fctsys.h>
|
|
||||||
#include <wx/debug.h>
|
#include <wx/debug.h>
|
||||||
|
|
||||||
// This BBOX Ray intersection test have the following credits:
|
// This BBOX Ray intersection test have the following credits:
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
* or you may write to the Free Software Foundation, Inc.,
|
* or you may write to the Free Software Foundation, Inc.,
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
//#include <fctsys.h>
|
|
||||||
#include <eda_base_frame.h>
|
#include <eda_base_frame.h>
|
||||||
#include <dialog_helpers.h>
|
#include <dialog_helpers.h>
|
||||||
#include <base_units.h>
|
#include <base_units.h>
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
#include <page_layout/page_layout_reader_lexer.h>
|
#include <page_layout/page_layout_reader_lexer.h>
|
||||||
#include <convert_to_biu.h>
|
#include <convert_to_biu.h>
|
||||||
|
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
using namespace TB_READER_T;
|
using namespace TB_READER_T;
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,8 @@
|
||||||
#include <page_layout/ws_painter.h>
|
#include <page_layout/ws_painter.h>
|
||||||
#include <page_layout/ws_data_item.h>
|
#include <page_layout/ws_data_item.h>
|
||||||
|
|
||||||
|
#include <wx/app.h>
|
||||||
|
|
||||||
using namespace KIGFX;
|
using namespace KIGFX;
|
||||||
|
|
||||||
static const wxString productName = wxT( "KiCad E.D.A. " );
|
static const wxString productName = wxT( "KiCad E.D.A. " );
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <fctsys.h>
|
|
||||||
#include <kicad_string.h>
|
#include <kicad_string.h>
|
||||||
#include <scintilla_tricks.h>
|
#include <scintilla_tricks.h>
|
||||||
#include <wx/stc/stc.h>
|
#include <wx/stc/stc.h>
|
||||||
|
|
|
@ -47,6 +47,9 @@
|
||||||
|
|
||||||
#include <dialogs/dialog_bom_cfg_lexer.h>
|
#include <dialogs/dialog_bom_cfg_lexer.h>
|
||||||
|
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/textdlg.h>
|
||||||
|
|
||||||
static constexpr wxChar BOM_TRACE[] = wxT( "BOM_GENERATORS" );
|
static constexpr wxChar BOM_TRACE[] = wxT( "BOM_GENERATORS" );
|
||||||
|
|
||||||
wxString s_bomHelpInfo =
|
wxString s_bomHelpInfo =
|
||||||
|
|
|
@ -26,6 +26,10 @@
|
||||||
|
|
||||||
#include "dialog_bus_manager.h"
|
#include "dialog_bus_manager.h"
|
||||||
|
|
||||||
|
#include <wx/button.h>
|
||||||
|
#include <wx/valtext.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE( DIALOG_BUS_MANAGER, DIALOG_SHIM )
|
BEGIN_EVENT_TABLE( DIALOG_BUS_MANAGER, DIALOG_SHIM )
|
||||||
EVT_BUTTON( wxID_OK, DIALOG_BUS_MANAGER::OnOkClick )
|
EVT_BUTTON( wxID_OK, DIALOG_BUS_MANAGER::OnOkClick )
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
#define __dialog_lib_edit_pin__
|
#define __dialog_lib_edit_pin__
|
||||||
|
|
||||||
#include <wx/bmpcbox.h>
|
#include <wx/bmpcbox.h>
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
#include <wx/dcclient.h>
|
||||||
|
|
||||||
#include <pin_shape_combobox.h>
|
#include <pin_shape_combobox.h>
|
||||||
#include <pin_type_combobox.h>
|
#include <pin_type_combobox.h>
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
#include <sch_painter.h>
|
#include <sch_painter.h>
|
||||||
#include <schematic.h>
|
#include <schematic.h>
|
||||||
|
|
||||||
|
#include <wx/dirdlg.h>
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
// static members (static to remember last state):
|
// static members (static to remember last state):
|
||||||
int DIALOG_PLOT_SCHEMATIC::m_pageSizeSelect = PAGE_SIZE_AUTO;
|
int DIALOG_PLOT_SCHEMATIC::m_pageSizeSelect = PAGE_SIZE_AUTO;
|
||||||
int DIALOG_PLOT_SCHEMATIC::m_HPGLPaperSizeSelect = PAGE_SIZE_AUTO;
|
int DIALOG_PLOT_SCHEMATIC::m_HPGLPaperSizeSelect = PAGE_SIZE_AUTO;
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
#include <symbol_preview_widget.h>
|
#include <symbol_preview_widget.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
#include <wx/dcclient.h>
|
||||||
|
|
||||||
|
|
||||||
class DIALOG_RESCUE_EACH: public DIALOG_RESCUE_EACH_BASE
|
class DIALOG_RESCUE_EACH: public DIALOG_RESCUE_EACH_BASE
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,8 +23,6 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fctsys.h>
|
|
||||||
|
|
||||||
#include <pgm_base.h>
|
#include <pgm_base.h>
|
||||||
#include <kiface_i.h>
|
#include <kiface_i.h>
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
#include <dialogs/dialog_layers_select_to_pcb.h>
|
#include <dialogs/dialog_layers_select_to_pcb.h>
|
||||||
|
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
// Imported function
|
// Imported function
|
||||||
extern const wxString GetPCBDefaultLayerName( LAYER_NUM aLayerNumber );
|
extern const wxString GetPCBDefaultLayerName( LAYER_NUM aLayerNumber );
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012-2014 Jean-Pierre Charras jp.charras at wanadoo.fr
|
* Copyright (C) 2012-2014 Jean-Pierre Charras jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 1992-2020 KiCad Developers, see change_log.txt for contributors.
|
* Copyright (C) 1992-2020 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -30,6 +30,8 @@
|
||||||
#include <gerbview_frame.h>
|
#include <gerbview_frame.h>
|
||||||
#include <dialogs/dialog_layers_select_to_pcb.h>
|
#include <dialogs/dialog_layers_select_to_pcb.h>
|
||||||
|
|
||||||
|
#include <wx/radiobox.h>
|
||||||
|
|
||||||
#define NB_PCB_LAYERS PCB_LAYER_ID_COUNT
|
#define NB_PCB_LAYERS PCB_LAYER_ID_COUNT
|
||||||
#define FIRST_COPPER_LAYER 0
|
#define FIRST_COPPER_LAYER 0
|
||||||
#define LAST_COPPER_LAYER 31
|
#define LAST_COPPER_LAYER 31
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
#include <geometry/shape_arc.h>
|
#include <geometry/shape_arc.h>
|
||||||
#include <math/util.h> // for KiROUND
|
#include <math/util.h> // for KiROUND
|
||||||
|
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
GERBER_DRAW_ITEM::GERBER_DRAW_ITEM( GERBER_FILE_IMAGE* aGerberImageFile ) :
|
GERBER_DRAW_ITEM::GERBER_DRAW_ITEM( GERBER_FILE_IMAGE* aGerberImageFile ) :
|
||||||
EDA_ITEM( (EDA_ITEM*)NULL, GERBER_DRAW_ITEM_T )
|
EDA_ITEM( (EDA_ITEM*)NULL, GERBER_DRAW_ITEM_T )
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
/*
|
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
||||||
*
|
|
||||||
* Copyright (C) 2007-2014 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
|
||||||
* Copyright (C) 1992-2014 KiCad Developers, see CHANGELOG.TXT for contributors.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, you may find one here:
|
|
||||||
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
||||||
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
||||||
* or you may write to the Free Software Foundation, Inc.,
|
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef FCTSYS_H_
|
|
||||||
#define FCTSYS_H_
|
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#endif // FCTSYS_H__
|
|
|
@ -30,7 +30,7 @@
|
||||||
#ifndef PAGE_INFO_H
|
#ifndef PAGE_INFO_H
|
||||||
#define PAGE_INFO_H
|
#define PAGE_INFO_H
|
||||||
|
|
||||||
#include <wx/wx.h>
|
#include <wx/string.h>
|
||||||
|
|
||||||
#include <richio.h> // for OUTPUTFORMATTER and IO_ERROR
|
#include <richio.h> // for OUTPUTFORMATTER and IO_ERROR
|
||||||
#include <base_units.h> // for IU_PER_MILS
|
#include <base_units.h> // for IU_PER_MILS
|
||||||
|
|
|
@ -40,6 +40,8 @@
|
||||||
#include "pl_editor_frame.h"
|
#include "pl_editor_frame.h"
|
||||||
#include "pl_editor_id.h"
|
#include "pl_editor_id.h"
|
||||||
|
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom print out for printing schematics.
|
* Custom print out for printing schematics.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <sch_edit_frame.h>
|
#include <sch_edit_frame.h>
|
||||||
#include <settings/settings_manager.h>
|
#include <settings/settings_manager.h>
|
||||||
|
|
||||||
|
#include <wx/app.h>
|
||||||
|
|
||||||
|
|
||||||
// a transform matrix, to display components in lib editor
|
// a transform matrix, to display components in lib editor
|
||||||
TRANSFORM DefaultTransform = TRANSFORM( 1, 0, 0, -1 );
|
TRANSFORM DefaultTransform = TRANSFORM( 1, 0, 0, -1 );
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
|
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#include <macros.h>
|
#include <macros.h>
|
||||||
#include <fctsys.h>
|
|
||||||
#include <wx/filename.h>
|
#include <wx/filename.h>
|
||||||
#include <wx/stdpaths.h>
|
#include <wx/stdpaths.h>
|
||||||
#include <wx/snglinst.h>
|
#include <wx/snglinst.h>
|
||||||
|
|
Loading…
Reference in New Issue