]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_gdctl.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / xrc / xh_gdctl.h
index 9fae7b3dca69442946ce1bc2ef2efe4bf6487f4c..bc746690fb7232760f9d0b0bf84250f806999f93 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     XML resource handler for wxGenericDirCtrl
 // Author:      Markus Greither
 // Created:     2002/01/20
-// RCS-ID:      $Id$
 // Copyright:   (c) 2002 Markus Greither
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #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_