X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57bd4c6031d438f11af0ec540136f49a928b923c..2064113c9d9f81acb851b974a21a5f9170dfe9e2:/src/msw/dialog.cpp diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 83260301ee..e009c383df 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -186,31 +186,6 @@ bool wxDialog::Create(wxWindow *parent, return true; } -#if WXWIN_COMPATIBILITY_2_6 - -// deprecated ctor -wxDialog::wxDialog(wxWindow *parent, - const wxString& title, - bool WXUNUSED(modal), - int x, - int y, - int w, - int h, - long style, - const wxString& name) -{ - Init(); - - Create(parent, wxID_ANY, title, wxPoint(x, y), wxSize(w, h), style, name); -} - -void wxDialog::SetModal(bool WXUNUSED(flag)) -{ - // nothing to do, obsolete method -} - -#endif // WXWIN_COMPATIBILITY_2_6 - wxDialog::~wxDialog() { m_isBeingDeleted = true; @@ -223,15 +198,6 @@ wxDialog::~wxDialog() // showing the dialogs // ---------------------------------------------------------------------------- -#if WXWIN_COMPATIBILITY_2_6 - -bool wxDialog::IsModalShowing() const -{ - return IsModal(); -} - -#endif // WXWIN_COMPATIBILITY_2_6 - wxWindow *wxDialog::FindSuitableParent() const { // first try to use the currently active window