From 51633811777a0424d9bfe77143384a20f832c565 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 14 Aug 2015 16:24:05 +0200 Subject: [PATCH] Adding TextEdit rules --- src/gwin/gwin_rules.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gwin/gwin_rules.h b/src/gwin/gwin_rules.h index 874c59b4..3426eb67 100644 --- a/src/gwin/gwin_rules.h +++ b/src/gwin/gwin_rules.h @@ -123,6 +123,14 @@ #error "GWIN: GDISP_NEED_TEXT is required if GWIN_NEED_CONSOLE is TRUE." #endif #endif + #if GWIN_NEED_TEXTEDIT + #if !GDISP_NEED_TEXT + #error "GWIN: GDISP_NEED_TEXT is required if GWIN_NEED_TEXTEDIT is TRUE." + #endif + #if !GINPUT_NEED_KEYBOARD + #error "GWIN: GINPUT_NEED_KEYBOARD is required if GWIN_NEED_TEXTEDIT is TRUE." + #endif + #endif #endif #endif /* _GWIN_RULES_H */