X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/820893d0d41b94b22dada287355ad27489c21721..25088f1eea365f0da7aeb565932dd4fe0fd5d20e:/contrib/samples/deprecated/treelay/treelay.cpp?ds=sidebyside diff --git a/contrib/samples/deprecated/treelay/treelay.cpp b/contrib/samples/deprecated/treelay/treelay.cpp index 9b1df20bcf..43d9c9832c 100644 --- a/contrib/samples/deprecated/treelay/treelay.cpp +++ b/contrib/samples/deprecated/treelay/treelay.cpp @@ -20,7 +20,13 @@ #include "wx/wx.h" #endif -#include "wx/treelay.h" +#include "wx/deprecated/setup.h" + +#if !wxUSE_TREELAYOUT +#error Please set wxUSE_TREELAYOUT to 1 in contrib/include/wx/deprecated/setup.h and recompile. +#endif + +#include "wx/deprecated/treelay.h" #include "treelay.h"