]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/dynarray.h
Re-add support for multiple text validator styles but
[wxWidgets.git] / interface / wx / dynarray.h
index 4046bc52301059dd7d1023b8ade23963a981e155..b1808a77612c201c64022147b672e852b6fa5e54 100644 (file)
     @section array_predef Predefined array types
 
     wxWidgets defines the following dynamic array types:
     @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.
 
 
     To use them you don't need any macro; you just need to include @c dynarray.h.
 
 
     @see @ref overview_container, wxList<T>, wxVector<T>
 */
 
     @see @ref overview_container, wxList<T>, wxVector<T>
 */
+template <typename T>
 class wxArray<T>
 {
 public:
 class wxArray<T>
 {
 public:
@@ -794,3 +795,13 @@ public:
 */
 #define WX_PREPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBePrepended)
 
 */
 #define WX_PREPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBePrepended)
 
+//@{
+/**
+    Predefined specialization of wxArray<T> for standard types.
+*/
+typedef wxArray<int> wxArrayInt;
+typedef wxArray<long> wxArrayLong;
+typedef wxArray<short> wxArrayShort;
+typedef wxArray<double> wxArrayDouble;
+typedef wxArray<void*> wxArrayPtrVoid;
+//@}