remove ancient SetModal(), it was deprecated long ago and is not present in wxMSW or wxOSX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2013-01-03 05:09:20 +00:00
parent b873ba78fd
commit ddb19489c0
3 changed files with 0 additions and 19 deletions

View File

@ -39,7 +39,6 @@ public:
virtual int ShowModal();
virtual void EndModal( int retCode );
virtual bool IsModal() const;
void SetModal( bool modal );
// implementation
// --------------

View File

@ -554,19 +554,6 @@ public:
*/
static wxDialogLayoutAdapter* SetLayoutAdapter(wxDialogLayoutAdapter* adapter);
/**
@deprecated This function doesn't work for all ports, just use
ShowModal() to show a modal dialog instead.
Allows the programmer to specify whether the dialog box is modal
(Show() blocks control until the dialog is hidden) or modeless (control
returns immediately).
@param flag
If @true, the dialog will be modal, otherwise it will be modeless.
*/
void SetModal(bool flag);
/**
Sets the return code for this window.

View File

@ -95,11 +95,6 @@ bool wxDialog::IsModal() const
return m_modalShowing;
}
void wxDialog::SetModal( bool WXUNUSED(flag) )
{
wxFAIL_MSG( wxT("wxDialog:SetModal obsolete now") );
}
// Workaround for Ubuntu overlay scrollbar, which adds our GtkWindow to a
// private window group in a GtkScrollbar realize handler. This breaks the grab
// done by gtk_window_set_modal(), and allows menus and toolbars in the parent