From: Karsten Ballüder Date: Wed, 25 Nov 1998 15:16:19 +0000 (+0000) Subject: another i.c.e. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/55c1b531a57602af297fdb0257bb48a29d4aa5f6 another i.c.e. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/prntdlgg.cpp b/src/generic/prntdlgg.cpp index 8f1968386e..d68b9d4d11 100644 --- a/src/generic/prntdlgg.cpp +++ b/src/generic/prntdlgg.cpp @@ -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)