/////////////////////////////////////////////////////////////////////////////
-// 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$
// Copyright: (c) 2006 Francesco Montorsi
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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_