summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-18 12:59:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-18 12:59:15 +0300
commit8f6650583ad1d12a081a1676275d8f527af33351 (patch)
tree707942e2f159e71f58d788087bd11f4855b523b9 /include
parent131d86ed82bde79889ef8d0de3b37707ba5e2a00 (diff)
this feature was never used and only causes problems
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h8
1 files changed, 3 insertions, 5 deletions
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>(TProto *proto, int idDialog, bool show_label=true) :
- CProtoIntDlgBase(proto, idDialog, show_label),
+ __inline CProtoDlgBase<TProto>(TProto *proto, int idDialog) :
+ CProtoIntDlgBase(proto, idDialog),
m_proto(proto)
{
}