diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-14 20:27:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-14 20:27:44 +0300 |
commit | 0edc6006e17f896324d4011acdf5e16162572908 (patch) | |
tree | 0894285d03393bbb891a6bac94f2fbda07ea40cc /plugins/TabSRMM/src/msgs.h | |
parent | b408d9e8208c426c263c69602edfa8a4978fa3bf (diff) |
tabSRMM:
- fixes #735 (crazy dark magic of Windows);
- common code of window creation moved to CTabBaseDlg::OnInitDialog();
- DM_REFRESHTABINDEX replaced with the call of TContainerData::UpdateTabs();
Diffstat (limited to 'plugins/TabSRMM/src/msgs.h')
-rw-r--r-- | plugins/TabSRMM/src/msgs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h index 3ce2656ff3..1f97f52581 100644 --- a/plugins/TabSRMM/src/msgs.h +++ b/plugins/TabSRMM/src/msgs.h @@ -225,6 +225,7 @@ struct TContainerData CMenuBar *MenuBar;
CSideBar *SideBar;
+ void UpdateTabs();
void UpdateTitle(MCONTACT, class CTabBaseDlg* = nullptr);
void ClearMargins()
@@ -362,6 +363,7 @@ public: CTabBaseDlg(int iDialogId, SESSION_INFO* = nullptr);
virtual ~CTabBaseDlg();
+ virtual void OnInitDialog() override;
virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override;
virtual CThumbBase* tabCreateThumb(CProxyWindow*) const = 0;
@@ -724,7 +726,6 @@ struct TIconDescW #define DM_REMOVECLISTEVENT (TM_USER+75)
#define DM_GETWINDOWSTATE (TM_USER+76)
#define DM_DOCREATETAB (TM_USER+77)
-#define DM_REFRESHTABINDEX (TM_USER+83)
#define DM_SMILEYOPTIONSCHANGED (TM_USER+85)
#define DM_MYAVATARCHANGED (TM_USER+86)
#define DM_IEVIEWOPTIONSCHANGED (TM_USER+88)
|