diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-13 13:56:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-13 13:56:59 +0000 |
commit | cda582b4409add7b8fd8ff29fef9debb90267c88 (patch) | |
tree | cedeb77e06276f7e97cfa1229ae6834cd1f3d35c /plugins/TabSRMM/src/TSButton.cpp | |
parent | af89bddd5ba9f68936dbad0a560c82b7ace9da1c (diff) |
missing aero initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@5667 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/TSButton.cpp')
-rw-r--r-- | plugins/TabSRMM/src/TSButton.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/TSButton.cpp b/plugins/TabSRMM/src/TSButton.cpp index 22b4da3127..524644406d 100644 --- a/plugins/TabSRMM/src/TSButton.cpp +++ b/plugins/TabSRMM/src/TSButton.cpp @@ -500,7 +500,13 @@ static LRESULT CALLBACK TSButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, return 0;
}
- return mir_callNextSubclass(hwndDlg, TSButtonWndProc, msg, wParam, lParam);
+ LRESULT res = mir_callNextSubclass(hwndDlg, TSButtonWndProc, msg, wParam, lParam);
+
+ if (msg == WM_NCCREATE)
+ if (M.isVSAPIState())
+ bct->hThemeToolbar = (M.isAero() || IsWinVerVistaPlus()) ? CMimAPI::m_pfnOpenThemeData(bct->hwnd, L"MENU") : CMimAPI::m_pfnOpenThemeData(bct->hwnd, L"TOOLBAR");
+
+ return res;
}
int TSAPI UnloadTSButtonModule()
|