]> git.saurik.com Git - wxWidgets.git/blame - src/xrc/xmlrsall.cpp
Fixed child positioning on window resizing.
[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 11// -- Already done in xmlres.cpp
c575e45a 12//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
78d14f80
VS
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);
172541f6 37 AddHandler(new wxStdDialogButtonSizerXmlHandler);
78d14f80
VS
38 AddHandler(new wxButtonXmlHandler);
39 AddHandler(new wxBitmapButtonXmlHandler);
40 AddHandler(new wxStaticTextXmlHandler);
41 AddHandler(new wxStaticBoxXmlHandler);
42 AddHandler(new wxStaticBitmapXmlHandler);
43 AddHandler(new wxTreeCtrlXmlHandler);
f03b9d45 44#if wxUSE_CALENDARCTRL
78d14f80 45 AddHandler(new wxCalendarCtrlXmlHandler);
f03b9d45 46#endif
78d14f80 47 AddHandler(new wxListCtrlXmlHandler);
636e7e5d 48#if wxUSE_CHECKLISTBOX
56572188 49 AddHandler(new wxCheckListBoxXmlHandler);
78d14f80
VS
50#endif
51#if wxUSE_CHOICE
52 AddHandler(new wxChoiceXmlHandler);
53#endif
54#if wxUSE_SLIDER
55 AddHandler(new wxSliderXmlHandler);
56#endif
57#if wxUSE_GAUGE
58 AddHandler(new wxGaugeXmlHandler);
59#endif
60#if wxUSE_CHECKBOX
61 AddHandler(new wxCheckBoxXmlHandler);
f80ea77b 62#endif
85f138db
JS
63#if wxUSE_TOGGLEBTN
64 AddHandler(new wxToggleButtonXmlHandler);
65#endif
78d14f80
VS
66#if wxUSE_HTML
67 AddHandler(new wxHtmlWindowXmlHandler);
f80ea77b 68#endif
78d14f80
VS
69#if wxUSE_SPINBTN
70 AddHandler(new wxSpinButtonXmlHandler);
f80ea77b 71#endif
78d14f80
VS
72#if wxUSE_SPINCTRL
73 AddHandler(new wxSpinCtrlXmlHandler);
f80ea77b 74#endif
78d14f80
VS
75#if wxUSE_SCROLLBAR
76 AddHandler(new wxScrollBarXmlHandler);
77#endif
78d14f80
VS
78#if wxUSE_RADIOBOX
79 AddHandler(new wxRadioBoxXmlHandler);
80 AddHandler(new wxRadioButtonXmlHandler);
81#endif
82#if wxUSE_COMBOBOX
83 AddHandler(new wxComboBoxXmlHandler);
84#endif
85#if wxUSE_NOTEBOOK
86 AddHandler(new wxNotebookXmlHandler);
9aaf1192
WS
87#endif
88#if wxUSE_LISTBOOK
89 AddHandler(new wxListbookXmlHandler);
90#endif
91#if wxUSE_CHOICEBOOK
92 AddHandler(new wxChoicebookXmlHandler);
78d14f80
VS
93#endif
94 AddHandler(new wxTextCtrlXmlHandler);
95#if wxUSE_LISTBOX
96 AddHandler(new wxListBoxXmlHandler);
97#endif
98#if wxUSE_TOOLBAR
99 AddHandler(new wxToolBarXmlHandler);
100#endif
101#if wxUSE_STATLINE
102 AddHandler(new wxStaticLineXmlHandler);
103#endif
104 AddHandler(new wxUnknownWidgetXmlHandler);
995c1788
VS
105#if wxUSE_DIRDLG
106 AddHandler(new wxGenericDirCtrlXmlHandler);
107#endif
78d14f80 108 AddHandler(new wxFrameXmlHandler);
2b5f62a0 109 AddHandler(new wxScrolledWindowXmlHandler);
2f5b93fb 110 AddHandler(new wxSplitterWindowXmlHandler);
e5db28fd
VS
111#if wxUSE_WIZARDDLG
112 AddHandler(new wxWizardXmlHandler);
113#endif
b0fb0f3c
JS
114#if wxUSE_STATUSBAR
115 AddHandler(new wxStatusBarXmlHandler);
116#endif
1ee3fb38 117#if wxUSE_DATEPICKCTRL
310e47b3 118 AddHandler(new wxDateCtrlXmlHandler);
1ee3fb38 119#endif
5a0348c4
VS
120#if wxUSE_MDI
121 AddHandler(new wxMdiXmlHandler);
122#endif
78d14f80 123}
a1e4ec87
VS
124
125#endif // wxUSE_XRC