]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tabctrl.cpp
Removed some superflous #defines already added by plaform.h, simplified a bit
[wxWidgets.git] / src / msw / tabctrl.cpp
index c2553f2f2fe4c70ca26fab3695a1c51c9e789957..128ffff8cc3c2e5799605a53128c6644f7769d32 100644 (file)
@@ -90,7 +90,7 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
 
   m_windowId = (id < 0 ? NewControlId() : id);
 
-  long tabStyle = 0;
+  long tabStyle = WS_CHILD;
   if (m_windowStyle & wxTC_MULTILINE)
     tabStyle |= TCS_MULTILINE;
   if (m_windowStyle & wxTC_RIGHTJUSTIFY)