- // Display a confirmation dialog to confirm deletion.
+ // Display a confirmation dialog to confirm deletion.
- long lstAccountsIndex = -1;
- wxMessageDialog dlgdel(this, wxT("Are you sure you want to delete this account?\r\n\r\nAll data that is stored locally will be removed."), wxT("Delete account"), wxYES_NO | wxICON_EXCLAMATION);
+ long lstAccountsIndex = -1;
+ wxMessageDialog dlgdel(this, wxT("Are you sure you want to delete this account?\r\n\r\nAll data that is stored locally will be removed."), wxT("Delete account"), wxYES_NO | wxICON_EXCLAMATION);
- if (dlgdel.ShowModal() == wxID_YES){
- // Remove the selected item from the accounts list
- // and mark in the accounts list as deleted (Don't write to
- // accounts file).
+ if (dlgdel.ShowModal() == wxID_YES){
+
+ // Remove the selected item from the accounts list
+ // and mark in the accounts list as deleted (Don't write to