]>
Commit | Line | Data |
---|---|---|
56d2f750 VS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: xmlrsall.cpp | |
3 | // Purpose: wxXmlResource::InitAllHandlers | |
4 | // Author: Vaclav Slavik | |
5 | // Created: 2000/03/05 | |
6 | // RCS-ID: $Id$ | |
7 | // Copyright: (c) 2000 Vaclav Slavik | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | // -- Already done in xmlres.cpp | |
12 | //#ifdef __GNUG__ | |
13 | //#pragma implementation "xmlres.h" | |
14 | //#endif | |
15 | ||
16 | // For compilers that support precompilation, includes "wx.h". | |
17 | #include "wx/wxprec.h" | |
18 | ||
19 | #ifdef __BORLANDC__ | |
20 | #pragma hdrstop | |
21 | #endif | |
22 | ||
23 | #include "wx/xml/xmlres.h" | |
24 | #include "wx/xml/xh_all.h" | |
25 | ||
26 | void wxXmlResource::InitAllHandlers() | |
27 | { | |
28 | AddHandler(new wxMenuXmlHandler); | |
29 | AddHandler(new wxMenuBarXmlHandler); | |
30 | ||
31 | AddHandler(new wxDialogXmlHandler); | |
32 | AddHandler(new wxPanelXmlHandler); | |
b008b592 VS |
33 | |
34 | AddHandler(new wxSizerXmlHandler); | |
35 | //Controls | |
56d2f750 | 36 | AddHandler(new wxButtonXmlHandler); |
b008b592 VS |
37 | AddHandler(new wxBitmapButtonXmlHandler); |
38 | AddHandler(new wxStaticTextXmlHandler); | |
39 | AddHandler(new wxStaticBoxXmlHandler); | |
40 | AddHandler(new wxStaticBitmapXmlHandler); | |
41 | AddHandler(new wxTreeCtrlXmlHandler); | |
42 | AddHandler(new wxCalendarCtrlXmlHandler); | |
43 | AddHandler(new wxListCtrlXmlHandler); | |
44 | #if CHECKLISTBOX | |
45 | AddHandler(new wxCheckListXmlHandler); | |
46 | #endif | |
47 | #if wxUSE_CHOICE | |
48 | AddHandler(new wxChoiceXmlHandler); | |
49 | #endif | |
50 | #if wxUSE_SLIDER | |
51 | AddHandler(new wxSliderXmlHandler); | |
52 | #endif | |
56d2f750 VS |
53 | #if wxUSE_GAUGE |
54 | AddHandler(new wxGaugeXmlHandler); | |
55 | #endif | |
56 | #if wxUSE_CHECKBOX | |
57 | AddHandler(new wxCheckBoxXmlHandler); | |
58 | #endif | |
59 | #if wxUSE_HTML | |
60 | AddHandler(new wxHtmlWindowXmlHandler); | |
61 | #endif | |
62 | #if wxUSE_SPINBTN | |
63 | AddHandler(new wxSpinButtonXmlHandler); | |
64 | #endif | |
65 | #if wxUSE_SPINCTRL | |
66 | AddHandler(new wxSpinCtrlXmlHandler); | |
67 | #endif | |
b008b592 VS |
68 | #if wxUSE_SCROLLBAR |
69 | AddHandler(new wxScrollBarXmlHandler); | |
70 | #endif | |
71 | ||
56d2f750 VS |
72 | #if wxUSE_RADIOBOX |
73 | AddHandler(new wxRadioBoxXmlHandler); | |
74 | AddHandler(new wxRadioButtonXmlHandler); | |
75 | #endif | |
76 | #if wxUSE_COMBOBOX | |
77 | AddHandler(new wxComboBoxXmlHandler); | |
78 | #endif | |
56d2f750 VS |
79 | #if wxUSE_NOTEBOOK |
80 | AddHandler(new wxNotebookXmlHandler); | |
81 | #endif | |
82 | AddHandler(new wxTextCtrlXmlHandler); | |
4b0ca8b9 VS |
83 | #if wxUSE_LISTBOX |
84 | AddHandler(new wxListBoxXmlHandler); | |
85 | #endif | |
8576d6a4 VS |
86 | #if wxUSE_TOOLBAR |
87 | AddHandler(new wxToolBarXmlHandler); | |
88 | #endif | |
b008b592 VS |
89 | |
90 | ||
91 | ||
56d2f750 | 92 | } |