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:
parent
9ea2ac92ef
commit
c41ff4e694
3 changed files with 0 additions and 28 deletions
|
|
@ -810,13 +810,6 @@ public:
|
|||
|
||||
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,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
|
|
|
|||
|
|
@ -711,13 +711,6 @@ public:
|
|||
|
||||
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,
|
||||
const wxString& message,
|
||||
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,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue