]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treectrl.h
Generic tree control fixes
[wxWidgets.git] / samples / treectrl / treectrl.h
index 6a6dc6702f4c495c8fc045f7fbee44c664e59583..fc3d5931b3f84644e48d1da1dc75289d74e3f595 100644 (file)
@@ -9,6 +9,16 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
+#define USE_GENERIC_TREECTRL 0
+
+#if USE_GENERIC_TREECTRL
+#include "wx/generic/treectlg.h"
+#ifndef wxTreeCtrl
+#define wxTreeCtrl wxGenericTreeCtrl
+#define sm_classwxTreeCtrl sm_classwxGenericTreeCtrl
+#endif
+#endif
+
 // Define a new application type
 class MyApp : public wxApp
 {