X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c193b707eb53c05fba213449a271bf01c7279575..ab20a9a95a8bbed75bfc6ecba20f013eb9dcff46:/include/wx/treectrl.h diff --git a/include/wx/treectrl.h b/include/wx/treectrl.h index 55642822d7..b6d81ef686 100644 --- a/include/wx/treectrl.h +++ b/include/wx/treectrl.h @@ -8,6 +8,16 @@ #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 // ---------------------------------------------------------------------------- @@ -26,6 +36,8 @@ #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 @@ -39,7 +51,12 @@ 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);