Deprecated and obsolete parts marked up for backward compatibility.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-04-14 17:01:16 +00:00
parent 006591def7
commit 40ff126ac4
35 changed files with 167 additions and 95 deletions

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: treebase.h
// Name: wx/treebase.h
// Purpose: wxTreeCtrl base classes and types
// Author: Julian Smart et al
// Modified by:
@@ -24,6 +24,8 @@
#include "wx/event.h"
#include "wx/dynarray.h"
#if WXWIN_COMPATIBILITY_2_6
// flags for deprecated `Expand(int action)', will be removed in next versions
enum
{
@@ -33,6 +35,8 @@ enum
wxTREE_EXPAND_TOGGLE
};
#endif // WXWIN_COMPATIBILITY_2_6
// ----------------------------------------------------------------------------
// wxTreeItemId identifies an element of the tree. In this implementation, it's
// just a trivial wrapper around Win32 HTREEITEM or a pointer to some private
@@ -179,9 +183,11 @@ enum wxTreeItemIcon
#define wxTR_DEFAULT_STYLE (wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT)
#endif
#if WXWIN_COMPATIBILITY_2_6
// deprecated, don't use
#define wxTR_MAC_BUTTONS 0
#define wxTR_AQUA_BUTTONS 0
#endif // WXWIN_COMPATIBILITY_2_6
// values for the `flags' parameter of wxTreeCtrl::HitTest() which determine
@@ -413,4 +419,3 @@ END_DECLARE_EVENT_TYPES()
#endif // wxUSE_TREECTRL
#endif // _WX_TREEBASE_H_