Fixed delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5e091b2b01
commit
8410a7104a
@ -282,7 +282,7 @@ void oglCentreText(wxDC& dc, wxList *text_list,
|
||||
i ++;
|
||||
}
|
||||
|
||||
delete widths;
|
||||
delete[] widths;
|
||||
}
|
||||
|
||||
// Centre a list of strings in the given box
|
||||
|
Loading…
Reference in New Issue
Block a user