Fix commit f3f814e622 that breaks the compilation on Windows.

Fiw also a minor compil warning
This commit is contained in:
jean-pierre charras 2018-08-04 16:45:12 +02:00
parent fd3e57d67f
commit c32fcd1403
3 changed files with 5 additions and 3 deletions

View File

@ -581,6 +581,7 @@ long long WX_FILENAME::GetTimestamp()
return 0;
}
#ifndef __WINDOWS__
//
// A version of wxDir which avoids expensive calls to wxFileName::wxFileName().
@ -650,4 +651,4 @@ bool WX_DIR::GetNext(wxString *filename) const
return true;
}
#endif

View File

@ -37,6 +37,7 @@
#include <wx/wx.h>
#include <wx/confbase.h>
#include <wx/fileconf.h>
#include <wx/dir.h>
#include <richio.h>
#include <gal/color4d.h>

View File

@ -3195,8 +3195,8 @@ LP_CACHE::LP_CACHE( LEGACY_PLUGIN* aOwner, const wxString& aLibraryPath ) :
m_owner( aOwner ),
m_lib_path( aLibraryPath ),
m_writable( true ),
m_cache_timestamp( 0 ),
m_cache_dirty( true )
m_cache_dirty( true ),
m_cache_timestamp( 0 )
{
}