Minor corrections to be able to compile with VC++ 1.5C and VC++ 4.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Patrick Albert
1999-08-24 15:54:04 +00:00
parent d1bc9efeff
commit 2996bcde9c
6 changed files with 22 additions and 11 deletions

View File

@@ -200,8 +200,10 @@ bool wxTreeCtrl::Create(wxWindow *parent,
#if !defined( __GNUWIN32__ ) && !defined( __BORLANDC__ ) && !defined(wxUSE_NORLANDER_HEADERS)
// we emulate the multiple selection tree controls by using checkboxes: set
// up the image list we need for this if we do have multiple selections
#if !defined(__VISUALC__) || (__VISUALC__ != 1010)
if ( m_windowStyle & wxTR_MULTIPLE )
wstyle |= TVS_CHECKBOXES;
#endif
#endif
// Create the tree control.