X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0be027c45bc1890ca714552b8571500278e620e5..a9ed8caa09bc542a2ad9f752c0a6ca63c7119747:/src/msw/registry.cpp diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index ab1629ca2a..948d9249fb 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -326,7 +326,7 @@ void wxRegKey::SetHkey(WXHKEY hKey) m_mode = Write; // reset old data - m_strKey.empty(); + m_strKey.clear(); m_dwLastError = 0; } @@ -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;