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
12 //#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 //#pragma implementation "xmlres.h"
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
25 #include "wx/xrc/xmlres.h"
26 #include "wx/xrc/xh_all.h"
28 void wxXmlResource::InitAllHandlers()
30 AddHandler(new wxBitmapXmlHandler
);
31 AddHandler(new wxIconXmlHandler
);
32 AddHandler(new wxMenuXmlHandler
);
33 AddHandler(new wxMenuBarXmlHandler
);
34 AddHandler(new wxDialogXmlHandler
);
35 AddHandler(new wxPanelXmlHandler
);
36 AddHandler(new wxSizerXmlHandler
);
37 AddHandler(new wxButtonXmlHandler
);
38 AddHandler(new wxBitmapButtonXmlHandler
);
39 AddHandler(new wxStaticTextXmlHandler
);
40 AddHandler(new wxStaticBoxXmlHandler
);
41 AddHandler(new wxStaticBitmapXmlHandler
);
42 AddHandler(new wxTreeCtrlXmlHandler
);
43 #if wxUSE_CALENDARCTRL
44 AddHandler(new wxCalendarCtrlXmlHandler
);
46 AddHandler(new wxListCtrlXmlHandler
);
47 #if wxUSE_CHECKLISTBOX
48 AddHandler(new wxCheckListBoxXmlHandler
);
51 AddHandler(new wxChoiceXmlHandler
);
54 AddHandler(new wxSliderXmlHandler
);
57 AddHandler(new wxGaugeXmlHandler
);
60 AddHandler(new wxCheckBoxXmlHandler
);
63 AddHandler(new wxToggleButtonXmlHandler
);
66 AddHandler(new wxHtmlWindowXmlHandler
);
69 AddHandler(new wxSpinButtonXmlHandler
);
72 AddHandler(new wxSpinCtrlXmlHandler
);
75 AddHandler(new wxScrollBarXmlHandler
);
78 AddHandler(new wxRadioBoxXmlHandler
);
79 AddHandler(new wxRadioButtonXmlHandler
);
82 AddHandler(new wxComboBoxXmlHandler
);
85 AddHandler(new wxNotebookXmlHandler
);
87 AddHandler(new wxTextCtrlXmlHandler
);
89 AddHandler(new wxListBoxXmlHandler
);
92 AddHandler(new wxToolBarXmlHandler
);
95 AddHandler(new wxStaticLineXmlHandler
);
97 AddHandler(new wxUnknownWidgetXmlHandler
);
99 AddHandler(new wxGenericDirCtrlXmlHandler
);
101 AddHandler(new wxFrameXmlHandler
);
102 AddHandler(new wxScrolledWindowXmlHandler
);
103 AddHandler(new wxSplitterWindowXmlHandler
);
105 AddHandler(new wxWizardXmlHandler
);
108 AddHandler(new wxStatusBarXmlHandler
);