Fix build with wxUSE_FILE disabled

This commit is contained in:
Maarten Bent 2019-11-21 21:29:01 +01:00
parent e80be3e3cb
commit bfe737e7e7

View File

@ -1233,7 +1233,7 @@ static inline bool WriteAsciiString(wxOutputStream& ostr, const wxString& s)
bool wxRegKey::Export(const wxString& filename) const
{
#if wxUSE_FFILE && wxUSE_STREAMS
#if wxUSE_FILE && wxUSE_FFILE && wxUSE_STREAMS
if ( wxFile::Exists(filename) )
{
wxLogError(_("Exporting registry key: file \"%s\" already exists and won't be overwritten."),