Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -130,6 +130,8 @@ bool wxDialog::Create( wxWindow* pParent,
|
|||||||
return true;
|
return true;
|
||||||
} // end of wxDialog::Create
|
} // end of wxDialog::Create
|
||||||
|
|
||||||
|
#if WXWIN_COMPATIBILITY_2_6
|
||||||
|
|
||||||
// deprecated ctor
|
// deprecated ctor
|
||||||
wxDialog::wxDialog(wxWindow *parent,
|
wxDialog::wxDialog(wxWindow *parent,
|
||||||
const wxString& title,
|
const wxString& title,
|
||||||
@@ -146,13 +148,13 @@ wxDialog::wxDialog(wxWindow *parent,
|
|||||||
Create(parent, wxID_ANY, title, wxPoint(x, y), wxSize(w, h), style, name);
|
Create(parent, wxID_ANY, title, wxPoint(x, y), wxSize(w, h), style, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxDialog::SetModal(
|
void wxDialog::SetModal(bool WXUNUSED(bFlag))
|
||||||
bool WXUNUSED(bFlag)
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
// nothing to do, obsolete method
|
// nothing to do, obsolete method
|
||||||
} // end of wxDialog::SetModal
|
} // end of wxDialog::SetModal
|
||||||
|
|
||||||
|
#endif // WXWIN_COMPATIBILITY_2_6
|
||||||
|
|
||||||
wxDialog::~wxDialog()
|
wxDialog::~wxDialog()
|
||||||
{
|
{
|
||||||
m_isBeingDeleted = true;
|
m_isBeingDeleted = true;
|
||||||
@@ -199,11 +201,14 @@ void wxDialog::OnCharHook(
|
|||||||
// showing the dialogs
|
// showing the dialogs
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if WXWIN_COMPATIBILITY_2_6
|
||||||
|
|
||||||
bool wxDialog::IsModalShowing() const
|
bool wxDialog::IsModalShowing() const
|
||||||
{
|
{
|
||||||
return IsModal();
|
return IsModal();
|
||||||
} // end of wxDialog::IsModalShowing
|
} // end of wxDialog::IsModalShowing
|
||||||
|
|
||||||
|
#endif // WXWIN_COMPATIBILITY_2_6
|
||||||
|
|
||||||
wxWindow *wxDialog::FindSuitableParent() const
|
wxWindow *wxDialog::FindSuitableParent() const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user