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/xml/xmlres.h"
24 #include "wx/xml/xh_all.h"
26 void wxXmlResource::InitAllHandlers()
28 AddHandler(new wxBitmapXmlHandler
);
29 AddHandler(new wxIconXmlHandler
);
30 AddHandler(new wxMenuXmlHandler
);
31 AddHandler(new wxMenuBarXmlHandler
);
33 AddHandler(new wxDialogXmlHandler
);
34 AddHandler(new wxPanelXmlHandler
);
36 AddHandler(new wxSizerXmlHandler
);
38 AddHandler(new wxButtonXmlHandler
);
39 AddHandler(new wxBitmapButtonXmlHandler
);
40 AddHandler(new wxStaticTextXmlHandler
);
41 AddHandler(new wxStaticBoxXmlHandler
);
42 AddHandler(new wxStaticBitmapXmlHandler
);
43 AddHandler(new wxTreeCtrlXmlHandler
);
44 AddHandler(new wxCalendarCtrlXmlHandler
);
45 AddHandler(new wxListCtrlXmlHandler
);
47 AddHandler(new wxCheckListXmlHandler
);
50 AddHandler(new wxChoiceXmlHandler
);
53 AddHandler(new wxSliderXmlHandler
);
56 AddHandler(new wxGaugeXmlHandler
);
59 AddHandler(new wxCheckBoxXmlHandler
);
62 AddHandler(new wxHtmlWindowXmlHandler
);
65 AddHandler(new wxSpinButtonXmlHandler
);
68 AddHandler(new wxSpinCtrlXmlHandler
);
71 AddHandler(new wxScrollBarXmlHandler
);
75 AddHandler(new wxRadioBoxXmlHandler
);
76 AddHandler(new wxRadioButtonXmlHandler
);
79 AddHandler(new wxComboBoxXmlHandler
);
82 AddHandler(new wxNotebookXmlHandler
);
84 AddHandler(new wxTextCtrlXmlHandler
);
86 AddHandler(new wxListBoxXmlHandler
);
89 AddHandler(new wxToolBarXmlHandler
);
92 AddHandler(new wxStaticLineXmlHandler
);
94 AddHandler(new wxUnknownWidgetXmlHandler
);