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 wxStdDialogButtonSizerXmlHandler
);
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 #if wxUSE_CALENDARCTRL
45 AddHandler(new wxCalendarCtrlXmlHandler
);
47 AddHandler(new wxListCtrlXmlHandler
);
48 #if wxUSE_CHECKLISTBOX
49 AddHandler(new wxCheckListBoxXmlHandler
);
52 AddHandler(new wxChoiceXmlHandler
);
55 AddHandler(new wxSliderXmlHandler
);
58 AddHandler(new wxGaugeXmlHandler
);
61 AddHandler(new wxCheckBoxXmlHandler
);
64 AddHandler(new wxToggleButtonXmlHandler
);
67 AddHandler(new wxHtmlWindowXmlHandler
);
70 AddHandler(new wxSpinButtonXmlHandler
);
73 AddHandler(new wxSpinCtrlXmlHandler
);
76 AddHandler(new wxScrollBarXmlHandler
);
79 AddHandler(new wxRadioBoxXmlHandler
);
80 AddHandler(new wxRadioButtonXmlHandler
);
83 AddHandler(new wxComboBoxXmlHandler
);
86 AddHandler(new wxNotebookXmlHandler
);
89 AddHandler(new wxListbookXmlHandler
);
92 AddHandler(new wxChoicebookXmlHandler
);
94 AddHandler(new wxTextCtrlXmlHandler
);
96 AddHandler(new wxListBoxXmlHandler
);
99 AddHandler(new wxToolBarXmlHandler
);
102 AddHandler(new wxStaticLineXmlHandler
);
104 AddHandler(new wxUnknownWidgetXmlHandler
);
106 AddHandler(new wxGenericDirCtrlXmlHandler
);
108 AddHandler(new wxFrameXmlHandler
);
109 AddHandler(new wxScrolledWindowXmlHandler
);
110 AddHandler(new wxSplitterWindowXmlHandler
);
112 AddHandler(new wxWizardXmlHandler
);
115 AddHandler(new wxStatusBarXmlHandler
);
117 #if wxUSE_DATEPICKCTRL
118 AddHandler(new wxDateCtrlXmlHandler
);
121 AddHandler(new wxMdiXmlHandler
);