X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..ce9685190eecd78ce64b7bb5321fdde960800456:/src/xrc/xmlrsall.cpp?ds=inline diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 5c26749d93..bc6254ec92 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xmlrsall.cpp +// Name: src/xrc/xmlrsall.cpp // Purpose: wxXmlResource::InitAllHandlers // Author: Vaclav Slavik // Created: 2000/03/05 @@ -8,11 +8,6 @@ // 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" @@ -32,6 +29,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); @@ -57,6 +55,9 @@ void wxXmlResource::InitAllHandlers() #if wxUSE_CHECKBOX AddHandler(new wxCheckBoxXmlHandler); #endif +#if wxUSE_TOGGLEBTN + AddHandler(new wxToggleButtonXmlHandler); +#endif #if wxUSE_HTML AddHandler(new wxHtmlWindowXmlHandler); #endif @@ -76,8 +77,20 @@ void wxXmlResource::InitAllHandlers() #if wxUSE_COMBOBOX AddHandler(new wxComboBoxXmlHandler); #endif +#if wxUSE_ODCOMBOBOX + AddHandler(new wxOwnerDrawnComboBoxXmlHandler); +#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 @@ -102,4 +115,30 @@ void wxXmlResource::InitAllHandlers() #if wxUSE_STATUSBAR AddHandler(new wxStatusBarXmlHandler); #endif +#if wxUSE_DATEPICKCTRL + AddHandler(new wxDateCtrlXmlHandler); +#endif +#if wxUSE_COLOURPICKERCTRL + AddHandler(new wxColourPickerCtrlXmlHandler); +#endif +#if wxUSE_FILEPICKERCTRL + AddHandler(new wxFilePickerCtrlXmlHandler); +#endif +#if wxUSE_DIRPICKERCTRL + AddHandler(new wxDirPickerCtrlXmlHandler); +#endif +#if wxUSE_FONTPICKERCTRL + AddHandler(new wxFontPickerCtrlXmlHandler); +#endif +#if wxUSE_MDI + AddHandler(new wxMdiXmlHandler); +#endif +#if wxUSE_GRID + AddHandler( new wxGridXmlHandler); +#endif +#if wxUSE_HYPERLINKCTRL + AddHandler( new wxHyperlinkCtrlXmlHandler); +#endif } + +#endif // wxUSE_XRC