summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_opts.cpp8
-rw-r--r--protocols/IcqOscarJ/src/icqoscar.h1
2 files changed, 0 insertions, 9 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;
diff --git a/protocols/IcqOscarJ/src/icqoscar.h b/protocols/IcqOscarJ/src/icqoscar.h
index a6cbcb6714..059f016a20 100644
--- a/protocols/IcqOscarJ/src/icqoscar.h
+++ b/protocols/IcqOscarJ/src/icqoscar.h
@@ -33,7 +33,6 @@
// Windows includes
#include <windows.h>
#include <commctrl.h>
-#include <uxtheme.h>
// Standard includes
#include <stdio.h>