wx_filename to kicommon

This commit is contained in:
Marek Roszko 2023-09-12 21:48:15 -04:00
parent 66922b3bd2
commit d1f2b14ee2
2 changed files with 3 additions and 2 deletions

View File

@ -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
)

View File

@ -24,6 +24,7 @@
#ifndef WX_FILENAME_H
#define WX_FILENAME_H
#include <kicommon.h>
#include <wx/filename.h>
/**
@ -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 );