X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..370dc79c5a7fd9ac24fb001e38388a210750e2e7:/src/xrc/xmlrsall.cpp?ds=inline diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 6f4a5039de..df66f1d675 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -7,11 +7,6 @@ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -// -- Already done in xmlres.cpp -//#ifdef __GNUG__ -//#pragma implementation "xmlres.h" -//#endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -20,6 +15,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xmlres.h" #include "wx/xrc/xh_all.h" @@ -29,22 +26,22 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxIconXmlHandler); AddHandler(new wxMenuXmlHandler); AddHandler(new wxMenuBarXmlHandler); - AddHandler(new wxDialogXmlHandler); AddHandler(new wxPanelXmlHandler); - AddHandler(new wxSizerXmlHandler); -//Controls + AddHandler(new wxStdDialogButtonSizerXmlHandler); 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 CHECKLISTBOX - AddHandler(new wxCheckListXmlHandler); +#if wxUSE_CHECKLISTBOX + AddHandler(new wxCheckListBoxXmlHandler); #endif #if wxUSE_CHOICE AddHandler(new wxChoiceXmlHandler); @@ -57,20 +54,22 @@ 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 - #if wxUSE_RADIOBOX AddHandler(new wxRadioBoxXmlHandler); AddHandler(new wxRadioButtonXmlHandler); @@ -80,6 +79,15 @@ void wxXmlResource::InitAllHandlers() #endif #if wxUSE_NOTEBOOK AddHandler(new wxNotebookXmlHandler); +#endif +#if wxUSE_LISTBOOK + AddHandler(new wxListbookXmlHandler); +#endif +#if wxUSE_CHOICEBOOK + AddHandler(new wxChoicebookXmlHandler); +#endif +#if wxUSE_TREEBOOK + AddHandler(new wxTreebookXmlHandler); #endif AddHandler(new wxTextCtrlXmlHandler); #if wxUSE_LISTBOX @@ -92,6 +100,27 @@ 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 +#if wxUSE_DATEPICKCTRL + AddHandler(new wxDateCtrlXmlHandler); +#endif +#if wxUSE_MDI + AddHandler(new wxMdiXmlHandler); +#endif +#if wxUSE_GRID + AddHandler( new wxGridXmlHandler); +#endif } + +#endif // wxUSE_XRC