X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d38f70b2494626c4c04dbec17b48d1029b7bcd10..1c8e5c51f8a0a547a5183b1443d3ba059b65ce69:/include/wx/msw/registry.h diff --git a/include/wx/msw/registry.h b/include/wx/msw/registry.h index f5e4124b63..5ef5411264 100644 --- a/include/wx/msw/registry.h +++ b/include/wx/msw/registry.h @@ -12,7 +12,11 @@ #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 @@ -242,5 +246,7 @@ private: DECLARE_NO_COPY_CLASS(wxRegKey) }; +#endif // wxUSE_REGKEY + #endif // _WX_MSW_REGISTRY_H_