]>
Commit | Line | Data |
---|---|---|
78d14f80 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 | ///////////////////////////////////////////////////////////////////////////// | |
f80ea77b | 10 | |
78d14f80 | 11 | // -- Already done in xmlres.cpp |
c575e45a | 12 | //#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
78d14f80 VS |
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 | ||
621be1ec | 23 | #if wxUSE_XRC |
a1e4ec87 | 24 | |
78d14f80 VS |
25 | #include "wx/xrc/xmlres.h" |
26 | #include "wx/xrc/xh_all.h" | |
27 | ||
28 | void wxXmlResource::InitAllHandlers() | |
29 | { | |
30 | AddHandler(new wxBitmapXmlHandler); | |
31 | AddHandler(new wxIconXmlHandler); | |
32 | AddHandler(new wxMenuXmlHandler); | |
33 | AddHandler(new wxMenuBarXmlHandler); | |
78d14f80 VS |
34 | AddHandler(new wxDialogXmlHandler); |
35 | AddHandler(new wxPanelXmlHandler); | |
78d14f80 | 36 | AddHandler(new wxSizerXmlHandler); |
78d14f80 VS |
37 | AddHandler(new wxButtonXmlHandler); |
38 | AddHandler(new wxBitmapButtonXmlHandler); | |
39 | AddHandler(new wxStaticTextXmlHandler); | |
40 | AddHandler(new wxStaticBoxXmlHandler); | |
41 | AddHandler(new wxStaticBitmapXmlHandler); | |
42 | AddHandler(new wxTreeCtrlXmlHandler); | |
f03b9d45 | 43 | #if wxUSE_CALENDARCTRL |
78d14f80 | 44 | AddHandler(new wxCalendarCtrlXmlHandler); |
f03b9d45 | 45 | #endif |
78d14f80 | 46 | AddHandler(new wxListCtrlXmlHandler); |
636e7e5d | 47 | #if wxUSE_CHECKLISTBOX |
56572188 | 48 | AddHandler(new wxCheckListBoxXmlHandler); |
78d14f80 VS |
49 | #endif |
50 | #if wxUSE_CHOICE | |
51 | AddHandler(new wxChoiceXmlHandler); | |
52 | #endif | |
53 | #if wxUSE_SLIDER | |
54 | AddHandler(new wxSliderXmlHandler); | |
55 | #endif | |
56 | #if wxUSE_GAUGE | |
57 | AddHandler(new wxGaugeXmlHandler); | |
58 | #endif | |
59 | #if wxUSE_CHECKBOX | |
60 | AddHandler(new wxCheckBoxXmlHandler); | |
f80ea77b | 61 | #endif |
85f138db JS |
62 | #if wxUSE_TOGGLEBTN |
63 | AddHandler(new wxToggleButtonXmlHandler); | |
64 | #endif | |
78d14f80 VS |
65 | #if wxUSE_HTML |
66 | AddHandler(new wxHtmlWindowXmlHandler); | |
f80ea77b | 67 | #endif |
78d14f80 VS |
68 | #if wxUSE_SPINBTN |
69 | AddHandler(new wxSpinButtonXmlHandler); | |
f80ea77b | 70 | #endif |
78d14f80 VS |
71 | #if wxUSE_SPINCTRL |
72 | AddHandler(new wxSpinCtrlXmlHandler); | |
f80ea77b | 73 | #endif |
78d14f80 VS |
74 | #if wxUSE_SCROLLBAR |
75 | AddHandler(new wxScrollBarXmlHandler); | |
76 | #endif | |
78d14f80 VS |
77 | #if wxUSE_RADIOBOX |
78 | AddHandler(new wxRadioBoxXmlHandler); | |
79 | AddHandler(new wxRadioButtonXmlHandler); | |
80 | #endif | |
81 | #if wxUSE_COMBOBOX | |
82 | AddHandler(new wxComboBoxXmlHandler); | |
83 | #endif | |
84 | #if wxUSE_NOTEBOOK | |
85 | AddHandler(new wxNotebookXmlHandler); | |
9aaf1192 WS |
86 | #endif |
87 | #if wxUSE_LISTBOOK | |
88 | AddHandler(new wxListbookXmlHandler); | |
89 | #endif | |
90 | #if wxUSE_CHOICEBOOK | |
91 | AddHandler(new wxChoicebookXmlHandler); | |
78d14f80 VS |
92 | #endif |
93 | AddHandler(new wxTextCtrlXmlHandler); | |
94 | #if wxUSE_LISTBOX | |
95 | AddHandler(new wxListBoxXmlHandler); | |
96 | #endif | |
97 | #if wxUSE_TOOLBAR | |
98 | AddHandler(new wxToolBarXmlHandler); | |
99 | #endif | |
100 | #if wxUSE_STATLINE | |
101 | AddHandler(new wxStaticLineXmlHandler); | |
102 | #endif | |
103 | AddHandler(new wxUnknownWidgetXmlHandler); | |
995c1788 VS |
104 | #if wxUSE_DIRDLG |
105 | AddHandler(new wxGenericDirCtrlXmlHandler); | |
106 | #endif | |
78d14f80 | 107 | AddHandler(new wxFrameXmlHandler); |
2b5f62a0 | 108 | AddHandler(new wxScrolledWindowXmlHandler); |
2f5b93fb | 109 | AddHandler(new wxSplitterWindowXmlHandler); |
e5db28fd VS |
110 | #if wxUSE_WIZARDDLG |
111 | AddHandler(new wxWizardXmlHandler); | |
112 | #endif | |
b0fb0f3c JS |
113 | #if wxUSE_STATUSBAR |
114 | AddHandler(new wxStatusBarXmlHandler); | |
115 | #endif | |
1ee3fb38 | 116 | #if wxUSE_DATEPICKCTRL |
310e47b3 | 117 | AddHandler(new wxDateCtrlXmlHandler); |
1ee3fb38 | 118 | #endif |
78d14f80 | 119 | } |
a1e4ec87 VS |
120 | |
121 | #endif // wxUSE_XRC |