#include "wx/control.h"
#include "wx/event.h"
+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+// enum for different images associated with a treectrl item
+enum wxTreeItemIcon
+{
+ wxTreeItemIcon_Normal, // not selected, not expanded
+ wxTreeItemIcon_Selected, // selected, not expanded
+ wxTreeItemIcon_Expanded, // not selected, expanded
+ wxTreeItemIcon_SelectedExpanded, // selected, expanded
+ wxTreeItemIcon_Max
+};
+
+// tree ctrl default name
+#ifdef __WXMSW__
+ WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
+#else
+ #define wxTreeCtrlNameStr "wxTreeCtrl"
+#endif
+
// ----------------------------------------------------------------------------
// include the platform-dependent wxTreeCtrl class
// ----------------------------------------------------------------------------
#include "wx/qt/treectrl.h"
#elif defined(__WXMAC__)
#include "wx/generic/treectrl.h"
+#elif defined(__WXPM__)
+ #include "wx/generic/treectrl.h"
#elif defined(__WXSTUBS__)
#include "wx/generic/treectrl.h"
#endif
class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
{
-friend wxTreeCtrl;
+#ifdef __MWERKS__
+ friend class wxTreeCtrl;
+#else
+ friend wxTreeCtrl;
+#endif
+
public:
wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);