From: Vadim Zeitlin Date: Fri, 7 Aug 1998 22:30:12 +0000 (+0000) Subject: wxTREE_INSERT_XXX constants were incorrectly defined (and so inserting the X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3197ed26f08b72d6b2ca0c8a108b24b489ab4f7f wxTREE_INSERT_XXX constants were incorrectly defined (and so inserting the items at the end, for example, didn't work) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index e11a0b6bf6..4f716a9d13 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -75,11 +75,9 @@ enum { }; // Flags for InsertItem -enum { - wxTREE_INSERT_LAST = -1, - wxTREE_INSERT_FIRST = -2, - wxTREE_INSERT_SORT = -3 -}; +#define wxTREE_INSERT_FIRST 0xFFFF0001 +#define wxTREE_INSERT_LAST 0xFFFF0002 +#define wxTREE_INSERT_SORT 0xFFFF0003 class WXDLLEXPORT wxTreeItem: public wxObject {