fix confusion in IsSameAs() docs (closes #10722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -628,19 +628,26 @@ public:
|
|||||||
int CmpNoCase(const wxString& s) const;
|
int CmpNoCase(const wxString& s) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Test whether the string is equal to the single character @a c.
|
Test whether the string is equal to another string @a s.
|
||||||
|
|
||||||
The test is case-sensitive if @a caseSensitive is @true (default) or not if it is
|
The test is case-sensitive if @a caseSensitive is @true (default) or not if it is
|
||||||
@false.
|
@false.
|
||||||
|
|
||||||
Returns @true if the string is equal to the character, @false otherwise.
|
@return @true if the string is equal to the other one, @false otherwise.
|
||||||
|
|
||||||
@see Cmp(), CmpNoCase()
|
@see Cmp(), CmpNoCase()
|
||||||
*/
|
*/
|
||||||
bool IsSameAs(const wxString &s, bool caseSensitive = true) const;
|
bool IsSameAs(const wxString& s, bool caseSensitive = true) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@overload
|
Test whether the string is equal to the single character @a ch.
|
||||||
|
|
||||||
|
The test is case-sensitive if @a caseSensitive is @true (default) or not if it is
|
||||||
|
@false.
|
||||||
|
|
||||||
|
@return @true if the string is equal to this character, @false otherwise.
|
||||||
|
|
||||||
|
@see Cmp(), CmpNoCase()
|
||||||
*/
|
*/
|
||||||
bool IsSameAs(wxUniChar ch, bool caseSensitive = true) const;
|
bool IsSameAs(wxUniChar ch, bool caseSensitive = true) const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user