diff options
author | aunsane <aunsane@gmail.com> | 2018-02-25 14:45:28 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-02-25 14:45:28 +0300 |
commit | a76776079b6d15e92dffd0c5c0016389092b1c8b (patch) | |
tree | ac686f25c8714b11824624b7773f499035b6827c /protocols/Tox/src/tox_dialogs.h | |
parent | 7fc01c9c474a732cd8b978d2f163f0839b2f956d (diff) |
Fixes related with 7fc01c9
Diffstat (limited to 'protocols/Tox/src/tox_dialogs.h')
-rw-r--r-- | protocols/Tox/src/tox_dialogs.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/protocols/Tox/src/tox_dialogs.h b/protocols/Tox/src/tox_dialogs.h index dedd355e1b..b5cbba0639 100644 --- a/protocols/Tox/src/tox_dialogs.h +++ b/protocols/Tox/src/tox_dialogs.h @@ -1,33 +1,6 @@ #ifndef _TOX_DIALOGS_H_
#define _TOX_DIALOGS_H_
-class CCtrlLabel : public CCtrlData
-{
- typedef CCtrlData CSuper;
-
-public:
- CCtrlLabel(CDlgBase *dlg, int ctrlId) :
- CSuper(dlg, ctrlId)
- {
- }
-
- virtual void OnInit()
- {
- CSuper::OnInit();
- OnReset();
- }
-
- virtual void OnReset()
- {
- if (GetDataType() == DBVT_WCHAR)
- SetText(LoadText());
- else if (GetDataType() != DBVT_DELETED)
- SetInt(LoadInt());
- }
-};
-
-///////////////////////////////////////////////
-
typedef CProtoDlgBase<CToxProto> CToxDlgBase;
#endif //_TOX_DIALOGS_H_
\ No newline at end of file |