1 /////////////////////////////////////////////////////////////////////////////
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
);
89 AddHandler(new wxTextCtrlXmlHandler
);
91 AddHandler(new wxListBoxXmlHandler
);
94 AddHandler(new wxToolBarXmlHandler
);
97 AddHandler(new wxStaticLineXmlHandler
);
99 AddHandler(new wxUnknownWidgetXmlHandler
);
101 AddHandler(new wxGenericDirCtrlXmlHandler
);
103 AddHandler(new wxFrameXmlHandler
);
104 AddHandler(new wxScrolledWindowXmlHandler
);
105 AddHandler(new wxSplitterWindowXmlHandler
);
107 AddHandler(new wxWizardXmlHandler
);
110 AddHandler(new wxStatusBarXmlHandler
);
112 #if wxUSE_DATEPICKCTRL
113 AddHandler(new wxDateCtrlXmlHandler
);
116 AddHandler(new wxMdiXmlHandler
);