Fix build with wxUSE_FILE disabled
This commit is contained in:
parent
e80be3e3cb
commit
bfe737e7e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue