]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_dirpicker.h
Add support for auto-orientable toolbars to AUI.
[wxWidgets.git] / include / wx / xrc / xh_dirpicker.h
index dd8a49bcf37255ef0cec19a41ae440f370bbb70c..fe97a269ebebd7fdffa258dadaa650a36980d9a3 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        wx/xrc/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$
 
 #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_