Compile fixes for wxTreeCtrl (we don't speak about

linking or - dear - even running)
  distrib updates




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-07-31 17:24:28 +00:00
parent fbdc71e0a7
commit 2899e22327
4 changed files with 97 additions and 2 deletions

View File

@@ -195,10 +195,12 @@ bool wxTreeCtrl::Create(wxWindow *parent,
if ( m_windowStyle & wxTR_LINES_AT_ROOT )
wstyle |= TVS_LINESATROOT;
#ifndef __GNUWIN32__
// 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 ( m_windowStyle & wxTR_MULTIPLE )
wstyle |= TVS_CHECKBOXES;
wstyle |= TVS_CHECKBOXES;
#endif
// Create the tree control.
if ( !MSWCreateControl(WC_TREEVIEW, wstyle) )