X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..2a8312bced9d3f3415383a79a15cad2acf447b7e:/interface/wx/list.h?ds=sidebyside diff --git a/interface/wx/list.h b/interface/wx/list.h index e49ae62ed4..38ba08708e 100644 --- a/interface/wx/list.h +++ b/interface/wx/list.h @@ -7,7 +7,6 @@ ///////////////////////////////////////////////////////////////////////////// /** - @wxheader{list.h} The wxList class provides linked list functionality. It has been rewritten to be type safe and to provide the full API of the STL std::list container and @@ -94,7 +93,7 @@ public: wxList(); /** - Constructor which initialized the list with an array of @count elements. + Constructor which initialized the list with an array of @a count elements. */ wxList(size_t count, T* elements[]); @@ -235,7 +234,7 @@ public: /** Returns the last item of the list. */ - reference back() const; + reference back(); /** Returns the last item of the list as a const reference. @@ -245,7 +244,7 @@ public: /** Returns an iterator pointing to the beginning of the list. */ - iterator begin() const; + iterator begin(); /** Returns a const iterator pointing to the beginning of the list. @@ -327,18 +326,18 @@ public: /** Adds an item to end of the list. */ - void push_back(); + void push_back(const_reference v = value_type()); /** Adds an item to the front of the list. */ - void push_front(); + void push_front(const_reference v = value_type()); /** Returns a reverse iterator pointing to the beginning of the reversed list. */ - reverse_iterator rbegin() const; + reverse_iterator rbegin(); /** Returns a const reverse iterator pointing to the beginning of the @@ -355,7 +354,7 @@ public: Returns a reverse iterator pointing to the end of the reversed list. */ - reverse_iterator rend() const; + reverse_iterator rend(); /** Returns a const reverse iterator pointing to the end of the @@ -384,7 +383,6 @@ public: /** @class wxNode - @wxheader{list.h} wxNodeBase is the node structure used in linked lists (see wxList) and derived classes. You should never use wxNodeBase