From a76776079b6d15e92dffd0c5c0016389092b1c8b Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 25 Feb 2018 14:45:28 +0300 Subject: Fixes related with 7fc01c9 --- protocols/Tox/src/tox_dialogs.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'protocols/Tox/src/tox_dialogs.h') 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 CToxDlgBase; #endif //_TOX_DIALOGS_H_ \ No newline at end of file -- cgit v1.2.3