Remove unuseable wxPGArrayEditorDialog ctor
It calls Create(), which calls the pure virtual ArrayGetCount(), which will crash, as the required override can't be called from the base class ctor.
This commit is contained in:
@@ -810,13 +810,6 @@ public:
|
|||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
wxPGArrayEditorDialog( wxWindow *parent,
|
|
||||||
const wxString& message,
|
|
||||||
const wxString& caption,
|
|
||||||
long style = wxAEDIALOG_STYLE,
|
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
|
||||||
const wxSize& sz = wxDefaultSize );
|
|
||||||
|
|
||||||
bool Create( wxWindow *parent,
|
bool Create( wxWindow *parent,
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
const wxString& caption,
|
const wxString& caption,
|
||||||
|
@@ -711,13 +711,6 @@ public:
|
|||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
wxPGArrayEditorDialog( wxWindow *parent,
|
|
||||||
const wxString& message,
|
|
||||||
const wxString& caption,
|
|
||||||
long style = wxAEDIALOG_STYLE,
|
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
|
||||||
const wxSize& sz = wxDefaultSize );
|
|
||||||
|
|
||||||
bool Create( wxWindow *parent,
|
bool Create( wxWindow *parent,
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
const wxString& caption,
|
const wxString& caption,
|
||||||
|
@@ -2404,20 +2404,6 @@ void wxPGArrayEditorDialog::Init()
|
|||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
wxPGArrayEditorDialog::wxPGArrayEditorDialog( wxWindow *parent,
|
|
||||||
const wxString& message,
|
|
||||||
const wxString& caption,
|
|
||||||
long style,
|
|
||||||
const wxPoint& pos,
|
|
||||||
const wxSize& sz )
|
|
||||||
: wxDialog()
|
|
||||||
{
|
|
||||||
Init();
|
|
||||||
Create(parent,message,caption,style,pos,sz);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
|
||||||
|
|
||||||
bool wxPGArrayEditorDialog::Create( wxWindow *parent,
|
bool wxPGArrayEditorDialog::Create( wxWindow *parent,
|
||||||
const wxString& message,
|
const wxString& message,
|
||||||
const wxString& caption,
|
const wxString& caption,
|
||||||
|
Reference in New Issue
Block a user