diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.cpp index 06fd7b86f9..80ea18bad7 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.cpp @@ -49,14 +49,14 @@ #include #include -#include +#include #include #include "3d_cache/dialogs/panel_prev_model.h" #include "3d_cache/dialogs/3d_cache_dialogs.h" #include "3d_cache/3d_cache.h" #include "3d_cache/3d_filename_resolver.h" -#include +#include size_t DIALOG_MODULE_BOARD_EDITOR::m_page = 0; // remember the last open page during session diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.h b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.h index fe6ed58ea3..cebcb16a6a 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.h +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor.h @@ -23,11 +23,11 @@ */ -#ifndef __DIALOG_EDIT_MODULE_FOR_BOARDEDITOR__ -#define __DIALOG_EDIT_MODULE_FOR_BOARDEDITOR__ +#ifndef DIALOG_EDIT_FOOTPRINT_FOR_BOARDEDITOR_H +#define DIALOG_EDIT_FOOTPRINT_FOR_BOARDEDITOR_H -#include +#include #include class PANEL_PREV_3D; @@ -106,4 +106,4 @@ private: }; -#endif // __DIALOG_EDIT_MODULE_FOR_BOARDEDITOR__ +#endif // DIALOG_EDIT_FOOTPRINT_FOR_BOARDEDITOR_H diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp index f14be6eab2..1bb22cff58 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 2 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -7,7 +7,7 @@ #include "widgets/text_ctrl_eval.h" -#include "dialog_edit_module_for_BoardEditor_base.h" +#include "dialog_edit_footprint_for_BoardEditor_base.h" /////////////////////////////////////////////////////////////////////////// diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp index adbd66f50b..ef8f6f6783 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.fbp @@ -11,11 +11,11 @@ res UTF-8 connect - dialog_edit_module_for_BoardEditor_base + dialog_edit_footprint_for_BoardEditor_base 1000 none 1 - dialog_edit_module_for_BoardEditor_base + dialog_edit_footprint_for_BoardEditor_base . diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.h b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.h index 5680d791a3..6a58af7468 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.h +++ b/pcbnew/dialogs/dialog_edit_footprint_for_BoardEditor_base.h @@ -1,12 +1,12 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 2 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#ifndef __DIALOG_EDIT_MODULE_FOR_BOARDEDITOR_BASE_H__ -#define __DIALOG_EDIT_MODULE_FOR_BOARDEDITOR_BASE_H__ +#ifndef __DIALOG_EDIT_FOOTPRINT_FOR_BOARDEDITOR_BASE_H__ +#define __DIALOG_EDIT_FOOTPRINT_FOR_BOARDEDITOR_BASE_H__ #include #include @@ -141,4 +141,4 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM }; -#endif //__DIALOG_EDIT_MODULE_FOR_BOARDEDITOR_BASE_H__ +#endif //__DIALOG_EDIT_FOOTPRINT_FOR_BOARDEDITOR_BASE_H__ diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.cpp index 05f2daee02..2c424ecbd8 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.cpp @@ -50,7 +50,7 @@ #include #include #include -#include +#include #include #include #include "3d_cache/dialogs/panel_prev_model.h" @@ -58,7 +58,7 @@ #include "3d_cache/3d_cache.h" #include "3d_cache/3d_filename_resolver.h" -#include +#include size_t DIALOG_MODULE_MODULE_EDITOR::m_page = 0; // remember the last open page during session diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.h b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.h index 0142b87fa8..1d0f25a570 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.h +++ b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit.h @@ -22,12 +22,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef __DIALOG_EDIT_MODULE_FOR_MODEDIT__ -#define __DIALOG_EDIT_MODULE_FOR_MODEDIT__ +#ifndef DIALOG_EDIT_FOOTPRINT_FOR_MODEDIT_H +#define DIALOG_EDIT_FOOTPRINT_FOR_MODEDIT_H // Include the wxFormBuider header base: #include -#include +#include class PANEL_PREV_3D; class MODULE; @@ -88,4 +88,4 @@ private: }; -#endif // __DIALOG_EDIT_MODULE_FOR_MODEDIT__ +#endif // DIALOG_EDIT_FOOTPRINT_FOR_MODEDIT_H diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.cpp b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.cpp index dfc11d4eb4..605c49e042 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 2 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -7,7 +7,7 @@ #include "widgets/text_ctrl_eval.h" -#include "dialog_edit_module_for_Modedit_base.h" +#include "dialog_edit_footprint_for_Modedit_base.h" /////////////////////////////////////////////////////////////////////////// diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.fbp b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.fbp index 84e7b58bcf..5d0882aefe 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.fbp +++ b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.fbp @@ -11,11 +11,11 @@ res UTF-8 connect - dialog_edit_module_for_Modedit_base + dialog_edit_footprint_for_Modedit_base 1000 none 1 - dialog_edit_module_for_Modedit_base + dialog_edit_footprint_for_Modedit_base . diff --git a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.h b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.h index 9c49fc4dcf..425ded8cf3 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.h +++ b/pcbnew/dialogs/dialog_edit_footprint_for_Modedit_base.h @@ -1,12 +1,12 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 2 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#ifndef __DIALOG_EDIT_MODULE_FOR_MODEDIT_BASE_H__ -#define __DIALOG_EDIT_MODULE_FOR_MODEDIT_BASE_H__ +#ifndef __DIALOG_EDIT_FOOTPRINT_FOR_MODEDIT_BASE_H__ +#define __DIALOG_EDIT_FOOTPRINT_FOR_MODEDIT_BASE_H__ #include #include @@ -121,4 +121,4 @@ class DIALOG_MODULE_MODULE_EDITOR_BASE : public DIALOG_SHIM }; -#endif //__DIALOG_EDIT_MODULE_FOR_MODEDIT_BASE_H__ +#endif //__DIALOG_EDIT_FOOTPRINT_FOR_MODEDIT_BASE_H__ diff --git a/pcbnew/dialogs/dialog_edit_footprint_text.cpp b/pcbnew/dialogs/dialog_edit_footprint_text.cpp index b85389175c..1c99bf7d2c 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_text.cpp +++ b/pcbnew/dialogs/dialog_edit_footprint_text.cpp @@ -49,7 +49,7 @@ #include #include -#include +#include extern wxPoint MoveVector; // Move vector for move edge, imported from edtxtmod.cpp diff --git a/pcbnew/dialogs/dialog_edit_footprint_text.h b/pcbnew/dialogs/dialog_edit_footprint_text.h index 320fc3316e..4e55d67ec4 100644 --- a/pcbnew/dialogs/dialog_edit_footprint_text.h +++ b/pcbnew/dialogs/dialog_edit_footprint_text.h @@ -24,10 +24,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef DIALOG_EDIT_MODULE_TEXT_H -#define DIALOG_EDIT_MODULE_TEXT_H +#ifndef DIALOG_EDIT_FOOTPRINT_TEXT_H +#define DIALOG_EDIT_FOOTPRINT_TEXT_H -#include +#include #include /*************** **************/ @@ -66,4 +66,4 @@ private: } }; -#endif /* DIALOG_EDIT_MODULE_TEXT_H */ +#endif /* DIALOG_EDIT_FOOTPRINT_TEXT_H */ diff --git a/pcbnew/dialogs/dialog_exchange_footprints.cpp b/pcbnew/dialogs/dialog_exchange_footprints.cpp index 102bb9f950..829894c210 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints.cpp +++ b/pcbnew/dialogs/dialog_exchange_footprints.cpp @@ -40,7 +40,7 @@ #include #include -#include +#include #include #include diff --git a/pcbnew/dialogs/dialog_exchange_footprints.h b/pcbnew/dialogs/dialog_exchange_footprints.h index 3b30280084..6fb91804c8 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints.h +++ b/pcbnew/dialogs/dialog_exchange_footprints.h @@ -25,7 +25,7 @@ #ifndef DIALOG_EXCHANGE_MODULES_H_ #define DIALOG_EXCHANGE_MODULES_H_ -#include +#include #include diff --git a/pcbnew/dialogs/dialog_exchange_footprints_base.cpp b/pcbnew/dialogs/dialog_exchange_footprints_base.cpp index 73a13b3c91..f9223189cf 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints_base.cpp +++ b/pcbnew/dialogs/dialog_exchange_footprints_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 2 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -7,7 +7,7 @@ #include "wx_html_report_panel.h" -#include "dialog_exchange_modules_base.h" +#include "dialog_exchange_footprints_base.h" /////////////////////////////////////////////////////////////////////////// diff --git a/pcbnew/dialogs/dialog_exchange_footprints_base.fbp b/pcbnew/dialogs/dialog_exchange_footprints_base.fbp index a965255ec7..92a1be65ab 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints_base.fbp +++ b/pcbnew/dialogs/dialog_exchange_footprints_base.fbp @@ -11,11 +11,11 @@ res UTF-8 connect - dialog_exchange_modules_base + dialog_exchange_footprints_base 4200 none 1 - dialog_exchange_modules_base + dialog_exchange_footprints_base . diff --git a/pcbnew/dialogs/dialog_exchange_footprints_base.h b/pcbnew/dialogs/dialog_exchange_footprints_base.h index 0378234069..6e6266b490 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints_base.h +++ b/pcbnew/dialogs/dialog_exchange_footprints_base.h @@ -1,12 +1,12 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 2 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#ifndef __DIALOG_EXCHANGE_MODULES_BASE_H__ -#define __DIALOG_EXCHANGE_MODULES_BASE_H__ +#ifndef __DIALOG_EXCHANGE_FOOTPRINTS_BASE_H__ +#define __DIALOG_EXCHANGE_FOOTPRINTS_BASE_H__ #include #include @@ -84,4 +84,4 @@ class DIALOG_EXCHANGE_MODULE_BASE : public DIALOG_SHIM }; -#endif //__DIALOG_EXCHANGE_MODULES_BASE_H__ +#endif //__DIALOG_EXCHANGE_FOOTPRINTS_BASE_H__ diff --git a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp index 7a81037ed1..120f03267c 100644 --- a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp +++ b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp @@ -1,13 +1,13 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Nov 22 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO *NOT* EDIT THIS FILE! +// PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "wx_html_report_panel.h" -#include "dialog_gen_module_position_file_base.h" +#include "dialog_gen_footprint_position_file_base.h" /////////////////////////////////////////////////////////////////////////// diff --git a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp index 9f7a7dcd17..cfcb208014 100644 --- a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp +++ b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp @@ -11,11 +11,11 @@ res UTF-8 connect - dialog_gen_module_position_file_base + dialog_gen_footprint_position_file_base 1000 none 1 - Dialog_Gen_Modules_Positions_base + dialog_gen_footprint_positions_base . diff --git a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.h b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.h index 885b838c5f..c160808eff 100644 --- a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.h +++ b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.h @@ -1,16 +1,17 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Nov 22 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO *NOT* EDIT THIS FILE! +// PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#ifndef __DIALOG_GEN_MODULE_POSITION_FILE_BASE_H__ -#define __DIALOG_GEN_MODULE_POSITION_FILE_BASE_H__ +#ifndef __DIALOG_GEN_FOOTPRINT_POSITION_FILE_BASE_H__ +#define __DIALOG_GEN_FOOTPRINT_POSITION_FILE_BASE_H__ #include #include #include +class DIALOG_SHIM; class WX_HTML_REPORT_PANEL; #include "dialog_shim.h" @@ -62,4 +63,4 @@ class DIALOG_GEN_MODULE_POSITION_BASE : public DIALOG_SHIM }; -#endif //__DIALOG_GEN_MODULE_POSITION_FILE_BASE_H__ +#endif //__DIALOG_GEN_FOOTPRINT_POSITION_FILE_BASE_H__ diff --git a/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.cpp b/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.cpp index 58cfdd97e1..400ae399a8 100644 --- a/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.cpp +++ b/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.cpp @@ -1,11 +1,11 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Nov 22 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO *NOT* EDIT THIS FILE! +// PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#include "dialog_global_modules_fields_edition_base.h" +#include "dialog_global_footprints_fields_edition_base.h" /////////////////////////////////////////////////////////////////////////// @@ -106,8 +106,8 @@ DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE::DIALOG_GLOBAL_MODULES_FIELDS_EDITION_ bMainSizer->Add( bSizerUpper, 1, wxALL|wxEXPAND, 5 ); - m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - bMainSizer->Add( m_staticline1, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 ); + m_staticline = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + bMainSizer->Add( m_staticline, 0, wxEXPAND|wxLEFT|wxRIGHT, 5 ); m_sdbSizerButtons = new wxStdDialogButtonSizer(); m_sdbSizerButtonsOK = new wxButton( this, wxID_OK ); diff --git a/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.h b/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.h index d6d5dda8a6..eb5f4d610b 100644 --- a/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.h +++ b/pcbnew/dialogs/dialog_global_footprints_fields_edition_base.h @@ -1,16 +1,18 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Nov 22 2017) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO *NOT* EDIT THIS FILE! +// PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#ifndef __DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE_H__ -#define __DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE_H__ +#ifndef __DIALOG_GLOBAL_FOOTPRINTS_FIELDS_EDITION_BASE_H__ +#define __DIALOG_GLOBAL_FOOTPRINTS_FIELDS_EDITION_BASE_H__ #include #include #include +class DIALOG_SHIM; + #include "dialog_shim.h" #include #include @@ -51,7 +53,7 @@ class DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE : public DIALOG_SHIM wxStaticText* m_staticText9; wxTextCtrl* m_ThicknessValue; wxStaticText* m_ThicknessUnit; - wxStaticLine* m_staticline1; + wxStaticLine* m_staticline; wxStdDialogButtonSizer* m_sdbSizerButtons; wxButton* m_sdbSizerButtonsOK; wxButton* m_sdbSizerButtonsCancel; @@ -63,4 +65,4 @@ class DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE : public DIALOG_SHIM }; -#endif //__DIALOG_GLOBAL_MODULES_FIELDS_EDITION_BASE_H__ +#endif //__DIALOG_GLOBAL_FOOTPRINTS_FIELDS_EDITION_BASE_H__ diff --git a/pcbnew/exporters/gen_footprints_placefile.cpp b/pcbnew/exporters/gen_footprints_placefile.cpp index 37cff8b9a2..40a9d29177 100644 --- a/pcbnew/exporters/gen_footprints_placefile.cpp +++ b/pcbnew/exporters/gen_footprints_placefile.cpp @@ -48,7 +48,7 @@ #include -#include +#include /* * The ASCII format of the kicad place file is: * ### Module positions - created on 04/12/2012 15:24:24 ###