Fix build with wxUSE_FILE disabled
This commit is contained in:
parent
e80be3e3cb
commit
bfe737e7e7
@ -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."),
|
||||
|
Loading…
Reference in New Issue
Block a user