diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-04 17:03:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-04 17:03:28 +0300 |
commit | f531ff887729783a7fe7a3e12ad12f658eefc7b0 (patch) | |
tree | 9e1844429448b6527ef7ca87163e44eafce250d8 /plugins/New_GPG/src/ui.h | |
parent | 1c2e5d128a7176ae827dda1e2a8fcc64e772a148 (diff) |
UI classes:
- CDlgBase::m_bSucceeded variable introduced to check whether IDOK was pressed or not;
- unused/useless buttons with id=IDOK or IDCANCEL removed;
- brnOk.OnClick replaced with OnApply calls;
- unused/useless calls of EndDialog/EndModal removed;
- minor code cleaning
Diffstat (limited to 'plugins/New_GPG/src/ui.h')
-rwxr-xr-x | plugins/New_GPG/src/ui.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/ui.h b/plugins/New_GPG/src/ui.h index 6ab8c7111c..e5c0c2c5ad 100755 --- a/plugins/New_GPG/src/ui.h +++ b/plugins/New_GPG/src/ui.h @@ -164,15 +164,13 @@ class CDlgKeyPasswordMsgBox : public CDlgBase //always modal CCtrlData lbl_KEYID; CCtrlEdit edit_KEY_PASSWORD; CCtrlCheck chk_DEFAULT_PASSWORD, chk_SAVE_PASSWORD; - CCtrlButton btn_OK, btn_CANCEL; public: CDlgKeyPasswordMsgBox(MCONTACT _hContact); + bool OnInitDialog() override; + bool OnApply() override; void OnDestroy() override; - - void onClick_OK(CCtrlButton*); - void onClick_CANCEL(CCtrlButton*); }; #endif // UI_H
\ No newline at end of file |