X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/995c1788f537c773b476ca078b220fbc126ebc12..2c12c792f34998b8b9d96a3b6e5a09525c022d1c:/src/xrc/xmlrsall.cpp diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 2e956f6ee8..bf2eb99734 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" @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xmlres.h" #include "wx/xrc/xh_all.h" @@ -38,10 +40,12 @@ void wxXmlResource::InitAllHandlers() 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); @@ -54,16 +58,19 @@ void wxXmlResource::InitAllHandlers() #endif #if wxUSE_CHECKBOX AddHandler(new wxCheckBoxXmlHandler); -#endif +#endif +#if wxUSE_TOGGLEBTN + AddHandler(new wxToggleButtonXmlHandler); +#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 @@ -92,4 +99,14 @@ void wxXmlResource::InitAllHandlers() 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 } + +#endif // wxUSE_XRC