diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-31 15:28:07 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-31 15:28:07 +0000 |
commit | e9bc776a7a980a023486667995e706a215f5cbba (patch) | |
tree | 8cf1b13bac3fd0c13d8f718d8fccbe32e1713274 /views/widget | |
parent | 365c724e6df12d8af2109718f142a2432e663125 (diff) | |
download | chromium_src-e9bc776a7a980a023486667995e706a215f5cbba.zip chromium_src-e9bc776a7a980a023486667995e706a215f5cbba.tar.gz chromium_src-e9bc776a7a980a023486667995e706a215f5cbba.tar.bz2 |
The native tabbed pane was not showing its content window upon creation,
resulting in the views_examples tools to display blank tabs. Child windows
should be made visible by default.
BUG=None
TEST=make sure the views_examples.exe tool show the correct content for all
its tabs
R=ben@chromium.org
Review URL: http://codereview.chromium.org/6670123
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget')
-rw-r--r-- | views/widget/widget_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc index f50dfbc..f0a43c5 100644 --- a/views/widget/widget_win.cc +++ b/views/widget/widget_win.cc @@ -163,7 +163,7 @@ void WidgetWin::SetCreateParams(const CreateParams& params) { // Set type-independent style attributes. if (params.child) - style |= WS_CHILD; + style |= WS_CHILD | WS_VISIBLE; if (!params.accept_events) ex_style |= WS_EX_TRANSPARENT; if (!params.can_activate) |