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
);
84 AddHandler(new wxNotebookXmlHandler
);
87 AddHandler(new wxListbookXmlHandler
);
90 AddHandler(new wxChoicebookXmlHandler
);
93 AddHandler(new wxTreebookXmlHandler
);
95 AddHandler(new wxTextCtrlXmlHandler
);
97 AddHandler(new wxListBoxXmlHandler
);
100 AddHandler(new wxToolBarXmlHandler
);
103 AddHandler(new wxStaticLineXmlHandler
);
105 AddHandler(new wxUnknownWidgetXmlHandler
);
107 AddHandler(new wxGenericDirCtrlXmlHandler
);
109 AddHandler(new wxFrameXmlHandler
);
110 AddHandler(new wxScrolledWindowXmlHandler
);
111 AddHandler(new wxSplitterWindowXmlHandler
);
113 AddHandler(new wxWizardXmlHandler
);
116 AddHandler(new wxStatusBarXmlHandler
);
118 #if wxUSE_DATEPICKCTRL
119 AddHandler(new wxDateCtrlXmlHandler
);
121 #if wxUSE_COLOURPICKERCTRL
122 AddHandler(new wxColourPickerCtrlXmlHandler
);
124 #if wxUSE_FILEPICKERCTRL
125 AddHandler(new wxFilePickerCtrlXmlHandler
);
127 #if wxUSE_DIRPICKERCTRL
128 AddHandler(new wxDirPickerCtrlXmlHandler
);
130 #if wxUSE_FONTPICKERCTRL
131 AddHandler(new wxFontPickerCtrlXmlHandler
);
134 AddHandler(new wxMdiXmlHandler
);
137 AddHandler( new wxGridXmlHandler
);
139 #if wxUSE_HYPERLINKCTRL
140 AddHandler( new wxHyperlinkCtrlXmlHandler
);