Browse Source

Windows: No default IME handler when compiling using GCC. (#738)

ocornut 9 years ago
parent
commit
44a13a7f25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -9575,7 +9575,7 @@ static void SetClipboardTextFn_DefaultImpl(const char* text)
 #endif
 #endif
 
 
 // Win32 API IME support (for Asian languages, etc.)
 // 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 <imm.h>
 #include <imm.h>
 #ifdef _MSC_VER
 #ifdef _MSC_VER