]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/deprecated/treelay/treelay.cpp
Applied patch [ 795491 ] Multimon sample compatibility with various conditions
[wxWidgets.git] / contrib / samples / deprecated / treelay / treelay.cpp
index 9b1df20bcf36e87a3cd1c7be46b559b4b594c85f..43d9c9832cdda820319f1f6e7f595603e0aa965c 100644 (file)
 #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"