X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5814e8ba4e57839acd1eb7491ed392b07e382593..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/msw/regconf.cpp diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 4d5388cf4c..363987830b 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -16,7 +16,7 @@ #pragma hdrstop #endif -#if wxUSE_CONFIG +#if wxUSE_CONFIG && wxUSE_REGKEY #include "wx/config.h" @@ -780,4 +780,4 @@ bool wxRegConfig::DeleteAll() return bOk; } -#endif // wxUSE_CONFIG +#endif // wxUSE_CONFIG && wxUSE_REGKEY