wxcrafter/xrc_handlers/myxh_treelist.h
raw| 1 | #ifndef MYXH_TREELIST_H |
| 2 | #define MYXH_TREELIST_H |
| 3 | |
| 4 | #include <wx/xrc/xmlres.h> |
| 5 | |
| 6 | class wxTreeListCtrl; |
| 7 | class MyTreeListCtrl : public wxXmlResourceHandler |
| 8 | { |
| 9 | public: |
| 10 | MyTreeListCtrl(); |
| 11 | virtual wxObject* DoCreateResource(); |
| 12 | virtual bool CanHandle(wxXmlNode* node); |
| 13 | |
| 14 | private: |
| 15 | // handlers for wxListCtrl itself and its listcol and listitem children |
| 16 | wxTreeListCtrl* HandleListCtrl(); |
| 17 | void HandleListCol(); |
| 18 | }; |
| 19 | |
| 20 | #endif // MYXH_TREELIST_H |