diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-18 13:40:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-18 13:40:59 +0000 |
commit | 8cebd2859be7808d238ae67320aca7e2eef4c1a1 (patch) | |
tree | 7f9521da36a06b6ae3c160ba1c6dcca47ee7a189 /plugins/TabSRMM/src | |
parent | 5e0e7e8ea01cdfa22349a100ca165f52550c9b14 (diff) |
RichEd20.dll replaced with Msftedit.dll
git-svn-id: http://svn.miranda-ng.org/main/trunk@11011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 69e39b5029..663a4383a0 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1420,7 +1420,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP SendMessage(hwndContainer, DM_QUERYCLIENTAREA, 0, (LPARAM)&rc);
WNDCLASS wndClass = { 0 };
- GetClassInfo(g_hInst, _T("RichEdit20W"), &wndClass);
+ GetClassInfo(g_hInst, _T("RICHEDIT50W"), &wndClass);
mir_subclassWindowFull(GetDlgItem(hwndDlg, IDC_LOG), MessageLogSubclassProc, wndClass.lpfnWndProc);
SetWindowPos(hwndDlg, 0, rc.left, rc.top, (rc.right - rc.left), (rc.bottom - rc.top), newData->iActivate ? 0 : SWP_NOZORDER | SWP_NOACTIVATE);
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index d354ce1922..bb6f28db47 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -337,7 +337,9 @@ int SplitmsgShutdown(void) DestroyCursor(PluginConfig.hCurSplitNS); DestroyCursor(PluginConfig.hCurHyperlinkHand); DestroyCursor(PluginConfig.hCurSplitWE); - FreeLibrary(GetModuleHandleA("riched20")); + + FreeLibrary(GetModuleHandleA("Msftedit.dll")); + if (g_hIconDLL) { FreeLibrary(g_hIconDLL); g_hIconDLL = NULL; @@ -433,7 +435,7 @@ int LoadSendRecvMessageModule(void) icex.dwICC = ICC_COOL_CLASSES | ICC_BAR_CLASSES | ICC_LISTVIEW_CLASSES; InitCommonControlsEx(&icex); - Utils::loadSystemLibrary(L"\\riched20.dll"); + Utils::loadSystemLibrary(L"\\Msftedit.dll"); OleInitialize(NULL); mREOLECallback = new REOLECallback; |