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:
@@ -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()
|
||||
};
|
||||
|
@@ -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_
|
||||
|
||||
|
@@ -196,6 +196,10 @@ bool wxDialog::DoCreate(wxWindow* parent,
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxDialog::DoDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
void wxDialog::SetModal(bool flag)
|
||||
{
|
||||
#ifdef __VMS
|
||||
|
@@ -266,6 +266,10 @@ bool wxFrame::DoCreate(wxWindow* parent,
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxFrame::DoDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
wxFrame::~wxFrame()
|
||||
{
|
||||
m_isBeingDeleted = true;
|
||||
|
Reference in New Issue
Block a user