X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0be027c45bc1890ca714552b8571500278e620e5..2d770c4f8204938933914a961d4142f97ec12f50:/src/msw/registry.cpp diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index ab1629ca2a..83d11c2769 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -1235,7 +1235,7 @@ bool wxRegKey::Export(const wxString& filename) const wxFFileOutputStream ostr(filename, wxT("w")); - return ostr.Ok() && Export(ostr); + return ostr.IsOk() && Export(ostr); #else wxUnusedVar(filename); return false;