mirror of https://github.com/odrling/Aegisub
assdraw: pass enough arguments to wxFlexGridSizer's constructor
Originally committed to SVN as r6855.
This commit is contained in:
parent
a0c0b5a865
commit
fd322e8dc9
|
@ -103,7 +103,7 @@ ASSDrawCanvas::ASSDrawCanvas(wxWindow *parent, ASSDrawFrame *frame, int extrafla
|
||||||
rgba_ruler_h = agg::rgba(0,0,1);
|
rgba_ruler_h = agg::rgba(0,0,1);
|
||||||
rgba_ruler_v = agg::rgba(1,0,0);
|
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->AddGrowableRow(0);
|
||||||
sizer->AddGrowableCol(0);
|
sizer->AddGrowableCol(0);
|
||||||
sizer->Add( this, 0, wxGROW|wxGROW, 5);
|
sizer->Add( this, 0, wxGROW|wxGROW, 5);
|
||||||
|
|
Loading…
Reference in New Issue