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:
@@ -494,7 +494,7 @@ wxGenericPageSetupDialog::wxGenericPageSetupDialog(wxWindow *parent, wxPageSetup
|
|||||||
|
|
||||||
xPos = 5;
|
xPos = 5;
|
||||||
|
|
||||||
wxString choices[2];
|
wxString *choices = new wxString[2];
|
||||||
choices[0] = _("Portrait");
|
choices[0] = _("Portrait");
|
||||||
choices[1] = _("Landscape");
|
choices[1] = _("Landscape");
|
||||||
orientationRadioBox = new wxRadioBox(this, wxPRINTID_ORIENTATION, _("Orientation"),
|
orientationRadioBox = new wxRadioBox(this, wxPRINTID_ORIENTATION, _("Orientation"),
|
||||||
@@ -538,6 +538,7 @@ wxGenericPageSetupDialog::wxGenericPageSetupDialog(wxWindow *parent, wxPageSetup
|
|||||||
Centre(wxBOTH);
|
Centre(wxBOTH);
|
||||||
|
|
||||||
InitDialog();
|
InitDialog();
|
||||||
|
delete [] choices;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGenericPageSetupDialog::~wxGenericPageSetupDialog(void)
|
wxGenericPageSetupDialog::~wxGenericPageSetupDialog(void)
|
||||||
|
Reference in New Issue
Block a user