X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/xrc/xh_gdctl.h diff --git a/include/wx/xrc/xh_gdctl.h b/include/wx/xrc/xh_gdctl.h index a1bae52854..a62e13858b 100644 --- a/include/wx/xrc/xh_gdctl.h +++ b/include/wx/xrc/xh_gdctl.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_gdctl.h +// Name: wx/xrc/xh_gdctl.h // Purpose: XML resource handler for wxGenericDirCtrl // Author: Markus Greither // Created: 2002/01/20 @@ -13,17 +13,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_DIRDLG +#if wxUSE_XRC && wxUSE_DIRDLG class WXDLLIMPEXP_XRC wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler) + public: wxGenericDirCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif +#endif // wxUSE_XRC && wxUSE_DIRDLG #endif // _WX_XH_GDCTL_H_