Browse Source

wx_filename to kicommon

newinvert
Marek Roszko 2 years ago
parent
commit
d1f2b14ee2
  1. 2
      common/CMakeLists.txt
  2. 3
      include/wx_filename.h

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

3
include/wx_filename.h

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

Loading…
Cancel
Save