#ifndef _WX_MSW_REGISTRY_H_
#define _WX_MSW_REGISTRY_H_
-class WXDLLIMPEXP_BASE wxOutputStream;
+#include "wx/defs.h"
+
+#if wxUSE_REGKEY
+
+class WXDLLIMPEXP_FWD_BASE wxOutputStream;
// ----------------------------------------------------------------------------
// class wxRegKey encapsulates window HKEY handle
long m_dwLastError; // last error (0 if none)
- DECLARE_NO_COPY_CLASS(wxRegKey)
+ wxDECLARE_NO_COPY_CLASS(wxRegKey);
};
+#endif // wxUSE_REGKEY
+
#endif // _WX_MSW_REGISTRY_H_