From d6a9a8557466447f8082c1dc4f151eb81ecc6ac0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Mar 2013 10:15:11 +0000 Subject: we don't need undo's in read-only richviews git-svn-id: http://svn.miranda-ng.org/main/trunk@3891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/richcall.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/SmileyAdd/src/richcall.cpp') diff --git a/plugins/SmileyAdd/src/richcall.cpp b/plugins/SmileyAdd/src/richcall.cpp index 23c1383f9f..68898b4abe 100644 --- a/plugins/SmileyAdd/src/richcall.cpp +++ b/plugins/SmileyAdd/src/richcall.cpp @@ -468,6 +468,9 @@ void SetRichOwnerCallback(HWND hwnd, HWND hwndInput, HWND hwndLog) rdto->hwndLog = hwndLog; g_RichEditOwnerList.insert(rdto); + if (hwndInput) + SendMessage(hwndInput, EM_SETUNDOLIMIT, 0, 0); + mir_subclassWindow(hwnd, RichEditOwnerSubclass); } else { -- cgit v1.2.3