]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Small changes incl. making wxTAB_TRAVERSAL always on in wxDialog (wxMSW)
[wxWidgets.git] / src / msw / treectrl.cpp
index 9c346d609863b449156f48a25e77a428a7e810a2..061374546bba7d5291ce30a3a048fb62f64fa4fb 100644 (file)
 
 #include "wx/msw/private.h"
 
+#ifdef __GNUWIN32__
+#include "wx/msw/gnuwin32/extra.h"
+#endif
+
 #if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__)
     #include <commctrl.h>
 #endif
@@ -136,7 +140,8 @@ bool wxTreeCtrl::Create(wxWindow *parent, wxWindowID id,
 
     m_windowId = (id == -1) ? NewControlId() : id;
 
-    DWORD wstyle = WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES;
+    DWORD wstyle = WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_SHOWSELALWAYS ;
+
 
     bool want3D;
     WXDWORD exStyle = Determine3DEffects(WS_EX_CLIENTEDGE, &want3D) ;