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 wxNotebookXmlHandler
);
84 AddHandler(new wxListbookXmlHandler
);
87 AddHandler(new wxChoicebookXmlHandler
);
90 AddHandler(new wxTreebookXmlHandler
);
92 AddHandler(new wxTextCtrlXmlHandler
);
94 AddHandler(new wxListBoxXmlHandler
);
97 AddHandler(new wxToolBarXmlHandler
);
100 AddHandler(new wxStaticLineXmlHandler
);
102 AddHandler(new wxUnknownWidgetXmlHandler
);
104 AddHandler(new wxGenericDirCtrlXmlHandler
);
106 AddHandler(new wxFrameXmlHandler
);
107 AddHandler(new wxScrolledWindowXmlHandler
);
108 AddHandler(new wxSplitterWindowXmlHandler
);
110 AddHandler(new wxWizardXmlHandler
);
113 AddHandler(new wxStatusBarXmlHandler
);
115 #if wxUSE_DATEPICKCTRL
116 AddHandler(new wxDateCtrlXmlHandler
);
118 #if wxUSE_COLOURPICKERCTRL
119 AddHandler(new wxColourPickerCtrlXmlHandler
);
121 #if wxUSE_FILEPICKERCTRL
122 AddHandler(new wxFilePickerCtrlXmlHandler
);
124 #if wxUSE_DIRPICKERCTRL
125 AddHandler(new wxDirPickerCtrlXmlHandler
);
127 #if wxUSE_FONTPICKERCTRL
128 AddHandler(new wxFontPickerCtrlXmlHandler
);
131 AddHandler(new wxMdiXmlHandler
);
134 AddHandler( new wxGridXmlHandler
);
136 #if wxUSE_HYPERLINKCTRL
137 AddHandler( new wxHyperlinkCtrlXmlHandler
);