X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f5b93fb9f2691f059643400ab3ff7b362b17aac..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/xrc/xmlrsall.cpp diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index ea175a776d..1d1e8b8c57 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -7,9 +7,9 @@ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - + // -- Already done in xmlres.cpp -//#ifdef __GNUG__ +//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) //#pragma implementation "xmlres.h" //#endif @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xmlres.h" #include "wx/xrc/xh_all.h" @@ -32,6 +34,7 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxDialogXmlHandler); AddHandler(new wxPanelXmlHandler); AddHandler(new wxSizerXmlHandler); + AddHandler(new wxStdDialogButtonSizerXmlHandler); AddHandler(new wxButtonXmlHandler); AddHandler(new wxBitmapButtonXmlHandler); AddHandler(new wxStaticTextXmlHandler); @@ -43,7 +46,7 @@ void wxXmlResource::InitAllHandlers() #endif AddHandler(new wxListCtrlXmlHandler); #if wxUSE_CHECKLISTBOX - AddHandler(new wxCheckListXmlHandler); + AddHandler(new wxCheckListBoxXmlHandler); #endif #if wxUSE_CHOICE AddHandler(new wxChoiceXmlHandler); @@ -56,16 +59,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 @@ -78,6 +84,12 @@ 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 AddHandler(new wxTextCtrlXmlHandler); #if wxUSE_LISTBOX @@ -96,4 +108,18 @@ void wxXmlResource::InitAllHandlers() 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 } + +#endif // wxUSE_XRC