1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux/MacOSX: make the cancel button work on the preferences dialog.

This commit is contained in:
Mounir IDRASSI
2015-01-04 19:26:50 +01:00
parent f53554a46a
commit 41607d126a

View File

@@ -26,7 +26,7 @@ namespace VeraCrypt
protected:
void OnAssignHotkeyButtonClick (wxCommandEvent& event);
void OnBackgroundTaskEnabledCheckBoxClick (wxCommandEvent& event);
void OnCancelButtonClick (wxCommandEvent& event) { Close(); }
void OnCancelButtonClick (wxCommandEvent& event) { EndModal (wxID_CANCEL); }
void OnClose (wxCloseEvent& event);
void OnDismountOnPowerSavingCheckBoxClick (wxCommandEvent& event);
void OnDismountOnScreenSaverCheckBoxClick (wxCommandEvent& event);