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