]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
include iostream header when using std streams
[wxWidgets.git] / src / generic / grid.cpp
index a2994e167915ceb41b0d8827e908f7bc01a8426c..8f8d30f9756e15f75e659424782d172550c45bb9 100644 (file)
@@ -4163,7 +4163,7 @@ wxGrid::wxGrid( wxWindow *parent,
     m_rowMinHeights(GRID_HASH_SIZE)
 {
     Create();
-    SetBestFittingSize(size);
+    SetInitialSize(size);
 }
 
 bool wxGrid::Create(wxWindow *parent, wxWindowID id,
@@ -4178,7 +4178,7 @@ bool wxGrid::Create(wxWindow *parent, wxWindowID id,
     m_rowMinHeights = wxLongToLongHashMap(GRID_HASH_SIZE);
 
     Create();
-    SetBestFittingSize(size);
+    SetInitialSize(size);
 
     return true;
 }