From 1e0e263e310c497d83a61b446bf1e9569e80fd14 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sun, 1 Feb 2009 20:34:13 +0000 Subject: [PATCH] document as typedefs the various wxArray* classes so that doxygen links them and it's easier to visit wxArray docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/dynarray.h | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/interface/wx/dynarray.h b/interface/wx/dynarray.h index 4046bc5230..b1808a7761 100644 --- a/interface/wx/dynarray.h +++ b/interface/wx/dynarray.h @@ -200,11 +200,11 @@ @section array_predef Predefined array types wxWidgets defines the following dynamic array types: - - wxArrayShort - - wxArrayInt - - wxArrayDouble - - wxArrayLong - - wxArrayPtrVoid + - ::wxArrayShort + - ::wxArrayInt + - ::wxArrayDouble + - ::wxArrayLong + - ::wxArrayPtrVoid To use them you don't need any macro; you just need to include @c dynarray.h. @@ -214,6 +214,7 @@ @see @ref overview_container, wxList, wxVector */ +template class wxArray { public: @@ -794,3 +795,13 @@ public: */ #define WX_PREPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBePrepended) +//@{ +/** + Predefined specialization of wxArray for standard types. +*/ +typedef wxArray wxArrayInt; +typedef wxArray wxArrayLong; +typedef wxArray wxArrayShort; +typedef wxArray wxArrayDouble; +typedef wxArray wxArrayPtrVoid; +//@} -- 2.50.0