From: Vadim Zeitlin Date: Sun, 27 Apr 2003 21:49:22 +0000 (+0000) Subject: create tab ctrl with WS_VISIBLE style X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/96df9ed9b10472dc0624cbaeeedc9974ec09a9d3?ds=inline create tab ctrl with WS_VISIBLE style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/tabctrl.cpp b/src/msw/tabctrl.cpp index 2d2b30c7f1..6e7bfdebc8 100644 --- a/src/msw/tabctrl.cpp +++ b/src/msw/tabctrl.cpp @@ -89,7 +89,7 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons m_windowId = (id < 0 ? NewControlId() : id); - long tabStyle = WS_CHILD; + long tabStyle = WS_CHILD | WS_VISIBLE; if (m_windowStyle & wxTC_MULTILINE) tabStyle |= TCS_MULTILINE; if (m_windowStyle & wxTC_RIGHTJUSTIFY)