X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78d14f80e9a72041ede52c30d912ec5cef21b1b3..ce4407b8daab253f1d6fe45418d319be3ab5fb1f:/src/xrc/xmlrsall.cpp diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index 6f4a5039de..2e956f6ee8 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -29,12 +29,9 @@ 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); @@ -43,7 +40,7 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxTreeCtrlXmlHandler); AddHandler(new wxCalendarCtrlXmlHandler); AddHandler(new wxListCtrlXmlHandler); -#if CHECKLISTBOX +#if wxUSE_CHECKLISTBOX AddHandler(new wxCheckListXmlHandler); #endif #if wxUSE_CHOICE @@ -70,7 +67,6 @@ void wxXmlResource::InitAllHandlers() #if wxUSE_SCROLLBAR AddHandler(new wxScrollBarXmlHandler); #endif - #if wxUSE_RADIOBOX AddHandler(new wxRadioBoxXmlHandler); AddHandler(new wxRadioButtonXmlHandler); @@ -92,6 +88,8 @@ void wxXmlResource::InitAllHandlers() AddHandler(new wxStaticLineXmlHandler); #endif AddHandler(new wxUnknownWidgetXmlHandler); - +#if wxUSE_DIRDLG + AddHandler(new wxGenericDirCtrlXmlHandler); +#endif AddHandler(new wxFrameXmlHandler); }