really fix binary backwards compatibility for wxMotif

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-09-20 20:33:47 +00:00
parent 0c7ca81c4f
commit 219ee9ba9d
4 changed files with 22 additions and 2 deletions

View File

@@ -99,6 +99,12 @@ protected:
virtual void DoSetClientSize(int width, int height);
#if wxCHECK_VERSION(2,7,0)
#error "Remove DoDestroy(), it was only kept for binary backwards compatibility"
#endif
virtual void DoDestroy();
private:
DECLARE_EVENT_TABLE()
};

View File

@@ -126,9 +126,15 @@ private:
const wxString& name);
#if wxCHECK_VERSION(2,7,0)
#error "Remove DoDestroy(), it was only kept for binary backwards compatibility"
#endif
virtual void DoDestroy();
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxFrame)
};
#endif
// _WX_MOTIF_FRAME_H_
#endif // _WX_MOTIF_FRAME_H_

View File

@@ -196,6 +196,10 @@ bool wxDialog::DoCreate(wxWindow* parent,
return true;
}
void wxDialog::DoDestroy()
{
}
void wxDialog::SetModal(bool flag)
{
#ifdef __VMS

View File

@@ -266,6 +266,10 @@ bool wxFrame::DoCreate(wxWindow* parent,
return true;
}
void wxFrame::DoDestroy()
{
}
wxFrame::~wxFrame()
{
m_isBeingDeleted = true;