X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..f32eb96401af815f5662b715330802c2e6bfa452:/include/wx/msw/registry.h?ds=sidebyside diff --git a/include/wx/msw/registry.h b/include/wx/msw/registry.h index fc297cfca7..654290ea2f 100644 --- a/include/wx/msw/registry.h +++ b/include/wx/msw/registry.h @@ -12,6 +12,10 @@ #ifndef _WX_MSW_REGISTRY_H_ #define _WX_MSW_REGISTRY_H_ +#include "wx/defs.h" + +#if wxUSE_REGKEY + class WXDLLIMPEXP_FWD_BASE wxOutputStream; // ---------------------------------------------------------------------------- @@ -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_