]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/gridg.cpp
compilation fix due to wxString(int) addition
[wxWidgets.git] / src / generic / gridg.cpp
index 0747e1917fbb960ba6bdc86f99359410f9636650..34da5b84a3fcbca84aed29c87136d838bac93be9 100644 (file)
@@ -222,6 +222,8 @@ bool wxGenericGrid::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos,
   m_hScrollBar = new wxScrollBar(this, wxGRID_HSCROLL, wxPoint(0, 0), wxSize(20, 100), wxHORIZONTAL);
   m_vScrollBar = new wxScrollBar(this, wxGRID_VSCROLL, wxPoint(0, 0), wxSize(100, 20), wxVERTICAL);
 
+  SetSize(-1, -1, size.x, size.y);
+
   return TRUE;
 }