diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 13:43:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 13:43:29 +0000 |
commit | a6359218bf2588d71c41a9dac62f62d6a36aea30 (patch) | |
tree | 787091b58eb36310aba34f88fe77fb5f77c8186a /protocols/IcqOscarJ/src/icq_opts.cpp | |
parent | c69a9c892f52056d452ad8520e6c09b6956f30e3 (diff) |
using Uxtheme in protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@6156 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_opts.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_opts.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/protocols/IcqOscarJ/src/icq_opts.cpp b/protocols/IcqOscarJ/src/icq_opts.cpp index ff7a3b92ef..8aa34ba65d 100644 --- a/protocols/IcqOscarJ/src/icq_opts.cpp +++ b/protocols/IcqOscarJ/src/icq_opts.cpp @@ -41,8 +41,6 @@ static const char* szLogLevelDescr[] = { LPGEN("Do not display any problems (not recommended)")
};
-static BOOL (WINAPI *pfnEnableThemeDialogTexture)(HANDLE, DWORD) = 0;
-
static void LoadDBCheckState(CIcqProto* ppro, HWND hwndDlg, int idCtrl, const char* szSetting, BYTE bDef)
{
CheckDlgButton(hwndDlg, idCtrl, ppro->getByte(szSetting, bDef));
@@ -571,12 +569,6 @@ INT_PTR CALLBACK DlgProcIcqPopupOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR int CIcqProto::OnOptionsInit(WPARAM wParam, LPARAM lParam)
{
- if (IsWinVerXPPlus()) {
- HMODULE hUxTheme = GetModuleHandleA("uxtheme.dll");
- if (hUxTheme)
- pfnEnableThemeDialogTexture = (BOOL (WINAPI *)(HANDLE, DWORD))GetProcAddress(hUxTheme, "EnableThemeDialogTexture");
- }
-
OPTIONSDIALOGPAGE odp = {0};
odp.cbSize = sizeof(odp);
odp.position = -800000000;
|