summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/options.cpp')
-rw-r--r--protocols/Telegram/src/options.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Telegram/src/options.cpp b/protocols/Telegram/src/options.cpp
index f3c5cbfb37..5d2d6b83d5 100644
--- a/protocols/Telegram/src/options.cpp
+++ b/protocols/Telegram/src/options.cpp
@@ -19,15 +19,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/////////////////////////////////////////////////////////////////////////////////////////
-class COptionsDlg : public CProtoDlgBase<CMTProto>
+class COptionsDlg : public CProtoDlgBase<CTelegramProto>
{
CCtrlCheck chkHideChats, chkUsePopups;
CCtrlEdit edtGroup, edtPhone, edtDeviceName;
ptrW m_wszOldGroup;
public:
- COptionsDlg(CMTProto *ppro, int iDlgID, bool bFullDlg) :
- CProtoDlgBase<CMTProto>(ppro, iDlgID),
+ COptionsDlg(CTelegramProto *ppro, int iDlgID, bool bFullDlg) :
+ CProtoDlgBase<CTelegramProto>(ppro, iDlgID),
chkUsePopups(this, IDC_POPUPS),
chkHideChats(this, IDC_HIDECHATS),
edtPhone(this, IDC_PHONE),
@@ -59,7 +59,7 @@ public:
/////////////////////////////////////////////////////////////////////////////////////////
-INT_PTR CMTProto::SvcCreateAccMgrUI(WPARAM, LPARAM hwndParent)
+INT_PTR CTelegramProto::SvcCreateAccMgrUI(WPARAM, LPARAM hwndParent)
{
auto *pDlg = new COptionsDlg(this, IDD_ACCMGRUI, false);
pDlg->SetParent((HWND)hwndParent);
@@ -67,7 +67,7 @@ INT_PTR CMTProto::SvcCreateAccMgrUI(WPARAM, LPARAM hwndParent)
return (INT_PTR)pDlg->GetHwnd();
}
-int CMTProto::OnOptionsInit(WPARAM wParam, LPARAM)
+int CTelegramProto::OnOptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = {};
odp.szTitle.w = m_tszUserName;