git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34048
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_TREECTRL
#include "wx/msw/private.h"
+#include "wx/msw/missing.h"
// Set this to 1 to be _absolutely_ sure that repainting will work for all
// comctl32.dll versions
wstyle |= TVS_CHECKBOXES;
#endif // wxUSE_CHECKBOXES_IN_MULTI_SEL_TREE
-#ifndef __WXWINCE__
+#if !defined(__WXWINCE__) && defined(TVS_INFOTIP)
// Need so that TVN_GETINFOTIP messages will be sent
wstyle |= TVS_INFOTIP;
#endif
break;
}
+#ifdef TVN_GETINFOTIP
case TVN_GETINFOTIP:
{
eventType = wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP;
break;
}
+#endif
#endif
case TVN_GETDISPINFO:
break;
#ifndef __WXWINCE__
+#ifdef TVN_GETINFOTIP
case TVN_GETINFOTIP:
{
// If the user permitted a tooltip change, change it
}
}
break;
+#endif
#endif
case TVN_SELCHANGING: