void wxDocMDIChildFrame::Init()
{
- m_childDocument = (wxDocument*) NULL;
- m_childView = (wxView*) NULL;
+ m_childDocument = NULL;
+ m_childView = NULL;
}
wxDocMDIChildFrame::wxDocMDIChildFrame()
wxDocMDIChildFrame::~wxDocMDIChildFrame(void)
{
- m_childView = (wxView *) NULL;
+ m_childView = NULL;
}
bool wxDocMDIChildFrame::TryValidator(wxEvent& event)
{
m_childView->Activate(false);
delete m_childView;
- m_childView = (wxView *) NULL;
- m_childDocument = (wxDocument *) NULL;
+ m_childView = NULL;
+ m_childDocument = NULL;
this->Destroy();
}