diff options
| author | George Hazan <ghazan@miranda.im> | 2018-07-05 23:17:49 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2018-07-05 23:17:49 +0300 |
| commit | e5e268f1267ac0a16303081f1532fa1597911887 (patch) | |
| tree | 1cd593db774c2a83e917e2450f6f33d289e4d9dd /plugins/Alarms/src | |
| parent | 0b76f598f879aba590c11496d4266ae02d087bde (diff) | |
fixes #1448 (translated frame names in database)
Diffstat (limited to 'plugins/Alarms/src')
| -rwxr-xr-x | plugins/Alarms/src/frame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index b2f4221e09..87a1f7bd7a 100755 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -492,13 +492,13 @@ int CreateFrame() 0, 0, 10, 10, g_clistApi.hwndContactList, nullptr, g_plugin.getInst(), nullptr);
CLISTFrame Frame = { sizeof(CLISTFrame) };
- Frame.tname = TranslateT("Alarms");
+ Frame.szName.a = LPGEN("Alarms");
Frame.hWnd = hwnd_plugin;
Frame.align = alBottom;
- Frame.Flags = F_UNICODE | F_VISIBLE | F_SHOWTB | F_SHOWTBTIP;
+ Frame.Flags = F_VISIBLE | F_SHOWTB | F_SHOWTBTIP;
Frame.height = 30;
Frame.hIcon = hIconMenuSet;
- frame_id = CallService(MS_CLIST_FRAMES_ADDFRAME, (WPARAM)&Frame, 0);
+ frame_id = g_plugin.addFrame(&Frame);
}
else {
wndclass.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
