Browse Source

Remove useless wx/wx.h include, that create sometimes compil warnings on msys.

wx/wx.h includes all wxWidgets .h files, and sometimes creates collision
names in #define between kicad and windows headers
Moreover, blindly including a lot of useless files is compil time consuming
6.0.7
jean-pierre charras 5 years ago
parent
commit
0427bda768
  1. 1
      3d-viewer/3d_viewer/eda_3d_viewer.cpp
  2. 5
      bitmap2component/bitmap2cmp_gui.cpp
  3. 2
      common/dialogs/dialog_page_settings.cpp
  4. 3
      common/eda_draw_frame.cpp
  5. 2
      common/kiway_express.cpp
  6. 1
      common/project/project_archiver.cpp
  7. 1
      common/tool/action_toolbar.cpp
  8. 1
      common/tool/common_control.cpp
  9. 2
      common/tool/tool_dispatcher.cpp
  10. 2
      common/view/wx_view_controls.cpp
  11. 1
      common/widgets/infobar.cpp
  12. 6
      common/widgets/net_selector.cpp
  13. 2
      common/wildcards_and_files_ext.cpp
  14. 1
      cvpcb/cvpcb_mainframe.cpp
  15. 2
      cvpcb/dialogs/dialog_config_equfiles.cpp
  16. 1
      cvpcb/listbox_base.cpp
  17. 1
      eeschema/dialogs/dialog_fields_editor_global.cpp
  18. 3
      eeschema/dialogs/dialog_netlist.cpp
  19. 1
      eeschema/dialogs/dialog_sch_import_settings.cpp
  20. 2
      eeschema/dialogs/dialog_spice_model.cpp
  21. 2
      eeschema/dialogs/panel_sym_lib_table.cpp
  22. 3
      eeschema/sch_edit_frame.cpp
  23. 4
      eeschema/sheet.cpp
  24. 1
      eeschema/sim/sim_plot_frame.cpp
  25. 1
      eeschema/symbol_editor/symbol_edit_frame.cpp
  26. 2
      eeschema/symbol_editor/symbol_editor.cpp
  27. 1
      eeschema/symbol_editor/symbol_editor_import_export.cpp
  28. 4
      eeschema/tools/assign_footprints.cpp
  29. 2
      eeschema/tools/sch_drawing_tools.cpp
  30. 3
      eeschema/tools/sch_edit_tool.cpp
  31. 1
      eeschema/tools/symbol_editor_control.cpp
  32. 1
      gerbview/dialogs/dialog_print_gerbview.cpp
  33. 2
      gerbview/job_file_reader.cpp
  34. 1
      gerbview/tools/gerbview_control.cpp
  35. 4
      gerbview/tools/gerbview_inspection_tool.cpp
  36. 1
      include/eda_pattern_match.h
  37. 4
      include/kiway_express.h
  38. 1
      include/tool/conditional_menu.h
  39. 5
      include/view/wx_view_controls.h
  40. 4
      include/widgets/infobar.h
  41. 1
      include/widgets/net_selector.h
  42. 4
      include/widgets/number_badge.h
  43. 3
      include/wildcards_and_files_ext.h
  44. 2
      kicad/files-io.cpp
  45. 2
      kicad/import_project.cpp
  46. 2
      kicad/project_tree_pane.cpp
  47. 1
      kicad/tools/kicad_manager_control.cpp
  48. 4
      pagelayout_editor/files.cpp
  49. 2
      pcbnew/build_BOM_from_board.cpp
  50. 1
      pcbnew/dialogs/dialog_board_statistics.cpp
  51. 1
      pcbnew/dialogs/dialog_cleanup_graphics.cpp
  52. 1
      pcbnew/dialogs/dialog_cleanup_tracks_and_vias.cpp
  53. 1
      pcbnew/dialogs/dialog_footprint_checker.cpp
  54. 4
      pcbnew/dialogs/dialog_gendrill.cpp
  55. 1
      pcbnew/dialogs/dialog_import_settings.cpp
  56. 4
      pcbnew/dialogs/dialog_net_inspector.cpp
  57. 2
      pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp
  58. 1
      pcbnew/dialogs/dialog_pad_properties.cpp
  59. 2
      pcbnew/dialogs/dialog_print_pcbnew.cpp
  60. 2
      pcbnew/dialogs/panel_fp_lib_table.cpp
  61. 1
      pcbnew/exporters/export_d356.cpp
  62. 2
      pcbnew/exporters/export_footprint_associations.cpp
  63. 1
      pcbnew/exporters/export_gencad.cpp
  64. 5
      pcbnew/files.cpp
  65. 1
      pcbnew/import_gfx/dialog_import_gfx.cpp
  66. 1
      pcbnew/import_gfx/dxf_import_plugin.h
  67. 2
      pcbnew/microwave/microwave_inductor.cpp
  68. 1
      pcbnew/netlist_reader/kicad_netlist_reader.cpp
  69. 1
      pcbnew/swig/pcbnew_scripting_helpers.cpp
  70. 1
      pcbnew/toolbars_pcb_editor.cpp
  71. 1
      pcbnew/tools/board_editor_control.cpp
  72. 1
      pcbnew/tools/board_reannotate_tool.cpp

1
3d-viewer/3d_viewer/eda_3d_viewer.cpp

@ -52,6 +52,7 @@
#include <tool/action_toolbar.h>
#include <widgets/infobar.h>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
/**
* Flag to enable 3D viewer main frame window debug tracing.

5
bitmap2component/bitmap2cmp_gui.cpp

@ -35,6 +35,11 @@
#include <wildcards_and_files_ext.h>
#include <wx/clipbrd.h>
#include <wx/rawbmp.h>
#include <wx/filedlg.h>
#include <wx/rawbmp.h>
#include <wx/msgdlg.h>
#include <wx/dcclient.h>
#include "bitmap2cmp_gui_base.h"

2
common/dialogs/dialog_page_settings.cpp

@ -36,6 +36,8 @@
#include <drawing_sheet/ds_painter.h>
#include <wx/valgen.h>
#include <wx/tokenzr.h>
#include <wx/filedlg.h>
#include <wx/dcmemory.h>
#define MAX_PAGE_EXAMPLE_SIZE 200

3
common/eda_draw_frame.cpp

@ -59,6 +59,9 @@
#include <wx/snglinst.h>
#include <dialogs/dialog_grid_settings.h>
#include <widgets/ui_common.h>
#include <wx/dirdlg.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#define FR_HISTORY_LIST_CNT 10 ///< Maximum size of the find/replace history stacks.

2
common/kiway_express.cpp

@ -23,6 +23,8 @@
*/
#include <kiway_express.h>
#include <wx/wx.h>
//IMPLEMENT_DYNAMIC_CLASS( KIWAY_EXPRESS, wxEvent )

1
common/project/project_archiver.cpp

@ -29,6 +29,7 @@
#include <project/project_archiver.h>
#include <reporter.h>
#include <wildcards_and_files_ext.h>
#include <wx/log.h>
#define ZipFileExtension wxT( "zip" )

1
common/tool/action_toolbar.cpp

@ -42,6 +42,7 @@
#include <wx/popupwin.h>
#include <wx/renderer.h>
#include <wx/sizer.h>
#include <wx/dcclient.h>
wxBitmap MakeDisabledBitmap( const wxBitmap& aSource )

1
common/tool/common_control.cpp

@ -38,6 +38,7 @@
#include <kicad_curl/kicad_curl_easy.h>
#include <dialogs/dialog_configure_paths.h>
#include <eda_doc.h>
#include <wx/msgdlg.h>
#define URL_GET_INVOLVED "https://kicad.org/contribute/"
#define URL_DONATE "https://go.kicad.org/app-donate"

2
common/tool/tool_dispatcher.cpp

@ -43,6 +43,8 @@
#include <wx/stc/stc.h>
#include <kiplatform/app.h>
#include <wx/wx.h> // for GetForegroundWindow() on wxMSW
///< Stores information about a mouse button state
struct TOOL_DISPATCHER::BUTTON_STATE
{

2
common/view/wx_view_controls.cpp

@ -38,6 +38,8 @@
#include <widgets/ui_common.h>
#include <class_draw_panel_gal.h>
#include <wx/wx.h> // for GetForegroundWindow() on wxMSW
#if defined __WXMSW__
#define USE_MOUSE_CAPTURE
#endif

1
common/widgets/infobar.cpp

@ -28,6 +28,7 @@
#include <wx/sizer.h>
#include <wx/timer.h>
#include <wx/hyperlink.h>
#include <wx/bmpbuttn.h>
#include <eda_base_frame.h>

6
common/widgets/net_selector.cpp

@ -30,6 +30,12 @@
#include <netinfo.h>
#include <wx/arrstr.h>
#include <wx/display.h>
#include <wx/valtext.h>
#include <wx/listbox.h>
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
wxDEFINE_EVENT( NET_SELECTED, wxCommandEvent );

2
common/wildcards_and_files_ext.cpp

@ -30,6 +30,8 @@
#include <regex>
#include <wildcards_and_files_ext.h>
#include <wx/regex.h>
#include <wx/wx.h>
bool compareFileExtensions( const std::string& aExtension,
const std::vector<std::string>& aReference, bool aCaseSensitive )

1
cvpcb/cvpcb_mainframe.cpp

@ -52,6 +52,7 @@
#include <tools/cvpcb_actions.h>
#include <tools/cvpcb_association_tool.h>
#include <tools/cvpcb_control.h>
#include <wx/button.h>
#define CVPCB_MAINFRAME_NAME wxT( "CvpcbFrame" )

2
cvpcb/dialogs/dialog_config_equfiles.cpp

@ -39,6 +39,8 @@
#include <settings/settings_manager.h>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES( CVPCB_MAINFRAME* aParent ) :
DIALOG_CONFIG_EQUFILES_BASE( aParent )

1
cvpcb/listbox_base.cpp

@ -28,6 +28,7 @@
#include <cvpcb_mainframe.h>
#include <listboxes.h>
#include <wx/dcclient.h>
/******************************************************************************

1
eeschema/dialogs/dialog_fields_editor_global.cpp

@ -42,6 +42,7 @@
#include <widgets/wx_grid.h>
#include <wx/grid.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include "dialog_fields_editor_global.h"

3
eeschema/dialogs/dialog_netlist.cpp

@ -49,6 +49,9 @@
#include <eeschema_id.h>
#include <wx/regex.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#define CUSTOMPANEL_COUNTMAX 8 // Max number of netlist plugins

1
eeschema/dialogs/dialog_sch_import_settings.cpp

@ -26,6 +26,7 @@
#include <wildcards_and_files_ext.h>
#include <confirm.h>
#include <schematic.h>
#include <wx/filedlg.h>
#include <dialog_sch_import_settings.h>

2
eeschema/dialogs/dialog_spice_model.cpp

@ -33,6 +33,8 @@
#include <wx/textfile.h>
#include <wx/tokenzr.h>
#include <wx/wupdlock.h>
#include <wx/filedlg.h>
#include <cctype>
#include <cstring>

2
eeschema/dialogs/panel_sym_lib_table.cpp

@ -46,6 +46,8 @@
#include <widgets/grid_readonly_text_helpers.h>
#include <widgets/grid_text_button_helpers.h>
#include <sch_file_versions.h>
#include <wx/filedlg.h>
// clang-format off

3
eeschema/sch_edit_frame.cpp

@ -77,6 +77,9 @@
#include <widgets/infobar.h>
#include <wildcards_and_files_ext.h>
#include <wx/cmdline.h>
#include <wx/app.h>
#include <wx/filedlg.h>
#include <gal/graphics_abstraction_layer.h>
#include <drawing_sheet/ds_proxy_view_item.h>

4
eeschema/sheet.cpp

@ -28,7 +28,6 @@
#include <project.h>
#include <wildcards_and_files_ext.h>
#include <tool/tool_manager.h>
#include <wx/clipbrd.h>
#include <sch_edit_frame.h>
#include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_sheet.h>
@ -40,6 +39,9 @@
#include <dialogs/dialog_sheet_properties.h>
#include <tool/actions.h>
#include <wx/clipbrd.h>
#include <wx/dcmemory.h>
bool SCH_EDIT_FRAME::CheckSheetForRecursion( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHierarchy )
{

1
eeschema/sim/sim_plot_frame.cpp

@ -48,6 +48,7 @@
#include <tools/ee_actions.h>
#include <eeschema_settings.h>
#include <wx/ffile.h>
#include <wx/filedlg.h>
#include <dialog_shim.h>
SIM_PLOT_TYPE operator|( SIM_PLOT_TYPE aFirst, SIM_PLOT_TYPE aSecond )

1
eeschema/symbol_editor/symbol_edit_frame.cpp

@ -71,6 +71,7 @@
#include <widgets/symbol_tree_pane.h>
#include <wildcards_and_files_ext.h>
#include <panel_sym_lib_table.h>
#include <wx/choicdlg.h>
bool SYMBOL_EDIT_FRAME::m_showDeMorgan = false;

2
eeschema/symbol_editor/symbol_editor.cpp

@ -42,6 +42,8 @@
#include <dialogs/dialog_lib_new_component.h>
#include <dialog_helpers.h>
#include <wx/clipbrd.h>
#include <wx/filedlg.h>
/**

1
eeschema/symbol_editor/symbol_editor_import_export.cpp

@ -30,6 +30,7 @@
#include <wildcards_and_files_ext.h>
#include <symbol_library_manager.h>
#include <wx/filename.h>
#include <wx/filedlg.h>
void SYMBOL_EDIT_FRAME::ImportPart()

4
eeschema/tools/assign_footprints.cpp

@ -35,9 +35,11 @@
#include <dsnlexer.h>
#include <ptree.h>
#include <boost/property_tree/ptree.hpp>
#include <wx/choicdlg.h>
#include <tools/sch_editor_control.h>
#include <wx/choicdlg.h>
#include <wx/filedlg.h>
void SCH_EDITOR_CONTROL::AssignFootprints( const std::string& aChangedSetOfReferences )
{

2
eeschema/tools/sch_drawing_tools.cpp

@ -52,6 +52,8 @@
#include <dialogs/dialog_sheet_pin_properties.h>
#include <kicad_string.h>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
SCH_DRAWING_TOOLS::SCH_DRAWING_TOOLS() :
EE_TOOL_BASE<SCH_EDIT_FRAME>( "eeschema.InteractiveDrawing" ),

3
eeschema/tools/sch_edit_tool.cpp

@ -66,6 +66,9 @@
#include <symbol_editor_settings.h>
#include <dialogs/dialog_edit_label.h>
#include <core/kicad_algo.h>
//#include <wx/filedlg.h>
#include <wx/textdlg.h>
class SYMBOL_UNIT_MENU : public ACTION_MENU

1
eeschema/tools/symbol_editor_control.cpp

@ -35,6 +35,7 @@
#include <gestfich.h>
#include <bitmaps/bitmap_types.h>
#include <confirm.h>
#include <wx/filedlg.h>
bool SYMBOL_EDITOR_CONTROL::Init()

1
gerbview/dialogs/dialog_print_gerbview.cpp

@ -35,6 +35,7 @@
#include <tool/tool_manager.h>
#include <tools/gerbview_actions.h>
#include <tools/gerbview_control.h>
#include <wx/checklst.h>
// TODO(JE)
#define OPTKEY_LAYERBASE wxT( "PlotLayer_%d" )

2
gerbview/job_file_reader.cpp

@ -41,6 +41,8 @@
#include <gbr_metadata.h>
#include <dialogs/html_messagebox.h>
#include <view/view.h>
#include <wx/filedlg.h>
using json = nlohmann::json;

1
gerbview/tools/gerbview_control.cpp

@ -31,6 +31,7 @@
#include <tool/tool_manager.h>
#include <view/view.h>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
#include "gerbview_actions.h"
#include "gerbview_control.h"

4
gerbview/tools/gerbview_inspection_tool.cpp

@ -36,7 +36,9 @@
#include <view/view.h>
#include <view/view_controls.h>
#include <view/view_group.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include <wx/choicdlg.h>
GERBVIEW_INSPECTION_TOOL::GERBVIEW_INSPECTION_TOOL() :

1
include/eda_pattern_match.h

@ -32,7 +32,6 @@
#include <vector>
#include <map>
#include <memory>
#include <wx/wx.h>
#include <wx/string.h>
#include <wx/regex.h>

4
include/kiway_express.h

@ -26,10 +26,10 @@
#define KIWAY_EXPRESS_H_
// @see http://wiki.wxwidgets.org/Custom_Events_Tutorial
#include <wx/wx.h>
#include <frame_type.h>
#include <mail_type.h>
#include <wx/string.h>
#include <wx/event.h>
/**

1
include/tool/conditional_menu.h

@ -30,7 +30,6 @@
#include <tool/selection_conditions.h>
#include <tool/action_menu.h>
#include <list>
#include <wx/wx.h>
class PCB_SELECTION_TOOL;
class TOOL_ACTION;

5
include/view/wx_view_controls.h

@ -33,11 +33,10 @@
#ifndef __WX_VIEW_CONTROLS_H
#define __WX_VIEW_CONTROLS_H
#include <wx/wx.h>
#include <view/view_controls.h>
#include <wx/timer.h>
#include <memory>
class EDA_DRAW_PANEL_GAL;
namespace KIGFX

4
include/widgets/infobar.h

@ -24,7 +24,9 @@
#include <core/optional.h>
#include <wx/event.h>
#include <wx/infobar.h>
#include <wx/wx.h>
#include <wx/timer.h>
#include <wx/panel.h>
#include <wx/sizer.h>
class wxAuiManager;

1
include/widgets/net_selector.h

@ -24,7 +24,6 @@
#ifndef __WIDGET_NET_SELECTOR_H
#define __WIDGET_NET_SELECTOR_H
#include <wx/wx.h>
#include <wx/combo.h>

4
include/widgets/number_badge.h

@ -25,7 +25,9 @@
#define NUMBER_BADGE_H_
#include <widgets/ui_common.h>
#include <wx/wx.h>
#include <wx/dcclient.h>
#include <wx/panel.h>
/**
* A simple UI element that puts a number on top of a colored rounded rectangle with a fill

3
include/wildcards_and_files_ext.h

@ -32,10 +32,9 @@
#ifndef INCLUDE_WILDCARDS_AND_FILES_EXT_H_
#define INCLUDE_WILDCARDS_AND_FILES_EXT_H_
#include <wx/wx.h>
#include <string>
#include <vector>
#include <wx/string.h>
/**
* \defgroup file_extensions File Extension Definitions

2
kicad/files-io.cpp

@ -27,6 +27,8 @@
*/
#include <wx/dir.h>
#include <wx/filedlg.h>
#include <wx/dirdlg.h>
#include <confirm.h>
#include <dialogs/panel_kicad_launcher.h>

2
kicad/import_project.cpp

@ -32,6 +32,8 @@
#include <wx/filefn.h>
#include <wx/filename.h>
#include <wx/dir.h>
#include <wx/filedlg.h>
#include <wx/dirdlg.h>
#include <common.h>
#include <confirm.h>

2
kicad/project_tree_pane.cpp

@ -28,6 +28,8 @@
#include <wx/regex.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include <bitmaps.h>
#include <common.h>

1
kicad/tools/kicad_manager_control.cpp

@ -31,6 +31,7 @@
#include <dialogs/dialog_template_selector.h>
#include <gestfich.h>
#include <wx/dir.h>
#include <wx/filedlg.h>
///< Helper widget to select whether a new directory should be created for a project.

4
pagelayout_editor/files.cpp

@ -2,7 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2013 CERN
* Copyright (C) 2017-2019 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 2017-2021 KiCad Developers, see AUTHORS.txt for contributors.
*
* @author Jean-Pierre Charras, jp.charras at wanadoo.fr
*
@ -35,6 +35,8 @@
#include "pl_editor_id.h"
#include "properties_frame.h"
#include <wx/filedlg.h>
bool PL_EDITOR_FRAME::saveCurrentPageLayout()
{
wxCommandEvent saveEvent;

2
pcbnew/build_BOM_from_board.cpp

@ -33,6 +33,8 @@
#include <wildcards_and_files_ext.h>
#include <footprint.h>
#include <wx/listimpl.cpp>
#include <wx/filedlg.h>
/* creates a BOM list from board
* The format is:

1
pcbnew/dialogs/dialog_board_statistics.cpp

@ -27,6 +27,7 @@
#include "base_units.h"
#include <macros.h>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
#define COL_LABEL 0
#define COL_AMOUNT 1

1
pcbnew/dialogs/dialog_cleanup_graphics.cpp

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/wx.h>
#include <dialog_cleanup_graphics.h>
#include <tool/tool_manager.h>
#include <tools/pcb_actions.h>

1
pcbnew/dialogs/dialog_cleanup_tracks_and_vias.cpp

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/wx.h>
#include <dialog_cleanup_tracks_and_vias.h>
#include <pcb_edit_frame.h>
#include <pcbnew_settings.h>

1
pcbnew/dialogs/dialog_footprint_checker.cpp

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/wx.h>
#include <dialog_footprint_checker.h>
#include <widgets/appearance_controls.h>
#include <tool/tool_manager.h>

4
pcbnew/dialogs/dialog_gendrill.cpp

@ -39,7 +39,9 @@
#include <wildcards_and_files_ext.h>
#include <reporter.h>
#include <wx/stdpaths.h>
#include <wx/msgdlg.h>
#include <wx/dirdlg.h>
#include <wx/filedlg.h>
// list of allowed precision for EXCELLON files, for integer format:
// Due to difference between inches and mm,

1
pcbnew/dialogs/dialog_import_settings.cpp

@ -26,6 +26,7 @@
#include <board.h>
#include <wildcards_and_files_ext.h>
#include <confirm.h>
#include <wx/filedlg.h>
#include <dialog_import_settings.h>

4
pcbnew/dialogs/dialog_net_inspector.cpp

@ -38,7 +38,11 @@
#include <dialogs/dialog_text_entry.h>
#include <validators.h>
#include <bitmaps.h>
#include <wx/tokenzr.h>
#include <wx/filedlg.h>
#include <wx/dcclient.h>
#include <bitset>
struct DIALOG_NET_INSPECTOR::COLUMN_DESC

2
pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp

@ -39,6 +39,8 @@
#include <dialog_pad_properties.h>
#include <bitmaps.h>
#include <wx/dcclient.h>
DIALOG_PAD_PRIMITIVES_PROPERTIES::DIALOG_PAD_PRIMITIVES_PROPERTIES( wxWindow* aParent,
PCB_BASE_FRAME* aFrame,

1
pcbnew/dialogs/dialog_pad_properties.cpp

@ -47,6 +47,7 @@
#include <tool/tool_manager.h>
#include <tools/pad_tool.h>
#include <advanced_config.h> // for pad property feature management
#include <wx/choicdlg.h>
// list of pad shapes, ordered like the pad shape wxChoice in dialog.

2
pcbnew/dialogs/dialog_print_pcbnew.cpp

@ -37,6 +37,8 @@
#include <tools/pcb_control.h>
#include <dialogs/dialog_print_generic.h>
#include <pcbnew_printout.h>
#include <wx/checklst.h>
#include <wx/textdlg.h>
class DIALOG_PRINT_PCBNEW : public DIALOG_PRINT_GENERIC

2
pcbnew/dialogs/panel_fp_lib_table.cpp

@ -35,6 +35,8 @@
#include <wx/dir.h>
#include <wx/regex.h>
#include <wx/grid.h>
#include <wx/dirdlg.h>
#include <wx/filedlg.h>
#include <project.h>
#include <3d_viewer/eda_3d_viewer.h> // for KICAD6_3DMODEL_DIR

1
pcbnew/exporters/export_d356.cpp

@ -44,6 +44,7 @@
#include <cctype>
#include <math/util.h> // for KiROUND
#include <export_d356.h>
#include <wx/filedlg.h>

2
pcbnew/exporters/export_footprint_associations.cpp

@ -29,6 +29,8 @@
#include <footprint.h>
#include <project.h>
#include <wildcards_and_files_ext.h>
#include <wx/filedlg.h>
bool RecreateCmpFile( BOARD * aBrd, const wxString& aFullCmpFileName )

1
pcbnew/exporters/export_gencad.cpp

@ -46,6 +46,7 @@
#include <project/project_file.h> // LAST_PATH_TYPE
#include <wx/app.h>
#include <wx/filedlg.h>
static bool CreateHeaderInfoData( FILE* aFile, PCB_EDIT_FRAME* frame );
static void CreateArtworksSection( FILE* aFile );

5
pcbnew/files.cpp

@ -47,7 +47,6 @@
#include <kiplatform/app.h>
#include <widgets/appearance_controls.h>
#include <widgets/infobar.h>
#include <wx/wupdlock.h>
#include <settings/settings_manager.h>
#include <paths.h>
#include <project/project_file.h>
@ -58,6 +57,10 @@
#include <dialogs/dialog_imported_layers.h>
#include "footprint_info_impl.h"
#include <wx/wupdlock.h>
#include <wx/filedlg.h>
//#define USE_INSTRUMENTATION 1
#define USE_INSTRUMENTATION 0

1
pcbnew/import_gfx/dialog_import_gfx.cpp

@ -33,6 +33,7 @@
#include <bitmaps.h>
#include <map>
#include "dxf_import_plugin.h"
#include <wx/filedlg.h>
#include <memory>

1
pcbnew/import_gfx/dxf_import_plugin.h

@ -32,7 +32,6 @@
#include <dl_dxf.h>
#include <math/vector3.h>
#include <wildcards_and_files_ext.h>
#include <wx/wx.h>
#include <list>

2
pcbnew/microwave/microwave_inductor.cpp

@ -21,8 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/wx.h>
#include <base_units.h>
#include <board_commit.h>
#include <pad.h>

1
pcbnew/netlist_reader/kicad_netlist_reader.cpp

@ -25,7 +25,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/wx.h>
#include <netlist_lexer.h> // netlist_lexer is common to Eeschema and Pcbnew
#include <macros.h>

1
pcbnew/swig/pcbnew_scripting_helpers.cpp

@ -46,6 +46,7 @@
#include <project/project_local_settings.h>
#include <wildcards_and_files_ext.h>
#include <locale_io.h>
#include <wx/app.h>
static PCB_EDIT_FRAME* s_PcbEditFrame = NULL;

1
pcbnew/toolbars_pcb_editor.cpp

@ -46,6 +46,7 @@
#include <tools/pcb_actions.h>
#include <tools/pcb_selection_tool.h>
#include <wx/wupdlock.h>
#include <wx/dcmemory.h>
#if defined(KICAD_SCRIPTING) || defined(KICAD_SCRIPTING_WXPYTHON)
#include <python_scripting.h>

1
pcbnew/tools/board_editor_control.cpp

@ -65,6 +65,7 @@
#include <wildcards_and_files_ext.h>
#include <drawing_sheet/ds_proxy_undo_item.h>
#include <footprint_edit_frame.h>
#include <wx/filedlg.h>
using namespace std::placeholders;

1
pcbnew/tools/board_reannotate_tool.cpp

@ -25,7 +25,6 @@
#include <tool/tool_manager.h>
#include <wx/filedlg.h>
#include <wx/wx.h>
#include <tools/board_reannotate_tool.h>

Loading…
Cancel
Save