summaryrefslogtreecommitdiffstats
path: root/views/controls
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls')
-rw-r--r--views/controls/table/table_view.cc2
-rw-r--r--views/controls/tree/tree_view.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/table/table_view.cc b/views/controls/table/table_view.cc
index 434b355..bde6bec 100644
--- a/views/controls/table/table_view.cc
+++ b/views/controls/table/table_view.cc
@@ -892,7 +892,7 @@ HWND TableView::CreateNativeControl(HWND parent_container) {
// Bug 964884: detach the IME attached to this window.
// We should attach IMEs only when we need to input CJK strings.
- ::ImmAssociateContextEx(list_view_, NULL, 0);
+ win_util::IMEAttach(list_view_, false);
UpdateContentOffset();
diff --git a/views/controls/tree/tree_view.cc b/views/controls/tree/tree_view.cc
index 08f2255..894aa6e 100644
--- a/views/controls/tree/tree_view.cc
+++ b/views/controls/tree/tree_view.cc
@@ -358,7 +358,7 @@ HWND TreeView::CreateNativeControl(HWND parent_container) {
// Bug 964884: detach the IME attached to this window.
// We should attach IMEs only when we need to input CJK strings.
- ::ImmAssociateContextEx(tree_view_, NULL, 0);
+ win_util::IMEAttach(tree_view_, false);
return tree_view_;
}