X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1dc9f8394c1488ad8e7d945e6f943f7b34554ce..c282ec44024689f736f76772a3ffd1fccf4b7d07:/include/wx/msw/treectrl.h diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index 905c330c7f..cfb43004a0 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -32,7 +32,7 @@ // fwd decl class WXDLLEXPORT wxImageList; class WXDLLEXPORT wxDragImage; -struct WXDLLEXPORT wxTreeViewItem; +struct WXDLLIMPEXP_FWD_CORE wxTreeViewItem; #if WXWIN_COMPATIBILITY_2_6 // NB: all the following flags are for compatbility only and will be removed in the @@ -210,6 +210,9 @@ public: void SetState(const wxTreeItemId& node, int state); int GetState(const wxTreeItemId& node); + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + protected: // SetImageList helper void SetAnyImageList(wxImageList *imageList, int which); @@ -263,8 +266,10 @@ private: // true if the hash above is not empty bool m_hasAnyAttr; +#if wxUSE_DRAGIMAGE // used for dragging wxDragImage *m_dragImage; +#endif // Virtual root item, if wxTR_HIDE_ROOT is set. void* m_pVirtualRoot;