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:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user