summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/controls/textfield/native_textfield_win.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h
index 6955453..a291a71 100644
--- a/views/controls/textfield/native_textfield_win.h
+++ b/views/controls/textfield/native_textfield_win.h
@@ -23,7 +23,8 @@ namespace views {
class NativeViewHost;
class Textfield;
-static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE;
+static const int kDefaultEditStyle = WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN |
+ WS_CLIPSIBLINGS;
// TODO(beng): make a subclass of NativeControlWin instead.
class NativeTextfieldWin