1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxXmlResource::InitAllHandlers
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2000 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // -- Already done in xmlres.cpp
13 //#pragma implementation "xmlres.h"
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
23 #include "wx/xrc/xmlres.h"
24 #include "wx/xrc/xh_all.h"
26 void wxXmlResource::InitAllHandlers()
28 AddHandler(new wxBitmapXmlHandler
);
29 AddHandler(new wxIconXmlHandler
);
30 AddHandler(new wxMenuXmlHandler
);
31 AddHandler(new wxMenuBarXmlHandler
);
32 AddHandler(new wxDialogXmlHandler
);
33 AddHandler(new wxPanelXmlHandler
);
34 AddHandler(new wxSizerXmlHandler
);
35 AddHandler(new wxButtonXmlHandler
);
36 AddHandler(new wxBitmapButtonXmlHandler
);
37 AddHandler(new wxStaticTextXmlHandler
);
38 AddHandler(new wxStaticBoxXmlHandler
);
39 AddHandler(new wxStaticBitmapXmlHandler
);
40 AddHandler(new wxTreeCtrlXmlHandler
);
41 #if wxUSE_CALENDARCTRL
42 AddHandler(new wxCalendarCtrlXmlHandler
);
44 AddHandler(new wxListCtrlXmlHandler
);
45 #if wxUSE_CHECKLISTBOX
46 AddHandler(new wxCheckListBoxXmlHandler
);
49 AddHandler(new wxChoiceXmlHandler
);
52 AddHandler(new wxSliderXmlHandler
);
55 AddHandler(new wxGaugeXmlHandler
);
58 AddHandler(new wxCheckBoxXmlHandler
);
61 AddHandler(new wxHtmlWindowXmlHandler
);
64 AddHandler(new wxSpinButtonXmlHandler
);
67 AddHandler(new wxSpinCtrlXmlHandler
);
70 AddHandler(new wxScrollBarXmlHandler
);
73 AddHandler(new wxRadioBoxXmlHandler
);
74 AddHandler(new wxRadioButtonXmlHandler
);
77 AddHandler(new wxComboBoxXmlHandler
);
80 AddHandler(new wxNotebookXmlHandler
);
82 AddHandler(new wxTextCtrlXmlHandler
);
84 AddHandler(new wxListBoxXmlHandler
);
87 AddHandler(new wxToolBarXmlHandler
);
90 AddHandler(new wxStaticLineXmlHandler
);
92 AddHandler(new wxUnknownWidgetXmlHandler
);
94 AddHandler(new wxGenericDirCtrlXmlHandler
);
96 AddHandler(new wxFrameXmlHandler
);
97 AddHandler(new wxScrolledWindowXmlHandler
);
98 AddHandler(new wxSplitterWindowXmlHandler
);
100 AddHandler(new wxWizardXmlHandler
);