From: Vadim Zeitlin Date: Mon, 4 Dec 2006 10:47:02 +0000 (+0000) Subject: removed explicit initial size for BugsGridFrame, it's not needed as its size is set... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ba4c4fc6b5ff843ec3ca3bd73155d4566c9abb73?ds=sidebyside removed explicit initial size for BugsGridFrame, it's not needed as its size is set to fit to the grid git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/grid/griddemo.cpp b/samples/grid/griddemo.cpp index be71b5b739..387fb57614 100644 --- a/samples/grid/griddemo.cpp +++ b/samples/grid/griddemo.cpp @@ -1444,8 +1444,7 @@ wxString BugsGridTable::GetColLabelValue( int col ) // ---------------------------------------------------------------------------- BugsGridFrame::BugsGridFrame() - : wxFrame(NULL, wxID_ANY, _T("Bugs table"), - wxDefaultPosition, wxSize(500, 300)) + : wxFrame(NULL, wxID_ANY, _T("Bugs table")) { wxGrid *grid = new wxGrid(this, wxID_ANY, wxDefaultPosition); wxGridTableBase *table = new BugsGridTable();