summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_dialogs.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_dialogs.h')
-rw-r--r--protocols/Tox/src/tox_dialogs.h27
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