git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1052
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
yPos += 35;
- wxString choices[2];
+ wxString *choices = new wxString[2];
choices[0] = _("All");
choices[1] = _("Pages");
// Calls wxWindow::OnInitDialog and then wxGenericPrintDialog::TransferDataToWindow
InitDialog();
+ delete[] choices;
}
int wxGenericPrintDialog::ShowModal(void)
paperTypeChoice = CreatePaperTypeChoice(&xPos, &yPos);
- wxString choices[2];
+ wxString *choices = new wxString[2];
choices[0] = _("Portrait");
choices[1] = _("Landscape");
Centre(wxBOTH);
InitDialog();
+ delete[] choices;
}
wxGenericPrintSetupDialog::~wxGenericPrintSetupDialog(void)