]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/registry.h
fixing 10.5 only compiles
[wxWidgets.git] / include / wx / msw / registry.h
index fc297cfca75d3e9a2880cb208627db2d89621c14..5ef5411264c1d369db53a5219dd47b2c0cd5a00c 100644 (file)
 #ifndef _WX_MSW_REGISTRY_H_
 #define _WX_MSW_REGISTRY_H_
 
+#include "wx/defs.h"
+
+#if wxUSE_REGKEY
+
 class WXDLLIMPEXP_FWD_BASE wxOutputStream;
 
 // ----------------------------------------------------------------------------
@@ -242,5 +246,7 @@ private:
   DECLARE_NO_COPY_CLASS(wxRegKey)
 };
 
+#endif // wxUSE_REGKEY
+
 #endif // _WX_MSW_REGISTRY_H_