]> git.saurik.com Git - wxWidgets.git/blame - src/xrc/xmlrsall.cpp
Same problem for blurring functions.
[wxWidgets.git] / src / xrc / xmlrsall.cpp
CommitLineData
78d14f80 1/////////////////////////////////////////////////////////////////////////////
28583246 2// Name: src/xrc/xmlrsall.cpp
78d14f80
VS
3// Purpose: wxXmlResource::InitAllHandlers
4// Author: Vaclav Slavik
5// Created: 2000/03/05
6// RCS-ID: $Id$
7// Copyright: (c) 2000 Vaclav Slavik
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
f80ea77b 10
78d14f80
VS
11// For compilers that support precompilation, includes "wx.h".
12#include "wx/wxprec.h"
13
14#ifdef __BORLANDC__
15 #pragma hdrstop
16#endif
17
621be1ec 18#if wxUSE_XRC
a1e4ec87 19
78d14f80
VS
20#include "wx/xrc/xmlres.h"
21#include "wx/xrc/xh_all.h"
22
23void wxXmlResource::InitAllHandlers()
24{
25 AddHandler(new wxBitmapXmlHandler);
26 AddHandler(new wxIconXmlHandler);
27 AddHandler(new wxMenuXmlHandler);
28 AddHandler(new wxMenuBarXmlHandler);
78d14f80
VS
29 AddHandler(new wxDialogXmlHandler);
30 AddHandler(new wxPanelXmlHandler);
78d14f80 31 AddHandler(new wxSizerXmlHandler);
172541f6 32 AddHandler(new wxStdDialogButtonSizerXmlHandler);
78d14f80
VS
33 AddHandler(new wxButtonXmlHandler);
34 AddHandler(new wxBitmapButtonXmlHandler);
35 AddHandler(new wxStaticTextXmlHandler);
36 AddHandler(new wxStaticBoxXmlHandler);
37 AddHandler(new wxStaticBitmapXmlHandler);
38 AddHandler(new wxTreeCtrlXmlHandler);
f03b9d45 39#if wxUSE_CALENDARCTRL
78d14f80 40 AddHandler(new wxCalendarCtrlXmlHandler);
f03b9d45 41#endif
78d14f80 42 AddHandler(new wxListCtrlXmlHandler);
636e7e5d 43#if wxUSE_CHECKLISTBOX
56572188 44 AddHandler(new wxCheckListBoxXmlHandler);
78d14f80
VS
45#endif
46#if wxUSE_CHOICE
47 AddHandler(new wxChoiceXmlHandler);
48#endif
49#if wxUSE_SLIDER
50 AddHandler(new wxSliderXmlHandler);
51#endif
52#if wxUSE_GAUGE
53 AddHandler(new wxGaugeXmlHandler);
54#endif
55#if wxUSE_CHECKBOX
56 AddHandler(new wxCheckBoxXmlHandler);
f80ea77b 57#endif
85f138db
JS
58#if wxUSE_TOGGLEBTN
59 AddHandler(new wxToggleButtonXmlHandler);
60#endif
78d14f80
VS
61#if wxUSE_HTML
62 AddHandler(new wxHtmlWindowXmlHandler);
f80ea77b 63#endif
78d14f80
VS
64#if wxUSE_SPINBTN
65 AddHandler(new wxSpinButtonXmlHandler);
f80ea77b 66#endif
78d14f80
VS
67#if wxUSE_SPINCTRL
68 AddHandler(new wxSpinCtrlXmlHandler);
f80ea77b 69#endif
78d14f80
VS
70#if wxUSE_SCROLLBAR
71 AddHandler(new wxScrollBarXmlHandler);
72#endif
78d14f80
VS
73#if wxUSE_RADIOBOX
74 AddHandler(new wxRadioBoxXmlHandler);
75 AddHandler(new wxRadioButtonXmlHandler);
76#endif
77#if wxUSE_COMBOBOX
78 AddHandler(new wxComboBoxXmlHandler);
79#endif
582f07c2
WS
80#if wxUSE_ODCOMBOBOX
81 AddHandler(new wxOwnerDrawnComboBoxXmlHandler);
82#endif
95a46303
RR
83#if wxUSE_BITMAPCOMBOBOX
84 AddHandler(new wxBitmapComboBoxXmlHandler);
85#endif
78d14f80
VS
86#if wxUSE_NOTEBOOK
87 AddHandler(new wxNotebookXmlHandler);
9aaf1192
WS
88#endif
89#if wxUSE_LISTBOOK
90 AddHandler(new wxListbookXmlHandler);
91#endif
92#if wxUSE_CHOICEBOOK
93 AddHandler(new wxChoicebookXmlHandler);
eca15c0d
VZ
94#endif
95#if wxUSE_TREEBOOK
96 AddHandler(new wxTreebookXmlHandler);
78d14f80
VS
97#endif
98 AddHandler(new wxTextCtrlXmlHandler);
99#if wxUSE_LISTBOX
100 AddHandler(new wxListBoxXmlHandler);
101#endif
102#if wxUSE_TOOLBAR
103 AddHandler(new wxToolBarXmlHandler);
104#endif
105#if wxUSE_STATLINE
106 AddHandler(new wxStaticLineXmlHandler);
107#endif
108 AddHandler(new wxUnknownWidgetXmlHandler);
995c1788
VS
109#if wxUSE_DIRDLG
110 AddHandler(new wxGenericDirCtrlXmlHandler);
111#endif
78d14f80 112 AddHandler(new wxFrameXmlHandler);
2b5f62a0 113 AddHandler(new wxScrolledWindowXmlHandler);
2f5b93fb 114 AddHandler(new wxSplitterWindowXmlHandler);
e5db28fd
VS
115#if wxUSE_WIZARDDLG
116 AddHandler(new wxWizardXmlHandler);
117#endif
b0fb0f3c
JS
118#if wxUSE_STATUSBAR
119 AddHandler(new wxStatusBarXmlHandler);
120#endif
1ee3fb38 121#if wxUSE_DATEPICKCTRL
310e47b3 122 AddHandler(new wxDateCtrlXmlHandler);
1ee3fb38 123#endif
ec376c8f
VZ
124#if wxUSE_COLOURPICKERCTRL
125 AddHandler(new wxColourPickerCtrlXmlHandler);
126#endif
127#if wxUSE_FILEPICKERCTRL
128 AddHandler(new wxFilePickerCtrlXmlHandler);
129#endif
130#if wxUSE_DIRPICKERCTRL
131 AddHandler(new wxDirPickerCtrlXmlHandler);
132#endif
133#if wxUSE_FONTPICKERCTRL
134 AddHandler(new wxFontPickerCtrlXmlHandler);
135#endif
5a0348c4
VS
136#if wxUSE_MDI
137 AddHandler(new wxMdiXmlHandler);
138#endif
0e3c83a7
JS
139#if wxUSE_GRID
140 AddHandler( new wxGridXmlHandler);
141#endif
17e91437
VZ
142#if wxUSE_HYPERLINKCTRL
143 AddHandler( new wxHyperlinkCtrlXmlHandler);
144#endif
78d14f80 145}
a1e4ec87
VS
146
147#endif // wxUSE_XRC