]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
return the index of the inserted/appended item
[wxWidgets.git] / src / generic / grid.cpp
index 9f7a7a496b815a85227784d44e8cb7ec98218b92..1b90d1ad26f903e49c9ce7aae63a10aebb93a60c 100644 (file)
@@ -3850,8 +3850,8 @@ bool wxGrid::Create(wxWindow *parent, wxWindowID id,
                                   style | wxWANTS_CHARS , name))
         return FALSE;
 
-    m_colMinWidths =GRID_HASH_SIZE ;
-    m_rowMinHeights = GRID_HASH_SIZE ;
+    m_colMinWidths = wxLongToLongHashMap(GRID_HASH_SIZE) ;
+    m_rowMinHeights = wxLongToLongHashMap(GRID_HASH_SIZE) ;
 
     Create() ;