]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/xrc/xmlrsall.cpp
implemented fallback for AlphaBlend() for the systems not supporting it
[wxWidgets.git] / contrib / src / xrc / xmlrsall.cpp
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
26 void wxXmlResource::InitAllHandlers()
27 {
28 AddHandler(new wxBitmapXmlHandler);
29 AddHandler(new wxIconXmlHandler);
30 AddHandler(new wxMenuXmlHandler);
31 AddHandler(new wxMenuBarXmlHandler);
32 AddHandler(new wxDialogXmlHandler);
33 AddHandler(new wxPanelXmlHandler);
34 AddHandler(new wxSizerXmlHandler);
35 AddHandler(new wxButtonXmlHandler);
36 AddHandler(new wxBitmapButtonXmlHandler);
37 AddHandler(new wxStaticTextXmlHandler);
38 AddHandler(new wxStaticBoxXmlHandler);
39 AddHandler(new wxStaticBitmapXmlHandler);
40 AddHandler(new wxTreeCtrlXmlHandler);
41 #if wxUSE_CALENDARCTRL
42 AddHandler(new wxCalendarCtrlXmlHandler);
43 #endif
44 AddHandler(new wxListCtrlXmlHandler);
45 #if wxUSE_CHECKLISTBOX
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
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);
93 #if wxUSE_DIRDLG
94 AddHandler(new wxGenericDirCtrlXmlHandler);
95 #endif
96 AddHandler(new wxFrameXmlHandler);
97 AddHandler(new wxScrolledWindowXmlHandler);
98 AddHandler(new wxSplitterWindowXmlHandler);
99 }