diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-06 14:22:15 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-06 14:22:15 +0000 |
commit | 4bcab3fc00696ca2daf1396bfc75bd49009644d6 (patch) | |
tree | 46e565b46cdf7146e78f3e6866f56ce7b3cd2ebe /plugins | |
parent | be9097715b8d449266ff6cf77d9a29239cf6db7b (diff) |
moved options page to Customize -> Languages
git-svn-id: http://svn.miranda-ng.org/main/trunk@1795 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/LangMan/src/options.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/LangMan/src/options.cpp b/plugins/LangMan/src/options.cpp index f804cf77fd..258669ec58 100644 --- a/plugins/LangMan/src/options.cpp +++ b/plugins/LangMan/src/options.cpp @@ -40,11 +40,10 @@ static HIMAGELIST CreateRadioImages(COLORREF clrBk, COLORREF clrText) HIMAGELIST himl = NULL;
/* the WinXP+ themed way */
- HMODULE hUxThemeDLL;
HTHEME (WINAPI *pfnOpenThemeData)(HWND, const WCHAR*);
HTHEME (WINAPI *pfnCloseThemeData)(HTHEME);
HRESULT (WINAPI *pfnDrawThemeBackground)(HTHEME, HDC, int, int, const RECT*, const RECT*);
- hUxThemeDLL = LoadLibraryA("UXTHEME"); /* all ascii */
+ HMODULE hUxThemeDLL = LoadLibrary(_T("UXTHEME")); /* all ascii */
/* draw bitmap */
hdcScreen = GetDC(NULL);
@@ -648,9 +647,10 @@ static int LangOptInit(WPARAM wParam, LPARAM lParam) UNREFERENCED_PARAMETER(lParam);
odp.cbSize = sizeof(odp);
odp.hInstance = hInst;
- odp.flags = ODPF_BOLDGROUPS;
+ odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR;
odp.position = 1200000090;
- odp.pszTitle = LPGEN("Appearance"); /* autotranslated */
+ odp.ptszTitle = LPGENT("Languages");
+ odp.ptszGroup = LPGENT("Customize");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_LANG);
odp.pfnDlgProc = LangOptDlgProc;
Options_AddPage(wParam, &odp);
|