another i.c.e.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7ba2eb4272
commit
55c1b531a5
@ -494,7 +494,7 @@ wxGenericPageSetupDialog::wxGenericPageSetupDialog(wxWindow *parent, wxPageSetup
|
||||
|
||||
xPos = 5;
|
||||
|
||||
wxString choices[2];
|
||||
wxString *choices = new wxString[2];
|
||||
choices[0] = _("Portrait");
|
||||
choices[1] = _("Landscape");
|
||||
orientationRadioBox = new wxRadioBox(this, wxPRINTID_ORIENTATION, _("Orientation"),
|
||||
@ -538,6 +538,7 @@ wxGenericPageSetupDialog::wxGenericPageSetupDialog(wxWindow *parent, wxPageSetup
|
||||
Centre(wxBOTH);
|
||||
|
||||
InitDialog();
|
||||
delete [] choices;
|
||||
}
|
||||
|
||||
wxGenericPageSetupDialog::~wxGenericPageSetupDialog(void)
|
||||
|
Loading…
Reference in New Issue
Block a user