1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/xrc/xmlrsall.cpp
3 // Purpose: wxXmlResource::InitAllHandlers
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2000 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // For compilers that support precompilation, includes "wx.h".
12 #include "wx/wxprec.h"
20 #include "wx/xrc/xmlres.h"
21 #include "wx/xrc/xh_all.h"
23 void wxXmlResource::InitAllHandlers()
25 AddHandler(new wxBitmapXmlHandler
);
26 AddHandler(new wxIconXmlHandler
);
27 AddHandler(new wxMenuXmlHandler
);
28 AddHandler(new wxMenuBarXmlHandler
);
29 AddHandler(new wxDialogXmlHandler
);
30 AddHandler(new wxPanelXmlHandler
);
31 AddHandler(new wxSizerXmlHandler
);
32 AddHandler(new wxStdDialogButtonSizerXmlHandler
);
33 AddHandler(new wxButtonXmlHandler
);
34 AddHandler(new wxBitmapButtonXmlHandler
);
35 AddHandler(new wxStaticTextXmlHandler
);
36 AddHandler(new wxStaticBoxXmlHandler
);
37 AddHandler(new wxStaticBitmapXmlHandler
);
38 AddHandler(new wxTreeCtrlXmlHandler
);
39 #if wxUSE_CALENDARCTRL
40 AddHandler(new wxCalendarCtrlXmlHandler
);
42 AddHandler(new wxListCtrlXmlHandler
);
43 #if wxUSE_CHECKLISTBOX
44 AddHandler(new wxCheckListBoxXmlHandler
);
47 AddHandler(new wxChoiceXmlHandler
);
50 AddHandler(new wxSliderXmlHandler
);
53 AddHandler(new wxGaugeXmlHandler
);
56 AddHandler(new wxCheckBoxXmlHandler
);
59 AddHandler(new wxToggleButtonXmlHandler
);
62 AddHandler(new wxHtmlWindowXmlHandler
);
65 AddHandler(new wxSpinButtonXmlHandler
);
68 AddHandler(new wxSpinCtrlXmlHandler
);
71 AddHandler(new wxScrollBarXmlHandler
);
74 AddHandler(new wxRadioBoxXmlHandler
);
75 AddHandler(new wxRadioButtonXmlHandler
);
78 AddHandler(new wxComboBoxXmlHandler
);
81 AddHandler(new wxOwnerDrawnComboBoxXmlHandler
);
83 #if wxUSE_BITMAPCOMBOBOX
84 AddHandler(new wxBitmapComboBoxXmlHandler
);
87 AddHandler(new wxNotebookXmlHandler
);
90 AddHandler(new wxListbookXmlHandler
);
93 AddHandler(new wxChoicebookXmlHandler
);
96 AddHandler(new wxTreebookXmlHandler
);
98 AddHandler(new wxTextCtrlXmlHandler
);
100 AddHandler(new wxListBoxXmlHandler
);
103 AddHandler(new wxToolBarXmlHandler
);
106 AddHandler(new wxStaticLineXmlHandler
);
108 AddHandler(new wxUnknownWidgetXmlHandler
);
110 AddHandler(new wxGenericDirCtrlXmlHandler
);
112 AddHandler(new wxFrameXmlHandler
);
113 AddHandler(new wxScrolledWindowXmlHandler
);
114 AddHandler(new wxSplitterWindowXmlHandler
);
116 AddHandler(new wxWizardXmlHandler
);
119 AddHandler(new wxStatusBarXmlHandler
);
121 #if wxUSE_DATEPICKCTRL
122 AddHandler(new wxDateCtrlXmlHandler
);
124 #if wxUSE_COLOURPICKERCTRL
125 AddHandler(new wxColourPickerCtrlXmlHandler
);
127 #if wxUSE_FILEPICKERCTRL
128 AddHandler(new wxFilePickerCtrlXmlHandler
);
130 #if wxUSE_DIRPICKERCTRL
131 AddHandler(new wxDirPickerCtrlXmlHandler
);
133 #if wxUSE_FONTPICKERCTRL
134 AddHandler(new wxFontPickerCtrlXmlHandler
);
137 AddHandler(new wxMdiXmlHandler
);
140 AddHandler( new wxGridXmlHandler
);
142 #if wxUSE_HYPERLINKCTRL
143 AddHandler( new wxHyperlinkCtrlXmlHandler
);