X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/xrc/xh_dirpicker.h?ds=sidebyside diff --git a/include/wx/xrc/xh_dirpicker.h b/include/wx/xrc/xh_dirpicker.h index 65f52ff2b9..fe97a269eb 100644 --- a/include/wx/xrc/xh_dirpicker.h +++ b/include/wx/xrc/xh_dirpicker.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_clrpicker.cpp -// Purpose: XML resource handler for wxColourPickerCtrl +// Name: wx/xrc/xh_dirpicker.h +// Purpose: XML resource handler for wxDirPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 // RCS-ID: $Id$ @@ -13,17 +13,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_DIRPICKERCTRL +#if wxUSE_XRC && wxUSE_DIRPICKERCTRL class WXDLLIMPEXP_XRC wxDirPickerCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxDirPickerCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxDirPickerCtrlXmlHandler) + public: wxDirPickerCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif // wxUSE_DIRPICKERCTRL +#endif // wxUSE_XRC && wxUSE_DIRPICKERCTRL #endif // _WX_XH_DIRPICKERCTRL_H_