Remove another leaky wx/log.h header

This commit is contained in:
Marek Roszko 2021-06-03 08:11:15 -04:00
parent 7faee5eda5
commit 4df3cb912d
45 changed files with 45 additions and 1 deletions

View File

@ -37,6 +37,7 @@
#include <convert_to_biu.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>
#include <wx/log.h>
/**
* Trace mask used to enable or disable the trace output of this class.

View File

@ -53,6 +53,7 @@
#include <gr_text.h>
#include <utility>
#include <vector>
#include <wx/log.h>
// These variables are parameters used in addTextSegmToContainer.

View File

@ -49,6 +49,7 @@
#include <core/arraydim.h>
#include <algorithm>
#include <atomic>
#include <wx/log.h>
#ifdef PRINT_STATISTICS_3D_VIEWER
#include <profile.h>

View File

@ -41,6 +41,7 @@
#include "3d_math.h"
#include "../common_ogl/ogl_utils.h"
#include <profile.h> // To use GetRunningMicroSecs or another profiling utility
#include <wx/log.h>
RENDER_3D_RAYTRACE::RENDER_3D_RAYTRACE( BOARD_ADAPTER& aAdapter, CAMERA& aCamera ) :

View File

@ -30,6 +30,7 @@
#include <footprint.h>
#include <3d_math.h>
#include <math/util.h> // for KiROUND
#include <wx/log.h>
#include <base_units.h>

View File

@ -29,6 +29,7 @@
#include "render_3d_base.h"
#include <wx/log.h>
/**

View File

@ -39,6 +39,7 @@
#include <wx/rawbmp.h>
#include <wx/msgdlg.h>
#include <wx/dcclient.h>
#include <wx/log.h>
#include "bitmap2cmp_gui_base.h"

View File

@ -23,6 +23,7 @@
*/
#include <wx/clipbrd.h>
#include <wx/log.h>
#include <kicad_string.h>
#include <dialogs/html_messagebox.h>

View File

@ -31,6 +31,7 @@
#include <math/util.h> // for KiROUND
#include <render_settings.h>
#include <trigo.h>
#include <wx/log.h>
#include <build_version.h>

View File

@ -28,6 +28,7 @@
#include <gal/color4d.h>
#include <dialog_shim.h>
#include <wx/clipbrd.h>
#include <wx/log.h>
#include <wx/settings.h>
#include <confirm.h>

View File

@ -28,6 +28,7 @@
#include <tool/tool_action.h>
#include <tool/tool_manager.h>
#include <trace_helpers.h>
#include <wx/log.h>
#include <hotkeys_basic.h>
#include <cctype>

View File

@ -30,6 +30,7 @@
#include <cvpcb_mainframe.h>
#include <listboxes.h>
#include <cvpcb_id.h>
#include <wx/log.h>
COMPONENTS_LISTBOX::COMPONENTS_LISTBOX( CVPCB_MAINFRAME* parent, wxWindowID id ) :

View File

@ -25,6 +25,7 @@
#include <footprint_filter.h>
#include <tool/tool_manager.h>
#include <trace_helpers.h>
#include <wx/log.h>
#include <wx/wupdlock.h>
#include <cvpcb_id.h>

View File

@ -31,6 +31,7 @@
#include <cvpcb_mainframe.h>
#include <listboxes.h>
#include <cvpcb_id.h>
#include <wx/log.h>
/***************************************/

View File

@ -27,6 +27,7 @@
#include <tool/actions.h>
#include <tool/tool_manager.h>
#include <wx/clipbrd.h>
#include <wx/log.h>
#include <cvpcb_association.h>
#include <cvpcb_mainframe.h>

View File

@ -44,6 +44,7 @@
#include <class_library.h>
#include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <wx/log.h>
#include <wx/progdlg.h>
#include <wx/tokenzr.h>
#include <wx/regex.h>

View File

@ -44,6 +44,7 @@
#include <connection_graph.h>
#include <widgets/ui_common.h>
#include <kicad_string.h>
#include <wx/log.h>
#include <advanced_config.h> // for realtime connectivity switch

View File

@ -38,6 +38,7 @@
#include <tools/sch_editor_control.h>
#include <advanced_config.h>
#include <netclass.h>
#include <wx/log.h>
SCH_ITEM* SCH_EDITOR_CONTROL::FindSymbolAndItem( const wxString& aReference,
bool aSearchHierarchy,

View File

@ -46,6 +46,7 @@
#include <paths.h>
#include <wx/filedlg.h>
#include <wx/log.h>
#include <wx/textdlg.h>
wxString s_bomHelpInfo =

View File

@ -37,6 +37,7 @@
#include <wx/checkbox.h>
#include <wx/clipbrd.h>
#include <wx/dataview.h>
#include <wx/log.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/splitter.h>

View File

@ -25,6 +25,7 @@
#include <dialog_sheet_properties.h>
#include <kiface_i.h>
#include <wx/string.h>
#include <wx/log.h>
#include <wx/tooltip.h>
#include <confirm.h>
#include <validators.h>

View File

@ -30,6 +30,7 @@
* Fields 4+ are user fields. They can be renamed and can appear in reports.
*/
#include <wx/log.h>
#include <wx/menu.h>
#include <common.h> // for ExpandTextVars
#include <eda_item.h>

View File

@ -59,6 +59,7 @@
#include <sch_edit_frame.h>
#include <wildcards_and_files_ext.h>
#include <wx/mstream.h>
#include <wx/log.h>
#include <wx/zstream.h>
#include <wx/wfstream.h>

View File

@ -26,6 +26,7 @@
// base64 code.
#define wxUSE_BASE64 1
#include <wx/base64.h>
#include <wx/log.h>
#include <wx/mstream.h>
#include <advanced_config.h>
#include <pgm_base.h>

View File

@ -41,6 +41,7 @@
#include <settings/color_settings.h>
#include <trace_helpers.h>
#include <pgm_base.h>
#include <wx/log.h>
const wxString SCH_SHEET::GetDefaultFieldName( int aFieldNdx )

View File

@ -35,6 +35,7 @@
#include <trace_helpers.h>
#include <trigo.h>
#include <refdes_utils.h>
#include <wx/log.h>
/**
* Convert a wxString to UTF8 and replace any control characters with a ~,

View File

@ -41,6 +41,7 @@
#include <sch_painter.h>
#include <default_values.h>
#include <wx/debug.h>
#include <wx/log.h>
#include <dialogs/html_messagebox.h>
#include <project/project_file.h>
#include <project/net_settings.h>

View File

@ -41,6 +41,7 @@
#include <wx/clipbrd.h>
#include <wx/dcmemory.h>
#include <wx/log.h>
bool SCH_EDIT_FRAME::CheckSheetForRecursion( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHierarchy )

View File

@ -43,6 +43,7 @@
#include <dialog_helpers.h>
#include <wx/clipbrd.h>
#include <wx/filedlg.h>
#include <wx/log.h>

View File

@ -19,6 +19,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <wx/log.h>
#include <wx/tokenzr.h>
#include <wx/window.h>
#include <widgets/progress_reporter.h>

View File

@ -36,6 +36,7 @@
#include <kiface_i.h>
#include <wildcards_and_files_ext.h>
#include <connection_graph.h>
#include <wx/log.h>
BACK_ANNOTATE::BACK_ANNOTATE( SCH_EDIT_FRAME* aFrame, REPORTER& aReporter, bool aRelinkFootprints,

View File

@ -27,6 +27,7 @@
#include <ee_actions.h>
#include <bitmaps.h>
#include <eda_item.h>
#include <wx/log.h>
#include "symbol_editor_move_tool.h"
#include "symbol_editor_pin_tool.h"

View File

@ -31,6 +31,7 @@
#include <settings/settings_manager.h>
#include <symbol_editor/symbol_editor_settings.h>
#include <pgm_base.h>
#include <wx/log.h>
#include "symbol_editor_pin_tool.h"

View File

@ -27,6 +27,7 @@
#include <eda_draw_frame.h>
#include <eeschema_settings.h>
#include <settings/settings_manager.h>
#include <wx/log.h>
#include <wx/stattext.h>

View File

@ -35,7 +35,6 @@
#include <vector>
#include <wx/socket.h>
#include <wx/log.h>
#include <wx/laywin.h>
#include <wx/aui/aui.h>
#include <wx/docview.h>

View File

@ -27,6 +27,8 @@
* @brief Class ACTION_PLUGIN and ACTION_PLUGINS
*/
#include <wx/log.h>
#include "action_plugin.h"
#include "bitmaps.h"
#include "bitmap_store.h"

View File

@ -50,6 +50,7 @@
#include <ratsnest/ratsnest_data.h>
#include <tool/selection_conditions.h>
#include <convert_drawsegment_list_to_polygon.h>
#include <wx/log.h>
// This is an odd place for this, but CvPcb won't link if it's in board_item.cpp like I first
// tried it.

View File

@ -29,6 +29,7 @@
#include <dialogs/dialog_color_picker.h>
#include <widgets/paged_dialog.h>
#include <widgets/layer_box_selector.h>
#include <wx/log.h>
#include <wx/rawbmp.h>
#include <math/util.h> // for KiROUND

View File

@ -48,6 +48,7 @@
#include <tools/pcb_actions.h>
#include <tools/pcb_selection_tool.h>
#include <netlist_reader/netlist_reader.h>
#include <wx/log.h>
/* Execute a remote command send by Eeschema via a socket,
* port KICAD_PCB_PORT_SERVICE_NUMBER

View File

@ -34,6 +34,7 @@
#include <ki_exception.h>
#include <locale_io.h>
#include <reporter.h>
#include <wx/log.h>
#include <exporters/board_exporter_base.h>

View File

@ -44,6 +44,7 @@
#include <convert_basic_shapes_to_polygon.h>
#include <widgets/msgpanel.h>
#include <pcb_painter.h>
#include <wx/log.h>
#include <memory>

View File

@ -27,6 +27,7 @@ using namespace std::placeholders;
#include <pcbnew_settings.h>
#include <tools/pcb_grid_helper.h>
#include <wx/log.h>
#include "pns_kicad_iface.h"
#include "pns_tool_base.h"

View File

@ -54,6 +54,7 @@
#include <convert_basic_shapes_to_polygon.h>
#include <geometry/geometry_utils.h>
#include <pcbnew_settings.h>
#include <wx/log.h>
#include "specctra.h"

View File

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

View File

@ -53,6 +53,7 @@ using namespace std::placeholders;
#include <connectivity/connectivity_data.h>
#include <footprint_viewer_frame.h>
#include <id.h>
#include <wx/log.h>
#include "tool_event_utils.h"
#include "pcb_selection_tool.h"
#include "pcb_actions.h"