diff options
author | George Hazan <ghazan@miranda.im> | 2017-04-10 16:09:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-04-10 16:09:07 +0300 |
commit | 8f7b9a76a69cbe33a9050171a1e139d726857ca1 (patch) | |
tree | f72bcb403bdadbefaefc13d4cd73d50649ac65f0 /plugins/TabSRMM/src/msgs.cpp | |
parent | 8355eb65b11a9d581b57ad061449838df0353bf1 (diff) |
code reorder to hide as much data as possible
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 5773c2240a..e01de1548e 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -107,7 +107,10 @@ void CTabBaseDlg::OnInitDialog() m_pContainer->UpdateTabs();
// add this window to window list & proxy
- CProxyWindow::add(this);
+ if (PluginConfig.m_bIsWin7 && PluginConfig.m_useAeroPeek)
+ m_pWnd = new CProxyWindow(this);
+ else
+ m_pWnd = nullptr;
// set up Windows themes
DM_ThemeChanged();
|