From 5b2fa6f292b910409066b2ca748b3f7b8ff020b1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 31 Oct 2023 13:09:10 +0300 Subject: NewStory: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fixes #3755 (NewStory: неработающий тэг color парсится криво); - fixes bug with template preview in the options dialog --- plugins/ExternalAPI/m_text.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h index d6607e2eb1..d2165802ac 100644 --- a/plugins/ExternalAPI/m_text.h +++ b/plugins/ExternalAPI/m_text.h @@ -3,8 +3,14 @@ // Text control #define MTEXTCONTROLCLASS "MTextControl" -#define MTM_SETUSER WM_USER -#define MTM_UPDATE WM_USER+1 + +#define MTM_SETUSER (WM_USER) +#define MTM_UPDATE (WM_USER+1) + +// analog of calling MTextCreateEx +// wParam = MTEXT_FLG_* +// lParam = (void*)text +#define MTM_UPDATEEX (WM_USER+2) typedef struct TextObject *HText; -- cgit v1.2.3