From b1c9083743e99f7057a01ae50f152c954066c84b Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Thu, 3 Jun 2021 18:32:32 -0400 Subject: [PATCH] Remove the wx/docview.h include --- common/dialogs/dialog_print_generic.cpp | 1 + common/widgets/grid_color_swatch_helpers.cpp | 1 + cvpcb/cvpcb_mainframe.h | 1 + eeschema/dialogs/dialog_print_using_printer.cpp | 1 + gerbview/gerbview_frame.h | 1 + include/dialogs/dialog_print_generic.h | 3 +++ include/eda_base_frame.h | 4 ++-- pagelayout_editor/dialogs/design_inspector.cpp | 1 + pagelayout_editor/dialogs/dialogs_for_printing.cpp | 1 + pagelayout_editor/pl_editor_frame.cpp | 1 + 10 files changed, 13 insertions(+), 2 deletions(-) diff --git a/common/dialogs/dialog_print_generic.cpp b/common/dialogs/dialog_print_generic.cpp index d509b4b987..58b6719262 100644 --- a/common/dialogs/dialog_print_generic.cpp +++ b/common/dialogs/dialog_print_generic.cpp @@ -24,6 +24,7 @@ #include #include +#include #include // Define min and max reasonable values for print scale diff --git a/common/widgets/grid_color_swatch_helpers.cpp b/common/widgets/grid_color_swatch_helpers.cpp index b836111788..7588aea4e8 100644 --- a/common/widgets/grid_color_swatch_helpers.cpp +++ b/common/widgets/grid_color_swatch_helpers.cpp @@ -26,6 +26,7 @@ #include #include #include +#include //-------- Custom wxGridCellRenderers -------------------------------------------------- diff --git a/cvpcb/cvpcb_mainframe.h b/cvpcb/cvpcb_mainframe.h index d1e2b53936..f7e6fae402 100644 --- a/cvpcb/cvpcb_mainframe.h +++ b/cvpcb/cvpcb_mainframe.h @@ -38,6 +38,7 @@ class ACTION_TOOLBAR; class ACTION_MENU; class TOOL_DISPATCHER; class wxAuiToolBar; +class wxStaticText; class DISPLAY_FOOTPRINTS_FRAME; namespace CV { struct IFACE; } diff --git a/eeschema/dialogs/dialog_print_using_printer.cpp b/eeschema/dialogs/dialog_print_using_printer.cpp index c9b52ec669..7138d87315 100644 --- a/eeschema/dialogs/dialog_print_using_printer.cpp +++ b/eeschema/dialogs/dialog_print_using_printer.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include class DIALOG_PRINT_USING_PRINTER : public DIALOG_PRINT_USING_PRINTER_BASE diff --git a/gerbview/gerbview_frame.h b/gerbview/gerbview_frame.h index 4c22a6aca3..ea03811c89 100644 --- a/gerbview/gerbview_frame.h +++ b/gerbview/gerbview_frame.h @@ -44,6 +44,7 @@ class GERBER_FILE_IMAGE; class GERBER_FILE_IMAGE_LIST; class REPORTER; class SELECTION; +class wxStaticText; /** diff --git a/include/dialogs/dialog_print_generic.h b/include/dialogs/dialog_print_generic.h index 02ab8e25df..a31f4e100b 100644 --- a/include/dialogs/dialog_print_generic.h +++ b/include/dialogs/dialog_print_generic.h @@ -25,6 +25,9 @@ class EDA_DRAW_FRAME; struct PRINTOUT_SETTINGS; +class wxPageSetupDialogData; +class wxPrintout; +class wxPrintData; class DIALOG_PRINT_GENERIC : public DIALOG_PRINT_GENERIC_BASE { diff --git a/include/eda_base_frame.h b/include/eda_base_frame.h index 90139eabc2..5c8504dd8e 100644 --- a/include/eda_base_frame.h +++ b/include/eda_base_frame.h @@ -35,7 +35,6 @@ #include #include -#include #include #include #include @@ -52,7 +51,8 @@ #define KICAD_MANAGER_FRAME_NAME wxT( "KicadFrame" ) - +class wxChoice; +class wxFileName; class EDA_ITEM; class EDA_RECT; class EDA_DRAW_PANEL_GAL; diff --git a/pagelayout_editor/dialogs/design_inspector.cpp b/pagelayout_editor/dialogs/design_inspector.cpp index 708c664a5e..31f47c29d7 100644 --- a/pagelayout_editor/dialogs/design_inspector.cpp +++ b/pagelayout_editor/dialogs/design_inspector.cpp @@ -22,6 +22,7 @@ * @file design_inspector.cpp */ +#include #include #include diff --git a/pagelayout_editor/dialogs/dialogs_for_printing.cpp b/pagelayout_editor/dialogs/dialogs_for_printing.cpp index d51fffd8b7..3f7628a830 100644 --- a/pagelayout_editor/dialogs/dialogs_for_printing.cpp +++ b/pagelayout_editor/dialogs/dialogs_for_printing.cpp @@ -43,6 +43,7 @@ #include "pl_editor_id.h" #include +#include /** * Custom print out for printing schematics. diff --git a/pagelayout_editor/pl_editor_frame.cpp b/pagelayout_editor/pl_editor_frame.cpp index fe53be9497..7ba10267b1 100644 --- a/pagelayout_editor/pl_editor_frame.cpp +++ b/pagelayout_editor/pl_editor_frame.cpp @@ -63,6 +63,7 @@ #include #include +#include #include