From 8f6650583ad1d12a081a1676275d8f527af33351 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Apr 2018 12:59:15 +0300 Subject: this feature was never used and only causes problems --- include/m_gui.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/m_gui.h b/include/m_gui.h index d55ffe9141..228d4ac69d 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -1440,7 +1440,7 @@ class MIR_APP_EXPORT CProtoIntDlgBase : public CDlgBase typedef CDlgBase CSuper; public: - CProtoIntDlgBase(PROTO_INTERFACE *proto, int idDialog, bool show_label = true); + CProtoIntDlgBase(PROTO_INTERFACE *proto, int idDialog); void CreateLink(CCtrlData& ctrl, char *szSetting, BYTE type, DWORD iValue); void CreateLink(CCtrlData& ctrl, const char *szSetting, wchar_t *szValue); @@ -1457,7 +1457,6 @@ public: protected: PROTO_INTERFACE *m_proto_interface; - bool m_show_label; HWND m_hwndStatus; INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam); @@ -1467,7 +1466,6 @@ protected: virtual void OnProtoCheckOnline(WPARAM, LPARAM); private: - void UpdateProtoTitle(const wchar_t *szText = nullptr); void UpdateStatusBar(); }; @@ -1477,8 +1475,8 @@ class CProtoDlgBase : public CProtoIntDlgBase typedef CProtoIntDlgBase CSuper; public: - __inline CProtoDlgBase(TProto *proto, int idDialog, bool show_label=true) : - CProtoIntDlgBase(proto, idDialog, show_label), + __inline CProtoDlgBase(TProto *proto, int idDialog) : + CProtoIntDlgBase(proto, idDialog), m_proto(proto) { } -- cgit v1.2.3