]> git.saurik.com Git - wxWidgets.git/blame - src/xrc/xmlrsall.cpp
Source cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxID_ANY/wxNOT_FOUND, TRUE...
[wxWidgets.git] / src / xrc / xmlrsall.cpp
CommitLineData
78d14f80
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: xmlrsall.cpp
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// -- Already done in xmlres.cpp
12//#ifdef __GNUG__
13//#pragma implementation "xmlres.h"
14//#endif
15
16// For compilers that support precompilation, includes "wx.h".
17#include "wx/wxprec.h"
18
19#ifdef __BORLANDC__
20 #pragma hdrstop
21#endif
22
23#include "wx/xrc/xmlres.h"
24#include "wx/xrc/xh_all.h"
25
26void wxXmlResource::InitAllHandlers()
27{
28 AddHandler(new wxBitmapXmlHandler);
29 AddHandler(new wxIconXmlHandler);
30 AddHandler(new wxMenuXmlHandler);
31 AddHandler(new wxMenuBarXmlHandler);
78d14f80
VS
32 AddHandler(new wxDialogXmlHandler);
33 AddHandler(new wxPanelXmlHandler);
78d14f80 34 AddHandler(new wxSizerXmlHandler);
78d14f80
VS
35 AddHandler(new wxButtonXmlHandler);
36 AddHandler(new wxBitmapButtonXmlHandler);
37 AddHandler(new wxStaticTextXmlHandler);
38 AddHandler(new wxStaticBoxXmlHandler);
39 AddHandler(new wxStaticBitmapXmlHandler);
40 AddHandler(new wxTreeCtrlXmlHandler);
f03b9d45 41#if wxUSE_CALENDARCTRL
78d14f80 42 AddHandler(new wxCalendarCtrlXmlHandler);
f03b9d45 43#endif
78d14f80 44 AddHandler(new wxListCtrlXmlHandler);
636e7e5d 45#if wxUSE_CHECKLISTBOX
56572188 46 AddHandler(new wxCheckListBoxXmlHandler);
78d14f80
VS
47#endif
48#if wxUSE_CHOICE
49 AddHandler(new wxChoiceXmlHandler);
50#endif
51#if wxUSE_SLIDER
52 AddHandler(new wxSliderXmlHandler);
53#endif
54#if wxUSE_GAUGE
55 AddHandler(new wxGaugeXmlHandler);
56#endif
57#if wxUSE_CHECKBOX
58 AddHandler(new wxCheckBoxXmlHandler);
f80ea77b 59#endif
85f138db
JS
60#if wxUSE_TOGGLEBTN
61 AddHandler(new wxToggleButtonXmlHandler);
62#endif
78d14f80
VS
63#if wxUSE_HTML
64 AddHandler(new wxHtmlWindowXmlHandler);
f80ea77b 65#endif
78d14f80
VS
66#if wxUSE_SPINBTN
67 AddHandler(new wxSpinButtonXmlHandler);
f80ea77b 68#endif
78d14f80
VS
69#if wxUSE_SPINCTRL
70 AddHandler(new wxSpinCtrlXmlHandler);
f80ea77b 71#endif
78d14f80
VS
72#if wxUSE_SCROLLBAR
73 AddHandler(new wxScrollBarXmlHandler);
74#endif
78d14f80
VS
75#if wxUSE_RADIOBOX
76 AddHandler(new wxRadioBoxXmlHandler);
77 AddHandler(new wxRadioButtonXmlHandler);
78#endif
79#if wxUSE_COMBOBOX
80 AddHandler(new wxComboBoxXmlHandler);
81#endif
82#if wxUSE_NOTEBOOK
83 AddHandler(new wxNotebookXmlHandler);
84#endif
85 AddHandler(new wxTextCtrlXmlHandler);
86#if wxUSE_LISTBOX
87 AddHandler(new wxListBoxXmlHandler);
88#endif
89#if wxUSE_TOOLBAR
90 AddHandler(new wxToolBarXmlHandler);
91#endif
92#if wxUSE_STATLINE
93 AddHandler(new wxStaticLineXmlHandler);
94#endif
95 AddHandler(new wxUnknownWidgetXmlHandler);
995c1788
VS
96#if wxUSE_DIRDLG
97 AddHandler(new wxGenericDirCtrlXmlHandler);
98#endif
78d14f80 99 AddHandler(new wxFrameXmlHandler);
2b5f62a0 100 AddHandler(new wxScrolledWindowXmlHandler);
2f5b93fb 101 AddHandler(new wxSplitterWindowXmlHandler);
e5db28fd
VS
102#if wxUSE_WIZARDDLG
103 AddHandler(new wxWizardXmlHandler);
104#endif
b0fb0f3c
JS
105#if wxUSE_STATUSBAR
106 AddHandler(new wxStatusBarXmlHandler);
107#endif
78d14f80 108}