mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
FileConfig: Compat with wx3.0 (reintroduces tiny bug if 3.0 used)
This makes it have the potential of bogus temporary files again. This issue feels small enough vs not being able to run against wx3.0. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
parent
c8db3ab3ac
commit
7d57a665c3
@ -63,7 +63,10 @@ void FileConfig::Init()
|
||||
// because we don't use the wxFileConfig::Flush() method and so the wxFileConfig dirty
|
||||
// flag never gets reset. During deletion, the dirty flag is checked and a Flush()
|
||||
// performed. This can (and probably will) create bogus temporary files.
|
||||
// TODO: Fix the problem for wx3.0
|
||||
#if wxCHECK_VERSION(3, 1, 3)
|
||||
mConfig->DisableAutoSave();
|
||||
#endif
|
||||
|
||||
bool canRead = false;
|
||||
bool canWrite = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user