diff --git a/common/prependpath.cpp b/common/prependpath.cpp index 6f68678642..a7c80f6c69 100644 --- a/common/prependpath.cpp +++ b/common/prependpath.cpp @@ -5,7 +5,7 @@ -#if !wxCHECK_VERSION( 3, 0, 0 ) +#if !wxCHECK_VERSION( 2, 9, 0 ) // implement missing wx2.8 function until >= wx3.0 pervades. static wxString wxJoin(const wxArrayString& arr, const wxChar sep, diff --git a/kicad/class_treeproject_item.h b/kicad/class_treeproject_item.h index 3793638cd6..a050330e9d 100644 --- a/kicad/class_treeproject_item.h +++ b/kicad/class_treeproject_item.h @@ -27,11 +27,7 @@ public: void SetType( TreeFileType aType ) { m_Type = aType; } const wxString& GetFileName() const { return m_file_name; } - void SetFileName( const wxString& name ) - { - m_file_name = name; - // DBG(printf("%s: '%s'\n", __func__, TO_UTF8( name ) );) - } + void SetFileName( const wxString& name ) { m_file_name = name; } bool IsRootFile() const { return m_IsRootFile; } void SetRootFile( bool aValue ) { m_IsRootFile = aValue; }