From 44a13a7f25763d4d6419307e47ddfdb4e52b3dc0 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 16 Jul 2016 11:29:41 +0200 Subject: [PATCH] Windows: No default IME handler when compiling using GCC. (#738) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 8a1aadf3..d74e3fed 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9575,7 +9575,7 @@ static void SetClipboardTextFn_DefaultImpl(const char* text) #endif // Win32 API IME support (for Asian languages, etc.) -#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCS) +#if defined(_WIN32) && !defined(__GNUC__) && !defined(IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCS) #include #ifdef _MSC_VER