X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d38f70b2494626c4c04dbec17b48d1029b7bcd10..ca6911c361b04290fe1f0e64b616249b3b3d71ba:/include/wx/msw/registry.h?ds=inline diff --git a/include/wx/msw/registry.h b/include/wx/msw/registry.h index f5e4124b63..654290ea2f 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 @@ -239,8 +243,10 @@ private: 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_