final (?) changes to the generic tree ctrl -- seems to work ok

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-10-26 17:11:33 +00:00
parent 4b5f3fe655
commit f135ff73b4
4 changed files with 1185 additions and 1152 deletions

View File

@@ -69,7 +69,12 @@ class MyFrame: public wxFrame
class MyTreeItemData : public wxTreeItemData
{
public:
MyTreeItemData(const wxString& desc) : m_desc(desc) { }
void ShowInfo(wxTreeCtrl *tree);
private:
wxString m_desc;
};
// ID for the menu quit command
@@ -78,4 +83,8 @@ public:
#define TREE_CTRL 1000
enum
{
TreeCtrlIcon_File,
TreeCtrlIcon_Folder
};