]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/xrc/xmlrsall.cpp
update to make digitalmars compile/link libraries
[wxWidgets.git] / contrib / 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/////////////////////////////////////////////////////////////////////////////
10
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
78d14f80
VS
46 AddHandler(new wxCheckListXmlHandler);
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);
59#endif
60#if wxUSE_HTML
61 AddHandler(new wxHtmlWindowXmlHandler);
62#endif
63#if wxUSE_SPINBTN
64 AddHandler(new wxSpinButtonXmlHandler);
65#endif
66#if wxUSE_SPINCTRL
67 AddHandler(new wxSpinCtrlXmlHandler);
68#endif
69#if wxUSE_SCROLLBAR
70 AddHandler(new wxScrollBarXmlHandler);
71#endif
78d14f80
VS
72#if wxUSE_RADIOBOX
73 AddHandler(new wxRadioBoxXmlHandler);
74 AddHandler(new wxRadioButtonXmlHandler);
75#endif
76#if wxUSE_COMBOBOX
77 AddHandler(new wxComboBoxXmlHandler);
78#endif
79#if wxUSE_NOTEBOOK
80 AddHandler(new wxNotebookXmlHandler);
81#endif
82 AddHandler(new wxTextCtrlXmlHandler);
83#if wxUSE_LISTBOX
84 AddHandler(new wxListBoxXmlHandler);
85#endif
86#if wxUSE_TOOLBAR
87 AddHandler(new wxToolBarXmlHandler);
88#endif
89#if wxUSE_STATLINE
90 AddHandler(new wxStaticLineXmlHandler);
91#endif
92 AddHandler(new wxUnknownWidgetXmlHandler);
995c1788
VS
93#if wxUSE_DIRDLG
94 AddHandler(new wxGenericDirCtrlXmlHandler);
95#endif
78d14f80 96 AddHandler(new wxFrameXmlHandler);
2b5f62a0 97 AddHandler(new wxScrolledWindowXmlHandler);
2f5b93fb 98 AddHandler(new wxSplitterWindowXmlHandler);
e5db28fd
VS
99#if wxUSE_WIZARDDLG
100 AddHandler(new wxWizardXmlHandler);
101#endif
78d14f80 102}