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
This commit is contained in:
parent
cc1bfd4c18
commit
0427bda768
|
@ -52,6 +52,7 @@
|
||||||
#include <tool/action_toolbar.h>
|
#include <tool/action_toolbar.h>
|
||||||
#include <widgets/infobar.h>
|
#include <widgets/infobar.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flag to enable 3D viewer main frame window debug tracing.
|
* Flag to enable 3D viewer main frame window debug tracing.
|
||||||
|
|
|
@ -35,6 +35,11 @@
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <wx/clipbrd.h>
|
#include <wx/clipbrd.h>
|
||||||
#include <wx/rawbmp.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"
|
#include "bitmap2cmp_gui_base.h"
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
#include <drawing_sheet/ds_painter.h>
|
#include <drawing_sheet/ds_painter.h>
|
||||||
#include <wx/valgen.h>
|
#include <wx/valgen.h>
|
||||||
#include <wx/tokenzr.h>
|
#include <wx/tokenzr.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/dcmemory.h>
|
||||||
|
|
||||||
#define MAX_PAGE_EXAMPLE_SIZE 200
|
#define MAX_PAGE_EXAMPLE_SIZE 200
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,9 @@
|
||||||
#include <wx/snglinst.h>
|
#include <wx/snglinst.h>
|
||||||
#include <dialogs/dialog_grid_settings.h>
|
#include <dialogs/dialog_grid_settings.h>
|
||||||
#include <widgets/ui_common.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.
|
#define FR_HISTORY_LIST_CNT 10 ///< Maximum size of the find/replace history stacks.
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kiway_express.h>
|
#include <kiway_express.h>
|
||||||
|
#include <wx/wx.h>
|
||||||
|
|
||||||
|
|
||||||
//IMPLEMENT_DYNAMIC_CLASS( KIWAY_EXPRESS, wxEvent )
|
//IMPLEMENT_DYNAMIC_CLASS( KIWAY_EXPRESS, wxEvent )
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <project/project_archiver.h>
|
#include <project/project_archiver.h>
|
||||||
#include <reporter.h>
|
#include <reporter.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
#include <wx/log.h>
|
||||||
|
|
||||||
|
|
||||||
#define ZipFileExtension wxT( "zip" )
|
#define ZipFileExtension wxT( "zip" )
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
#include <wx/popupwin.h>
|
#include <wx/popupwin.h>
|
||||||
#include <wx/renderer.h>
|
#include <wx/renderer.h>
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
|
#include <wx/dcclient.h>
|
||||||
|
|
||||||
|
|
||||||
wxBitmap MakeDisabledBitmap( const wxBitmap& aSource )
|
wxBitmap MakeDisabledBitmap( const wxBitmap& aSource )
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#include <kicad_curl/kicad_curl_easy.h>
|
#include <kicad_curl/kicad_curl_easy.h>
|
||||||
#include <dialogs/dialog_configure_paths.h>
|
#include <dialogs/dialog_configure_paths.h>
|
||||||
#include <eda_doc.h>
|
#include <eda_doc.h>
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
#define URL_GET_INVOLVED "https://kicad.org/contribute/"
|
#define URL_GET_INVOLVED "https://kicad.org/contribute/"
|
||||||
#define URL_DONATE "https://go.kicad.org/app-donate"
|
#define URL_DONATE "https://go.kicad.org/app-donate"
|
||||||
|
|
|
@ -43,6 +43,8 @@
|
||||||
#include <wx/stc/stc.h>
|
#include <wx/stc/stc.h>
|
||||||
#include <kiplatform/app.h>
|
#include <kiplatform/app.h>
|
||||||
|
|
||||||
|
#include <wx/wx.h> // for GetForegroundWindow() on wxMSW
|
||||||
|
|
||||||
///< Stores information about a mouse button state
|
///< Stores information about a mouse button state
|
||||||
struct TOOL_DISPATCHER::BUTTON_STATE
|
struct TOOL_DISPATCHER::BUTTON_STATE
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
#include <widgets/ui_common.h>
|
#include <widgets/ui_common.h>
|
||||||
#include <class_draw_panel_gal.h>
|
#include <class_draw_panel_gal.h>
|
||||||
|
|
||||||
|
#include <wx/wx.h> // for GetForegroundWindow() on wxMSW
|
||||||
|
|
||||||
#if defined __WXMSW__
|
#if defined __WXMSW__
|
||||||
#define USE_MOUSE_CAPTURE
|
#define USE_MOUSE_CAPTURE
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
#include <wx/timer.h>
|
#include <wx/timer.h>
|
||||||
#include <wx/hyperlink.h>
|
#include <wx/hyperlink.h>
|
||||||
|
#include <wx/bmpbuttn.h>
|
||||||
#include <eda_base_frame.h>
|
#include <eda_base_frame.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,12 @@
|
||||||
#include <netinfo.h>
|
#include <netinfo.h>
|
||||||
#include <wx/arrstr.h>
|
#include <wx/arrstr.h>
|
||||||
#include <wx/display.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 );
|
wxDEFINE_EVENT( NET_SELECTED, wxCommandEvent );
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <wx/regex.h>
|
#include <wx/regex.h>
|
||||||
|
#include <wx/wx.h>
|
||||||
|
|
||||||
|
|
||||||
bool compareFileExtensions( const std::string& aExtension,
|
bool compareFileExtensions( const std::string& aExtension,
|
||||||
const std::vector<std::string>& aReference, bool aCaseSensitive )
|
const std::vector<std::string>& aReference, bool aCaseSensitive )
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
#include <tools/cvpcb_actions.h>
|
#include <tools/cvpcb_actions.h>
|
||||||
#include <tools/cvpcb_association_tool.h>
|
#include <tools/cvpcb_association_tool.h>
|
||||||
#include <tools/cvpcb_control.h>
|
#include <tools/cvpcb_control.h>
|
||||||
|
#include <wx/button.h>
|
||||||
|
|
||||||
#define CVPCB_MAINFRAME_NAME wxT( "CvpcbFrame" )
|
#define CVPCB_MAINFRAME_NAME wxT( "CvpcbFrame" )
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
#include <settings/settings_manager.h>
|
#include <settings/settings_manager.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES( CVPCB_MAINFRAME* aParent ) :
|
DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES( CVPCB_MAINFRAME* aParent ) :
|
||||||
DIALOG_CONFIG_EQUFILES_BASE( aParent )
|
DIALOG_CONFIG_EQUFILES_BASE( aParent )
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include <cvpcb_mainframe.h>
|
#include <cvpcb_mainframe.h>
|
||||||
#include <listboxes.h>
|
#include <listboxes.h>
|
||||||
|
#include <wx/dcclient.h>
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
#include <widgets/wx_grid.h>
|
#include <widgets/wx_grid.h>
|
||||||
#include <wx/grid.h>
|
#include <wx/grid.h>
|
||||||
#include <wx/msgdlg.h>
|
#include <wx/msgdlg.h>
|
||||||
|
#include <wx/textdlg.h>
|
||||||
|
|
||||||
#include "dialog_fields_editor_global.h"
|
#include "dialog_fields_editor_global.h"
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,9 @@
|
||||||
|
|
||||||
#include <eeschema_id.h>
|
#include <eeschema_id.h>
|
||||||
#include <wx/regex.h>
|
#include <wx/regex.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define CUSTOMPANEL_COUNTMAX 8 // Max number of netlist plugins
|
#define CUSTOMPANEL_COUNTMAX 8 // Max number of netlist plugins
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
#include <schematic.h>
|
#include <schematic.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#include <dialog_sch_import_settings.h>
|
#include <dialog_sch_import_settings.h>
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,8 @@
|
||||||
#include <wx/textfile.h>
|
#include <wx/textfile.h>
|
||||||
#include <wx/tokenzr.h>
|
#include <wx/tokenzr.h>
|
||||||
#include <wx/wupdlock.h>
|
#include <wx/wupdlock.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
|
@ -46,6 +46,8 @@
|
||||||
#include <widgets/grid_readonly_text_helpers.h>
|
#include <widgets/grid_readonly_text_helpers.h>
|
||||||
#include <widgets/grid_text_button_helpers.h>
|
#include <widgets/grid_text_button_helpers.h>
|
||||||
#include <sch_file_versions.h>
|
#include <sch_file_versions.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
|
@ -77,6 +77,9 @@
|
||||||
#include <widgets/infobar.h>
|
#include <widgets/infobar.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <wx/cmdline.h>
|
#include <wx/cmdline.h>
|
||||||
|
#include <wx/app.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#include <gal/graphics_abstraction_layer.h>
|
#include <gal/graphics_abstraction_layer.h>
|
||||||
#include <drawing_sheet/ds_proxy_view_item.h>
|
#include <drawing_sheet/ds_proxy_view_item.h>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include <project.h>
|
#include <project.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
#include <wx/clipbrd.h>
|
|
||||||
#include <sch_edit_frame.h>
|
#include <sch_edit_frame.h>
|
||||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||||
#include <sch_sheet.h>
|
#include <sch_sheet.h>
|
||||||
|
@ -40,6 +39,9 @@
|
||||||
#include <dialogs/dialog_sheet_properties.h>
|
#include <dialogs/dialog_sheet_properties.h>
|
||||||
#include <tool/actions.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 )
|
bool SCH_EDIT_FRAME::CheckSheetForRecursion( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHierarchy )
|
||||||
{
|
{
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
#include <tools/ee_actions.h>
|
#include <tools/ee_actions.h>
|
||||||
#include <eeschema_settings.h>
|
#include <eeschema_settings.h>
|
||||||
#include <wx/ffile.h>
|
#include <wx/ffile.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
#include <dialog_shim.h>
|
#include <dialog_shim.h>
|
||||||
|
|
||||||
SIM_PLOT_TYPE operator|( SIM_PLOT_TYPE aFirst, SIM_PLOT_TYPE aSecond )
|
SIM_PLOT_TYPE operator|( SIM_PLOT_TYPE aFirst, SIM_PLOT_TYPE aSecond )
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
#include <widgets/symbol_tree_pane.h>
|
#include <widgets/symbol_tree_pane.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <panel_sym_lib_table.h>
|
#include <panel_sym_lib_table.h>
|
||||||
|
#include <wx/choicdlg.h>
|
||||||
|
|
||||||
|
|
||||||
bool SYMBOL_EDIT_FRAME::m_showDeMorgan = false;
|
bool SYMBOL_EDIT_FRAME::m_showDeMorgan = false;
|
||||||
|
|
|
@ -42,6 +42,8 @@
|
||||||
#include <dialogs/dialog_lib_new_component.h>
|
#include <dialogs/dialog_lib_new_component.h>
|
||||||
#include <dialog_helpers.h>
|
#include <dialog_helpers.h>
|
||||||
#include <wx/clipbrd.h>
|
#include <wx/clipbrd.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <symbol_library_manager.h>
|
#include <symbol_library_manager.h>
|
||||||
#include <wx/filename.h>
|
#include <wx/filename.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
void SYMBOL_EDIT_FRAME::ImportPart()
|
void SYMBOL_EDIT_FRAME::ImportPart()
|
||||||
|
|
|
@ -35,9 +35,11 @@
|
||||||
#include <dsnlexer.h>
|
#include <dsnlexer.h>
|
||||||
#include <ptree.h>
|
#include <ptree.h>
|
||||||
#include <boost/property_tree/ptree.hpp>
|
#include <boost/property_tree/ptree.hpp>
|
||||||
#include <wx/choicdlg.h>
|
|
||||||
#include <tools/sch_editor_control.h>
|
#include <tools/sch_editor_control.h>
|
||||||
|
|
||||||
|
#include <wx/choicdlg.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
void SCH_EDITOR_CONTROL::AssignFootprints( const std::string& aChangedSetOfReferences )
|
void SCH_EDITOR_CONTROL::AssignFootprints( const std::string& aChangedSetOfReferences )
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,6 +52,8 @@
|
||||||
#include <dialogs/dialog_sheet_pin_properties.h>
|
#include <dialogs/dialog_sheet_pin_properties.h>
|
||||||
#include <kicad_string.h>
|
#include <kicad_string.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
SCH_DRAWING_TOOLS::SCH_DRAWING_TOOLS() :
|
SCH_DRAWING_TOOLS::SCH_DRAWING_TOOLS() :
|
||||||
EE_TOOL_BASE<SCH_EDIT_FRAME>( "eeschema.InteractiveDrawing" ),
|
EE_TOOL_BASE<SCH_EDIT_FRAME>( "eeschema.InteractiveDrawing" ),
|
||||||
|
|
|
@ -66,6 +66,9 @@
|
||||||
#include <symbol_editor_settings.h>
|
#include <symbol_editor_settings.h>
|
||||||
#include <dialogs/dialog_edit_label.h>
|
#include <dialogs/dialog_edit_label.h>
|
||||||
#include <core/kicad_algo.h>
|
#include <core/kicad_algo.h>
|
||||||
|
//#include <wx/filedlg.h>
|
||||||
|
#include <wx/textdlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class SYMBOL_UNIT_MENU : public ACTION_MENU
|
class SYMBOL_UNIT_MENU : public ACTION_MENU
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include <gestfich.h>
|
#include <gestfich.h>
|
||||||
#include <bitmaps/bitmap_types.h>
|
#include <bitmaps/bitmap_types.h>
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
bool SYMBOL_EDITOR_CONTROL::Init()
|
bool SYMBOL_EDITOR_CONTROL::Init()
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
#include <tools/gerbview_actions.h>
|
#include <tools/gerbview_actions.h>
|
||||||
#include <tools/gerbview_control.h>
|
#include <tools/gerbview_control.h>
|
||||||
|
#include <wx/checklst.h>
|
||||||
|
|
||||||
// TODO(JE)
|
// TODO(JE)
|
||||||
#define OPTKEY_LAYERBASE wxT( "PlotLayer_%d" )
|
#define OPTKEY_LAYERBASE wxT( "PlotLayer_%d" )
|
||||||
|
|
|
@ -41,6 +41,8 @@
|
||||||
#include <gbr_metadata.h>
|
#include <gbr_metadata.h>
|
||||||
#include <dialogs/html_messagebox.h>
|
#include <dialogs/html_messagebox.h>
|
||||||
#include <view/view.h>
|
#include <view/view.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
using json = nlohmann::json;
|
using json = nlohmann::json;
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
#include <view/view.h>
|
#include <view/view.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#include "gerbview_actions.h"
|
#include "gerbview_actions.h"
|
||||||
#include "gerbview_control.h"
|
#include "gerbview_control.h"
|
||||||
|
|
|
@ -36,7 +36,9 @@
|
||||||
#include <view/view.h>
|
#include <view/view.h>
|
||||||
#include <view/view_controls.h>
|
#include <view/view_controls.h>
|
||||||
#include <view/view_group.h>
|
#include <view/view_group.h>
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
#include <wx/textdlg.h>
|
||||||
|
#include <wx/choicdlg.h>
|
||||||
|
|
||||||
|
|
||||||
GERBVIEW_INSPECTION_TOOL::GERBVIEW_INSPECTION_TOOL() :
|
GERBVIEW_INSPECTION_TOOL::GERBVIEW_INSPECTION_TOOL() :
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
#include <wx/regex.h>
|
#include <wx/regex.h>
|
||||||
|
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
#define KIWAY_EXPRESS_H_
|
#define KIWAY_EXPRESS_H_
|
||||||
|
|
||||||
// @see http://wiki.wxwidgets.org/Custom_Events_Tutorial
|
// @see http://wiki.wxwidgets.org/Custom_Events_Tutorial
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <frame_type.h>
|
#include <frame_type.h>
|
||||||
#include <mail_type.h>
|
#include <mail_type.h>
|
||||||
|
#include <wx/string.h>
|
||||||
|
#include <wx/event.h>
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include <tool/selection_conditions.h>
|
#include <tool/selection_conditions.h>
|
||||||
#include <tool/action_menu.h>
|
#include <tool/action_menu.h>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
class PCB_SELECTION_TOOL;
|
class PCB_SELECTION_TOOL;
|
||||||
class TOOL_ACTION;
|
class TOOL_ACTION;
|
||||||
|
|
|
@ -33,11 +33,10 @@
|
||||||
#ifndef __WX_VIEW_CONTROLS_H
|
#ifndef __WX_VIEW_CONTROLS_H
|
||||||
#define __WX_VIEW_CONTROLS_H
|
#define __WX_VIEW_CONTROLS_H
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
#include <view/view_controls.h>
|
#include <view/view_controls.h>
|
||||||
|
#include <wx/timer.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
class EDA_DRAW_PANEL_GAL;
|
class EDA_DRAW_PANEL_GAL;
|
||||||
|
|
||||||
namespace KIGFX
|
namespace KIGFX
|
||||||
|
|
|
@ -24,7 +24,9 @@
|
||||||
#include <core/optional.h>
|
#include <core/optional.h>
|
||||||
#include <wx/event.h>
|
#include <wx/event.h>
|
||||||
#include <wx/infobar.h>
|
#include <wx/infobar.h>
|
||||||
#include <wx/wx.h>
|
#include <wx/timer.h>
|
||||||
|
#include <wx/panel.h>
|
||||||
|
#include <wx/sizer.h>
|
||||||
|
|
||||||
|
|
||||||
class wxAuiManager;
|
class wxAuiManager;
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
#ifndef __WIDGET_NET_SELECTOR_H
|
#ifndef __WIDGET_NET_SELECTOR_H
|
||||||
#define __WIDGET_NET_SELECTOR_H
|
#define __WIDGET_NET_SELECTOR_H
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <wx/combo.h>
|
#include <wx/combo.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
#define NUMBER_BADGE_H_
|
#define NUMBER_BADGE_H_
|
||||||
|
|
||||||
#include <widgets/ui_common.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
|
* A simple UI element that puts a number on top of a colored rounded rectangle with a fill
|
||||||
|
|
|
@ -32,10 +32,9 @@
|
||||||
#ifndef INCLUDE_WILDCARDS_AND_FILES_EXT_H_
|
#ifndef INCLUDE_WILDCARDS_AND_FILES_EXT_H_
|
||||||
#define INCLUDE_WILDCARDS_AND_FILES_EXT_H_
|
#define INCLUDE_WILDCARDS_AND_FILES_EXT_H_
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <wx/string.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup file_extensions File Extension Definitions
|
* \defgroup file_extensions File Extension Definitions
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/dir.h>
|
#include <wx/dir.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/dirdlg.h>
|
||||||
|
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
#include <dialogs/panel_kicad_launcher.h>
|
#include <dialogs/panel_kicad_launcher.h>
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
#include <wx/filefn.h>
|
#include <wx/filefn.h>
|
||||||
#include <wx/filename.h>
|
#include <wx/filename.h>
|
||||||
#include <wx/dir.h>
|
#include <wx/dir.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/dirdlg.h>
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <wx/regex.h>
|
#include <wx/regex.h>
|
||||||
#include <wx/stdpaths.h>
|
#include <wx/stdpaths.h>
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
|
#include <wx/msgdlg.h>
|
||||||
|
#include <wx/textdlg.h>
|
||||||
|
|
||||||
#include <bitmaps.h>
|
#include <bitmaps.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include <dialogs/dialog_template_selector.h>
|
#include <dialogs/dialog_template_selector.h>
|
||||||
#include <gestfich.h>
|
#include <gestfich.h>
|
||||||
#include <wx/dir.h>
|
#include <wx/dir.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
///< Helper widget to select whether a new directory should be created for a project.
|
///< Helper widget to select whether a new directory should be created for a project.
|
||||||
|
|
|
@ -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) 2013 CERN
|
* 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
|
* @author Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
||||||
#include "pl_editor_id.h"
|
#include "pl_editor_id.h"
|
||||||
#include "properties_frame.h"
|
#include "properties_frame.h"
|
||||||
|
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
bool PL_EDITOR_FRAME::saveCurrentPageLayout()
|
bool PL_EDITOR_FRAME::saveCurrentPageLayout()
|
||||||
{
|
{
|
||||||
wxCommandEvent saveEvent;
|
wxCommandEvent saveEvent;
|
||||||
|
|
|
@ -33,6 +33,8 @@
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <footprint.h>
|
#include <footprint.h>
|
||||||
#include <wx/listimpl.cpp>
|
#include <wx/listimpl.cpp>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
/* creates a BOM list from board
|
/* creates a BOM list from board
|
||||||
* The format is:
|
* The format is:
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include "base_units.h"
|
#include "base_units.h"
|
||||||
#include <macros.h>
|
#include <macros.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#define COL_LABEL 0
|
#define COL_LABEL 0
|
||||||
#define COL_AMOUNT 1
|
#define COL_AMOUNT 1
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <dialog_cleanup_graphics.h>
|
#include <dialog_cleanup_graphics.h>
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
#include <tools/pcb_actions.h>
|
#include <tools/pcb_actions.h>
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <dialog_cleanup_tracks_and_vias.h>
|
#include <dialog_cleanup_tracks_and_vias.h>
|
||||||
#include <pcb_edit_frame.h>
|
#include <pcb_edit_frame.h>
|
||||||
#include <pcbnew_settings.h>
|
#include <pcbnew_settings.h>
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <dialog_footprint_checker.h>
|
#include <dialog_footprint_checker.h>
|
||||||
#include <widgets/appearance_controls.h>
|
#include <widgets/appearance_controls.h>
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
|
|
|
@ -39,7 +39,9 @@
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <reporter.h>
|
#include <reporter.h>
|
||||||
#include <wx/stdpaths.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:
|
// list of allowed precision for EXCELLON files, for integer format:
|
||||||
// Due to difference between inches and mm,
|
// Due to difference between inches and mm,
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <board.h>
|
#include <board.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <confirm.h>
|
#include <confirm.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#include <dialog_import_settings.h>
|
#include <dialog_import_settings.h>
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,11 @@
|
||||||
#include <dialogs/dialog_text_entry.h>
|
#include <dialogs/dialog_text_entry.h>
|
||||||
#include <validators.h>
|
#include <validators.h>
|
||||||
#include <bitmaps.h>
|
#include <bitmaps.h>
|
||||||
|
|
||||||
#include <wx/tokenzr.h>
|
#include <wx/tokenzr.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
#include <wx/dcclient.h>
|
||||||
|
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
|
|
||||||
struct DIALOG_NET_INSPECTOR::COLUMN_DESC
|
struct DIALOG_NET_INSPECTOR::COLUMN_DESC
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
|
|
||||||
#include <dialog_pad_properties.h>
|
#include <dialog_pad_properties.h>
|
||||||
#include <bitmaps.h>
|
#include <bitmaps.h>
|
||||||
|
#include <wx/dcclient.h>
|
||||||
|
|
||||||
|
|
||||||
DIALOG_PAD_PRIMITIVES_PROPERTIES::DIALOG_PAD_PRIMITIVES_PROPERTIES( wxWindow* aParent,
|
DIALOG_PAD_PRIMITIVES_PROPERTIES::DIALOG_PAD_PRIMITIVES_PROPERTIES( wxWindow* aParent,
|
||||||
PCB_BASE_FRAME* aFrame,
|
PCB_BASE_FRAME* aFrame,
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
#include <tools/pad_tool.h>
|
#include <tools/pad_tool.h>
|
||||||
#include <advanced_config.h> // for pad property feature management
|
#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.
|
// list of pad shapes, ordered like the pad shape wxChoice in dialog.
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
#include <tools/pcb_control.h>
|
#include <tools/pcb_control.h>
|
||||||
#include <dialogs/dialog_print_generic.h>
|
#include <dialogs/dialog_print_generic.h>
|
||||||
#include <pcbnew_printout.h>
|
#include <pcbnew_printout.h>
|
||||||
|
#include <wx/checklst.h>
|
||||||
|
#include <wx/textdlg.h>
|
||||||
|
|
||||||
|
|
||||||
class DIALOG_PRINT_PCBNEW : public DIALOG_PRINT_GENERIC
|
class DIALOG_PRINT_PCBNEW : public DIALOG_PRINT_GENERIC
|
||||||
|
|
|
@ -35,6 +35,8 @@
|
||||||
#include <wx/dir.h>
|
#include <wx/dir.h>
|
||||||
#include <wx/regex.h>
|
#include <wx/regex.h>
|
||||||
#include <wx/grid.h>
|
#include <wx/grid.h>
|
||||||
|
#include <wx/dirdlg.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#include <project.h>
|
#include <project.h>
|
||||||
#include <3d_viewer/eda_3d_viewer.h> // for KICAD6_3DMODEL_DIR
|
#include <3d_viewer/eda_3d_viewer.h> // for KICAD6_3DMODEL_DIR
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <math/util.h> // for KiROUND
|
#include <math/util.h> // for KiROUND
|
||||||
#include <export_d356.h>
|
#include <export_d356.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
#include <footprint.h>
|
#include <footprint.h>
|
||||||
#include <project.h>
|
#include <project.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool RecreateCmpFile( BOARD * aBrd, const wxString& aFullCmpFileName )
|
bool RecreateCmpFile( BOARD * aBrd, const wxString& aFullCmpFileName )
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <project/project_file.h> // LAST_PATH_TYPE
|
#include <project/project_file.h> // LAST_PATH_TYPE
|
||||||
|
|
||||||
#include <wx/app.h>
|
#include <wx/app.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
static bool CreateHeaderInfoData( FILE* aFile, PCB_EDIT_FRAME* frame );
|
static bool CreateHeaderInfoData( FILE* aFile, PCB_EDIT_FRAME* frame );
|
||||||
static void CreateArtworksSection( FILE* aFile );
|
static void CreateArtworksSection( FILE* aFile );
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
#include <kiplatform/app.h>
|
#include <kiplatform/app.h>
|
||||||
#include <widgets/appearance_controls.h>
|
#include <widgets/appearance_controls.h>
|
||||||
#include <widgets/infobar.h>
|
#include <widgets/infobar.h>
|
||||||
#include <wx/wupdlock.h>
|
|
||||||
#include <settings/settings_manager.h>
|
#include <settings/settings_manager.h>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
#include <project/project_file.h>
|
#include <project/project_file.h>
|
||||||
|
@ -58,6 +57,10 @@
|
||||||
#include <dialogs/dialog_imported_layers.h>
|
#include <dialogs/dialog_imported_layers.h>
|
||||||
#include "footprint_info_impl.h"
|
#include "footprint_info_impl.h"
|
||||||
|
|
||||||
|
#include <wx/wupdlock.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//#define USE_INSTRUMENTATION 1
|
//#define USE_INSTRUMENTATION 1
|
||||||
#define USE_INSTRUMENTATION 0
|
#define USE_INSTRUMENTATION 0
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <bitmaps.h>
|
#include <bitmaps.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "dxf_import_plugin.h"
|
#include "dxf_import_plugin.h"
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
#include <dl_dxf.h>
|
#include <dl_dxf.h>
|
||||||
#include <math/vector3.h>
|
#include <math/vector3.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
#include <base_units.h>
|
#include <base_units.h>
|
||||||
#include <board_commit.h>
|
#include <board_commit.h>
|
||||||
#include <pad.h>
|
#include <pad.h>
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 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 <netlist_lexer.h> // netlist_lexer is common to Eeschema and Pcbnew
|
||||||
#include <macros.h>
|
#include <macros.h>
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <project/project_local_settings.h>
|
#include <project/project_local_settings.h>
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <locale_io.h>
|
#include <locale_io.h>
|
||||||
|
#include <wx/app.h>
|
||||||
|
|
||||||
|
|
||||||
static PCB_EDIT_FRAME* s_PcbEditFrame = NULL;
|
static PCB_EDIT_FRAME* s_PcbEditFrame = NULL;
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <tools/pcb_actions.h>
|
#include <tools/pcb_actions.h>
|
||||||
#include <tools/pcb_selection_tool.h>
|
#include <tools/pcb_selection_tool.h>
|
||||||
#include <wx/wupdlock.h>
|
#include <wx/wupdlock.h>
|
||||||
|
#include <wx/dcmemory.h>
|
||||||
|
|
||||||
#if defined(KICAD_SCRIPTING) || defined(KICAD_SCRIPTING_WXPYTHON)
|
#if defined(KICAD_SCRIPTING) || defined(KICAD_SCRIPTING_WXPYTHON)
|
||||||
#include <python_scripting.h>
|
#include <python_scripting.h>
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
#include <wildcards_and_files_ext.h>
|
#include <wildcards_and_files_ext.h>
|
||||||
#include <drawing_sheet/ds_proxy_undo_item.h>
|
#include <drawing_sheet/ds_proxy_undo_item.h>
|
||||||
#include <footprint_edit_frame.h>
|
#include <footprint_edit_frame.h>
|
||||||
|
#include <wx/filedlg.h>
|
||||||
|
|
||||||
using namespace std::placeholders;
|
using namespace std::placeholders;
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
#include <tool/tool_manager.h>
|
#include <tool/tool_manager.h>
|
||||||
#include <wx/filedlg.h>
|
#include <wx/filedlg.h>
|
||||||
#include <wx/wx.h>
|
|
||||||
#include <tools/board_reannotate_tool.h>
|
#include <tools/board_reannotate_tool.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue