]> git.saurik.com Git - wxWidgets.git/blob - src/xrc/xmlrsall.cpp
Removed notebook tab flicker.
[wxWidgets.git] / 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 AddHandler(new wxCalendarCtrlXmlHandler);
42 AddHandler(new wxListCtrlXmlHandler);
43 #if wxUSE_CHECKLISTBOX
44 AddHandler(new wxCheckListXmlHandler);
45 #endif
46 #if wxUSE_CHOICE
47 AddHandler(new wxChoiceXmlHandler);
48 #endif
49 #if wxUSE_SLIDER
50 AddHandler(new wxSliderXmlHandler);
51 #endif
52 #if wxUSE_GAUGE
53 AddHandler(new wxGaugeXmlHandler);
54 #endif
55 #if wxUSE_CHECKBOX
56 AddHandler(new wxCheckBoxXmlHandler);
57 #endif
58 #if wxUSE_HTML
59 AddHandler(new wxHtmlWindowXmlHandler);
60 #endif
61 #if wxUSE_SPINBTN
62 AddHandler(new wxSpinButtonXmlHandler);
63 #endif
64 #if wxUSE_SPINCTRL
65 AddHandler(new wxSpinCtrlXmlHandler);
66 #endif
67 #if wxUSE_SCROLLBAR
68 AddHandler(new wxScrollBarXmlHandler);
69 #endif
70 #if wxUSE_RADIOBOX
71 AddHandler(new wxRadioBoxXmlHandler);
72 AddHandler(new wxRadioButtonXmlHandler);
73 #endif
74 #if wxUSE_COMBOBOX
75 AddHandler(new wxComboBoxXmlHandler);
76 #endif
77 #if wxUSE_NOTEBOOK
78 AddHandler(new wxNotebookXmlHandler);
79 #endif
80 AddHandler(new wxTextCtrlXmlHandler);
81 #if wxUSE_LISTBOX
82 AddHandler(new wxListBoxXmlHandler);
83 #endif
84 #if wxUSE_TOOLBAR
85 AddHandler(new wxToolBarXmlHandler);
86 #endif
87 #if wxUSE_STATLINE
88 AddHandler(new wxStaticLineXmlHandler);
89 #endif
90 AddHandler(new wxUnknownWidgetXmlHandler);
91 #if wxUSE_DIRDLG
92 AddHandler(new wxGenericDirCtrlXmlHandler);
93 #endif
94 AddHandler(new wxFrameXmlHandler);
95 }