]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/registry.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / msw / registry.cpp
index ab1629ca2a9b8675b4d9064ac81073fea44344ae..83d11c2769845d5b465d17285fe780b61e5ff63d 100644 (file)
@@ -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;