Modified generic wxTreeCtrl to work under non-Unix platforms simultaneously

with the native control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-08-04 13:59:45 +00:00
parent b1944ebcd0
commit 484523cf52
23 changed files with 608 additions and 384 deletions

View 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
{