X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/636e7e5d6f06c78e270e8738f3d5ac21bcac30ba..f8405d6e6fc2a361d9710dfdaea0b158952803aa:/src/xrc/xmlrsall.cpp diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 29deb1c4ca..5c26749d93 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -7,7 +7,7 @@ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - + // -- Already done in xmlres.cpp //#ifdef __GNUG__ //#pragma implementation "xmlres.h" @@ -29,22 +29,21 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxIconXmlHandler); AddHandler(new wxMenuXmlHandler); AddHandler(new wxMenuBarXmlHandler); - AddHandler(new wxDialogXmlHandler); AddHandler(new wxPanelXmlHandler); - AddHandler(new wxSizerXmlHandler); -//Controls AddHandler(new wxButtonXmlHandler); AddHandler(new wxBitmapButtonXmlHandler); AddHandler(new wxStaticTextXmlHandler); AddHandler(new wxStaticBoxXmlHandler); AddHandler(new wxStaticBitmapXmlHandler); AddHandler(new wxTreeCtrlXmlHandler); +#if wxUSE_CALENDARCTRL AddHandler(new wxCalendarCtrlXmlHandler); +#endif AddHandler(new wxListCtrlXmlHandler); #if wxUSE_CHECKLISTBOX - AddHandler(new wxCheckListXmlHandler); + AddHandler(new wxCheckListBoxXmlHandler); #endif #if wxUSE_CHOICE AddHandler(new wxChoiceXmlHandler); @@ -57,20 +56,19 @@ void wxXmlResource::InitAllHandlers() #endif #if wxUSE_CHECKBOX AddHandler(new wxCheckBoxXmlHandler); -#endif +#endif #if wxUSE_HTML AddHandler(new wxHtmlWindowXmlHandler); -#endif +#endif #if wxUSE_SPINBTN AddHandler(new wxSpinButtonXmlHandler); -#endif +#endif #if wxUSE_SPINCTRL AddHandler(new wxSpinCtrlXmlHandler); -#endif +#endif #if wxUSE_SCROLLBAR AddHandler(new wxScrollBarXmlHandler); #endif - #if wxUSE_RADIOBOX AddHandler(new wxRadioBoxXmlHandler); AddHandler(new wxRadioButtonXmlHandler); @@ -92,6 +90,16 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxStaticLineXmlHandler); #endif AddHandler(new wxUnknownWidgetXmlHandler); - +#if wxUSE_DIRDLG + AddHandler(new wxGenericDirCtrlXmlHandler); +#endif AddHandler(new wxFrameXmlHandler); + AddHandler(new wxScrolledWindowXmlHandler); + AddHandler(new wxSplitterWindowXmlHandler); +#if wxUSE_WIZARDDLG + AddHandler(new wxWizardXmlHandler); +#endif +#if wxUSE_STATUSBAR + AddHandler(new wxStatusBarXmlHandler); +#endif }