1 /*************************************************************************** 2 * lefttree.h 3 * 4 * Wed Sep 6 22:19:52 2006 5 * Copyright 2006 liubin,China 6 * Email multiget@gmail.com 7 ****************************************************************************/ 8 9 /* 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 23 */ 24 25 #ifndef _LEFT_TREE_H 26 #define _LEFT_TREE_H 27 28 #include <wx/wx.h> 29 #include <wx/treectrl.h> 30 31 class CLeftTree : public wxTreeCtrl 32 { 33 34 public: 35 CLeftTree( wxWindow* parent ); ~CLeftTree()36 virtual ~CLeftTree() 37 { } 38 39 void DynamicLang(); 40 41 protected: 42 void OnSelectChanged( wxTreeEvent& event ); 43 //void OnErase( wxEraseEvent& event ); 44 //void OnSize( wxSizeEvent& event ); 45 46 47 wxTreeItemId m_rid ; 48 wxTreeItemId m_dl ; 49 wxTreeItemId m_pu ; 50 wxTreeItemId m_er ; 51 wxTreeItemId m_fi ; 52 wxTreeItemId m_de ; // 53 54 wxTreeItemId m_fi_soft; 55 wxTreeItemId m_fi_packet; 56 wxTreeItemId m_fi_music; 57 wxTreeItemId m_fi_image; 58 wxTreeItemId m_fi_movie; 59 wxTreeItemId m_fi_publish; 60 wxTreeItemId m_fi_picture; 61 wxTreeItemId m_fi_unknow; 62 63 private: 64 DECLARE_EVENT_TABLE() 65 }; 66 67 #endif 68 69