]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/registry.h
extracted the part of ProcessEvent() which is repeated multiple times during the...
[wxWidgets.git] / include / wx / msw / registry.h
index f5e4124b638bf72c521e7f25716b124af040814c..5ef5411264c1d369db53a5219dd47b2c0cd5a00c 100644 (file)
 #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_