- if ( wxConfigBase::Get()->DeleteAll() ) {
- wxLogMessage("Config file/registry key successfully deleted.");
-
- delete wxConfigBase::Set((wxConfigBase *) NULL);
- wxConfigBase::DontCreateOnDemand();
- }
- else
- wxLogError("Deleting config file/registry key failed.");
+ if ( wxConfigBase::Get()->DeleteAll() ) {
+ wxLogMessage("Config file/registry key successfully deleted.");
+
+ delete wxConfigBase::Set((wxConfigBase *) NULL);
+ wxConfigBase::DontCreateOnDemand();
+ }
+ else
+ {
+ wxLogError("Deleting config file/registry key failed.");
+ }