]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/config.tex
applied patch 410892 (wxCopyFile uses ::CopyFile under Win32, has overwrite parameter)
[wxWidgets.git] / docs / latex / wx / config.tex
index 51e85c0c61d91d8e2ff1bce65ee6ef896be6e1ca..18d836c78ed91c2c7de06c6c9b754117ec236952 100644 (file)
@@ -53,7 +53,7 @@ Here is how you would typically use this class:
 
   // another example: using default values and the full path instead of just
   // key name: if the key is not found , the value 17 is returned
-  long value = config->Read("/LastRun/CalculatedValues/MaxValue", -1);
+  long value = config->Read("/LastRun/CalculatedValues/MaxValue", 17);
   ...
   ...
   ...