From bfe737e7e7763d98fe236d42db829c393c5bb921 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Thu, 21 Nov 2019 21:29:01 +0100 Subject: [PATCH] Fix build with wxUSE_FILE disabled --- src/msw/registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 73631b105c..bc5e1d273c 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -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."),