From d1f2b14ee28863ae191dbb70aadf5d1a378b6382 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Tue, 12 Sep 2023 21:48:15 -0400 Subject: [PATCH] wx_filename to kicommon --- common/CMakeLists.txt | 2 +- include/wx_filename.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 60d11ac1af..dc26f0f1d5 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -51,6 +51,7 @@ set( KICOMMON_SRCS locale_io.cpp richio.cpp string_utils.cpp + wx_filename.cpp ) add_library( kicommon SHARED @@ -441,7 +442,6 @@ set( COMMON_SRCS validators.cpp wildcards_and_files_ext.cpp drawing_sheet/ds_painter.cpp - wx_filename.cpp xnode.cpp ) diff --git a/include/wx_filename.h b/include/wx_filename.h index 201d8375d6..db8ef2e1ad 100644 --- a/include/wx_filename.h +++ b/include/wx_filename.h @@ -24,6 +24,7 @@ #ifndef WX_FILENAME_H #define WX_FILENAME_H +#include #include /** @@ -45,7 +46,7 @@ * and string concatenations by caching the path and filename locally and only resolving * the wxFileName when it has to. */ -class WX_FILENAME +class KICOMMON_API WX_FILENAME { public: WX_FILENAME( const wxString& aPath, const wxString& aFilename );