Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Initial import of code already done for Xestia Address Book
[xestiaab/.git] / source / widgets / XABAccountView.h
1 #include <wx/combo.h>
2 #include <wx/treectrl.h>
3 #include <wx/treebase.h>
4 #include <wx/wx.h>
6 #ifndef __WIDGETS_XABACCOUNTVIEW_H__
7 #define __WIDGETS_XABACCOUNTVIEW_H__
9 class XABAccountView : public wxTreeCtrl, public wxComboPopup
10 {
12 protected:
14         int idx;
15         bool ixp = FALSE;
16         wxTreeItemId tid;
18 public:
20         virtual void Init();
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);
32         void SetAccount();
33 private:
34         DECLARE_EVENT_TABLE();
36 };
38 #endif
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy