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);