done various @todo items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,13 +6,6 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
@todo
|
||||
the following functions are not documented; do they need to be?
|
||||
WXDLLIMPEXP_BASE int wxCMPFUNC_CONV wxStringSortAscending(wxString*, wxString*);
|
||||
WXDLLIMPEXP_BASE int wxCMPFUNC_CONV wxStringSortDescending(wxString*, wxString*);
|
||||
*/
|
||||
|
||||
/**
|
||||
@class wxArrayString
|
||||
|
||||
@@ -53,11 +46,16 @@
|
||||
@library{wxbase}
|
||||
@category{containers}
|
||||
|
||||
@see wxArray, wxString, @ref overview_string
|
||||
@see wxArray<T>, wxString, @ref overview_string
|
||||
*/
|
||||
class wxArrayString : public wxArray
|
||||
{
|
||||
public:
|
||||
/**
|
||||
The function type used with wxArrayString::Sort function.
|
||||
*/
|
||||
typedef int (*CompareFunction)(const wxString& first, const wxString& second);
|
||||
|
||||
/**
|
||||
Default constructor.
|
||||
*/
|
||||
@@ -198,7 +196,7 @@ public:
|
||||
|
||||
/**
|
||||
Sorts the array using the specified @a compareFunction for item comparison.
|
||||
@a CompareFunction is defined as a function taking two @e const wxString
|
||||
@a CompareFunction is defined as a function taking two <em>const wxString&</em>
|
||||
parameters and returning an @e int value less than, equal to or greater
|
||||
than 0 if the first string is less than, equal to or greater than the
|
||||
second one.
|
||||
@@ -305,7 +303,7 @@ public:
|
||||
bool bFromEnd = false) const;
|
||||
|
||||
/**
|
||||
@warning this function should not be used with sorted arrays because it
|
||||
@warning This function should not be used with sorted arrays because it
|
||||
could break the order of items and, for example, subsequent calls
|
||||
to Index() would then not work!
|
||||
*/
|
||||
@@ -314,7 +312,7 @@ public:
|
||||
|
||||
//@{
|
||||
/**
|
||||
@warning this function should not be used with sorted array because it could
|
||||
@warning This function should not be used with sorted array because it could
|
||||
break the order of items and, for example, subsequent calls to Index()
|
||||
would then not work! Also, sorting a wxSortedArrayString doesn't make
|
||||
sense because its elements are always already sorted.
|
||||
|
Reference in New Issue
Block a user