summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_text.h10
1 files changed, 8 insertions, 2 deletions
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;