Fix documentation of wxConfig::Read(float*) overload.

Grouping methods using "//@{" and "//@}" apparently doesn't work and
completely wrong documentation is used in this case, so document the two
overloads separately, as it's done for the other methods.

Closes #13884.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-01-20 22:11:47 +00:00
parent 6f46510c80
commit 0c99d1fb56

View File

@@ -596,8 +596,7 @@ public:
/**
Reads a float value, returning @true if the value was found.
With the second overload, if the value was not found, @a defaultVal is
used instead.
If the value was not found, @a f is not changed.
Notice that the value is read as a double but must be in a valid range
for floats for the function to return @true.
@@ -608,13 +607,25 @@ public:
Not supported by wxPerl.
@endWxPerlOnly
*/
//@{
bool Read(const wxString& key, float* f) const;
/**
Reads a float value, returning @true if the value was found.
If the value was not found, @a defaultVal is used instead.
Notice that the value is read as a double but must be in a valid range
for floats for the function to return @true.
@since 2.9.1
@beginWxPerlOnly
Not supported by wxPerl.
@endWxPerlOnly
*/
bool Read(const wxString& key, float* f, float defaultVal) const;
//@}
/**
Reads a float value, returning @true if the value was found. If the
Reads a boolean value, returning @true if the value was found. If the
value was not found, @a b is not changed.
@since 2.9.1
@@ -625,7 +636,7 @@ public:
*/
bool Read(const wxString& key, bool* b) const;
/**
Reads a bool value, returning @true if the value was found. If the
Reads a boolean value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
@beginWxPerlOnly