2 #include <wx/treectrl.h>
3 #include <wx/treebase.h>
6 #ifndef __WIDGETS_XABACCOUNTVIEW_H__
7 #define __WIDGETS_XABACCOUNTVIEW_H__
9 class XABAccountView : public wxTreeCtrl, public wxComboPopup
21 virtual bool Create(wxWindow* parent);
22 virtual wxWindow* GetControl();
24 // Process wxString into a list selection.
25 virtual void SetStringValue(const wxString& s);
27 // Get list selection as a wxString.
28 virtual wxString GetStringValue() const;
29 wxTreeItemId FindItemByText(wxTreeItemId parent, const wxString& text);
30 void OnMouseClick(wxMouseEvent& WXUNUSED(event));
31 void ExpColProc(wxTreeEvent& event);
34 DECLARE_EVENT_TABLE();