#include "wx/control.h"
#include "wx/event.h"
+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+#ifdef __WXMSW__
+WXDLLEXPORT_DATA(extern const char*) wxTreeCtrlNameStr;
+#else
+#define wxTreeCtrlNameStr "wxTreeCtrl"
+#endif
+
// ----------------------------------------------------------------------------
// include the platform-dependent wxTreeCtrl class
// ----------------------------------------------------------------------------
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);