git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38722
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return true;
} // end of wxDialog::Create
return true;
} // end of wxDialog::Create
+#if WXWIN_COMPATIBILITY_2_6
+
// deprecated ctor
wxDialog::wxDialog(wxWindow *parent,
const wxString& title,
// deprecated ctor
wxDialog::wxDialog(wxWindow *parent,
const wxString& title,
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(
- bool WXUNUSED(bFlag)
-)
+void wxDialog::SetModal(bool WXUNUSED(bFlag))
{
// nothing to do, obsolete method
} // end of wxDialog::SetModal
{
// nothing to do, obsolete method
} // end of wxDialog::SetModal
+#endif // WXWIN_COMPATIBILITY_2_6
+
wxDialog::~wxDialog()
{
m_isBeingDeleted = true;
wxDialog::~wxDialog()
{
m_isBeingDeleted = true;
// showing the dialogs
// ----------------------------------------------------------------------------
// showing the dialogs
// ----------------------------------------------------------------------------
+#if WXWIN_COMPATIBILITY_2_6
+
bool wxDialog::IsModalShowing() const
{
return IsModal();
} // end of wxDialog::IsModalShowing
bool wxDialog::IsModalShowing() const
{
return IsModal();
} // end of wxDialog::IsModalShowing
+#endif // WXWIN_COMPATIBILITY_2_6
wxWindow *wxDialog::FindSuitableParent() const
{
wxWindow *wxDialog::FindSuitableParent() const
{