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; +//@}