From 5f12c4c84e77b1c8c29b12f1fca7cb70d3e31d89 Mon Sep 17 00:00:00 2001 From: skalogryz Date: Sun, 7 Mar 2010 16:03:45 +0000 Subject: [PATCH] richmemo: added information about PrepareCreateWindow LCL versions git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1178 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/richmemo/win32/win32richmemo.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/richmemo/win32/win32richmemo.pas b/components/richmemo/win32/win32richmemo.pas index 05cc9d050..e28a08188 100644 --- a/components/richmemo/win32/win32richmemo.pas +++ b/components/richmemo/win32/win32richmemo.pas @@ -138,7 +138,12 @@ begin end; // general initialization of Params + + // if you're using 0.9.28.2 compiler, uncomment the line, + // PrepareCreateWindow(AWinControl, Params); + // and comment the following like (it's for 0.9.30 compatiblity): PrepareCreateWindow(AWinControl, AParams, Params); + Params.SubClassWndProc := @RichEditProc; // customization of Params