Don't include wx/treectrl.h from wx/treebook.h any more

Remove an unnecessary header dependency. This is not completely
backwards-compatible as it would break any code relying on getting e.g.
wxTextCtrl declaration after including wx/treebook.h, but, hopefully,
there shouldn't be that much such code out there and fixing it shouldn't
be difficult.

If either of these assumptions turns out to be false, this commit can
always be reverted later.
This commit is contained in:
Vadim Zeitlin
2018-03-24 19:21:57 +01:00
parent bf30fa7490
commit bb492b99bd
2 changed files with 5 additions and 1 deletions

View File

@@ -17,10 +17,11 @@
#include "wx/bookctrl.h"
#include "wx/containr.h"
#include "wx/treectrl.h" // for wxArrayTreeItemIds
#include "wx/treebase.h" // for wxTreeItemId
typedef wxWindow wxTreebookPage;
class WXDLLIMPEXP_FWD_CORE wxTreeCtrl;
class WXDLLIMPEXP_FWD_CORE wxTreeEvent;
// ----------------------------------------------------------------------------