Don't leak a wx header via eda_item.h

Turns out this provided the translation header globally :D
This commit is contained in:
Marek Roszko 2021-06-02 19:18:48 -04:00
parent c294d28275
commit af2707929d
5 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@
#include <cctype> #include <cctype>
#include <dsnlexer.h> #include <dsnlexer.h>
#include <wx/translation.h>
#define FMT_CLIPBOARD _( "clipboard" ) #define FMT_CLIPBOARD _( "clipboard" )

View File

@ -28,6 +28,7 @@
#include <algorithm> #include <algorithm>
#include <bitmaps.h> #include <bitmaps.h>
#include <hotkeys_basic.h> #include <hotkeys_basic.h>
#include <wx/translation.h>
TOOL_ACTION::TOOL_ACTION( const std::string& aName, TOOL_ACTION_SCOPE aScope, TOOL_ACTION::TOOL_ACTION( const std::string& aName, TOOL_ACTION_SCOPE aScope,
int aDefaultHotKey, const std::string& aLegacyHotKeyName, int aDefaultHotKey, const std::string& aLegacyHotKeyName,

View File

@ -26,6 +26,7 @@
#include <convert_to_biu.h> // SCH_IU_PER_MM #include <convert_to_biu.h> // SCH_IU_PER_MM
#include <macros.h> #include <macros.h>
#include <sch_plugins/cadstar/cadstar_sch_archive_parser.h> #include <sch_plugins/cadstar/cadstar_sch_archive_parser.h>
#include <wx/translation.h>
void CADSTAR_SCH_ARCHIVE_PARSER::Parse() void CADSTAR_SCH_ARCHIVE_PARSER::Parse()

View File

@ -30,7 +30,6 @@
#include <deque> #include <deque>
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <wx/fdrepdlg.h>
#include <view/view_item.h> #include <view/view_item.h>
#include <kiid.h> #include <kiid.h>

View File

@ -26,6 +26,7 @@
#include <cadstar_pcb_archive_parser.h> #include <cadstar_pcb_archive_parser.h>
#include <convert_to_biu.h> // PCB_IU_PER_MM #include <convert_to_biu.h> // PCB_IU_PER_MM
#include <macros.h> #include <macros.h>
#include <wx/translation.h>
void CADSTAR_PCB_ARCHIVE_PARSER::Parse() void CADSTAR_PCB_ARCHIVE_PARSER::Parse()