assdraw: pass enough arguments to wxFlexGridSizer's constructor

Originally committed to SVN as r6855.
This commit is contained in:
Thomas Goyne 2012-05-24 01:55:57 +00:00
parent a0c0b5a865
commit fd322e8dc9
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ ASSDrawCanvas::ASSDrawCanvas(wxWindow *parent, ASSDrawFrame *frame, int extrafla
rgba_ruler_h = agg::rgba(0,0,1);
rgba_ruler_v = agg::rgba(1,0,0);
wxFlexGridSizer* sizer = new wxFlexGridSizer(1, 1);
wxFlexGridSizer* sizer = new wxFlexGridSizer(1, 1, 0);
sizer->AddGrowableRow(0);
sizer->AddGrowableCol(0);
sizer->Add( this, 0, wxGROW|wxGROW, 5);